Repository navigation
theory: give the theory shelf its admission rule (re-anchoring WO 4.1) - #79
Merged
Merged
Conversation
Owner rulings 2026-11-11: remove all template example proofs; keep the admission records together in one authored file, generated into the theorem index; JSON Lines; remove the six template stubs of docs/theory/. The append-only ledger of the theory work follows in its own PR. - docs/theory/README.adoc states the admission rule: theory by the test of PROOF-POLICY §1, owned by no single system, and an estate rule, vocabulary or interface depends on it, named in the record. - docs/theory/admissions.jsonl holds THY-1's record. Its dependant is the --all-features rule of standards docs/UPSTREAM-DEPENDENCY-WATCH.adoc. - scripts/registry/theory.mjs validates the admissions against the home theorem pins (closed fields, no grade, a public dependant, one record per home theorem) and renders docs/theory/generated/index.adoc as a third view of the registry derivation, so just check fails on a stale index or a missing admission. tests/registry/theory.test.mjs carries 3 tests with 10 negative controls. - Removed: verification/proofs/idris2/, tlaplus/, agda/Properties.agda, coq/TypeSafety.v, lean4/ApiTypes.lean with their manifest lines, and the six stubs under docs/theory/. The golden-path control now plants its failing proof in FeatureReachability.agda. - Deed: the (ply) theory entry, the language list (TLA+ and Zig leave), (variant (paths :removed)) and :diverged. CLAUDE.md, the coaptation receipt and the repository map are regenerated. - README, EXPLAINME, PROOF-NEEDS, PROOF-STATUS, READINESS and ROADMAP follow. Observed in this session: just check-views (0 FAIL), registry tests 17 pass, validate-claude-md, validate-coapt, validate-state, validate-rsr, validate-repo-map, census-test, the canon deed lint and k9 validator, the canon capability check, 174 AsciiDoc files render clean, the admissions file is I-JSON/JCS, root shape and shape tests pass. Not run here: the proof checks (CI runs them). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7Zo9dheFQzYYWV49hAk
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
hyperpolymath
marked this pull request as ready for review
November 11, 2026 21:38
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Work order 4.1 of
docs/proposals/mathesis-re-anchoring.adoc, the first of stage 4. The theory shelf now has its admission rule, an authored admission record for each home theorem, and a theorem index generated from the same derivation as the claims registry.Owner rulings, 2026-11-11:
docs/theory/;Changes
The rule.
docs/theory/README.adocstates the admission rule. A theorem enters only when three conditions hold:The record.
docs/theory/admissions.jsonlholds THY-1's admission. Its dependant is the--all-featuresrule in standardsdocs/UPSTREAM-DEPENDENCY-WATCH.adoc.The validator and the index.
scripts/registry/theory.mjsvalidates the admissions against the home theorem pins:It renders
docs/theory/generated/index.adocas a third view of the registry. Sojust checkfails on a stale index or on a home theorem with no admission. The grade in the index comes from the canon reader, never from the admission.Tests.
tests/registry/theory.test.mjshas 3 tests, with 10 negative controls.Removed:
verification/proofs/idris2/andtlaplus/;agda/Properties.agda,coq/TypeSafety.vandlean4/ApiTypes.lean, with their manifest lines;docs/theory/.The golden-path control now plants its failing proof in
FeatureReachability.agda.Deed.
(ply)theory entry is rewritten. The writer cannot address one(directory)among its siblings, so the whole clause goes throughdeed-clause.sh, as in WO 3.2.(variant (paths :removed))and:divergedrecord the changes.Generated files.
CLAUDE.md, the coaptation receipt and the repository map are regenerated.Documents. README, EXPLAINME, PROOF-NEEDS, PROOF-STATUS, READINESS and ROADMAP are updated to match.
For you
intendcontract still marks stage 3in_progressand stage 4declared. Correcting it is a contract edit, so it needs your review; it is recorded in the ROADMAP.CLAUDE.md. A hand edit would breakvalidate-claude-md.RSR Quality Checklist
Required
just check-views; registry tests 17 pass)As Applicable
docs/status/ROADMAP.adocupdatedTesting
Run in this session on
mainaeb3c8bplus this change:just check-views: 0 FAIL lines.just registry-check: "views match (18 claims, 2 bridges, 1 admissions)".just validate-claude-md,validate-coapt,validate-state,validate-rsr,validate-repo-mapandcensus-test: pass.Not run here: the proof checks, which need Guix and the provers. CI runs them, together with the moved golden-path control.
Screenshots
Not applicable.
Generated by Claude Code