Repository navigation
feat(proofs): write the machine receipt of THY-1 (WO 1.5) - #58
Merged
Merged
Conversation
verification/receipts/theory_praxis.deed is the PROOF-POLICY 8.5.1 receipt of THY-1, written from its record in PROOF-STATUS.adoc. The canon reader (standards be39f90, deed_lint.js --proof-receipt-json) derives PWG-2ii from it, the grade PROOF-STATUS records, and refuses the same receipt when it claims PWG-1. Each receipt says it is a local run, because no CI lane has given one yet; that is why the grade is not PWG-1. - The trusted base is the Agda.Primitive block: agda --dependency-graph puts Agda.Primitive in the cone of FeatureReachability (checked 2026-11-10), and it postulates exactly Level, lzero, lsuc and _⊔_, each bound by BUILTIN. The THY-1 record said the cone was the module alone; it now names Agda.Primitive (PROOF-POLICY 8.4). - CI validates every verification/receipts/*_praxis.deed with the canon reader. The canon pin of the other checks (8e48b1c) predates the reader, so this step has its own pinned, sparse checkout. Not done here: the claim hyperpolymath/mathesis#THY-1 in the registry. The registry's own parser reads only the older quoted receipt shape, so it would show THY-1 as ungraded. WO 2.2 moves the registry to the canon reader; the claim lands with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZnDRsCLfZcFcEzvPcM
|
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. |
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
2 of 3 tasks
hyperpolymath
added a commit
that referenced
this pull request
Dec 1, 2026
…ceipt (#133) ## Summary Re-pin the nine `hyperpolymath/secret-types` claims (N-1 to N-9, lines 1-9 of `docs/atlas/claims/claims.jsonl`) to the re-issued receipt, and regenerate `docs/atlas/generated/registry.adoc`. | Field | Old | New | |---|---|---| | `source_commit` | `4ed067220f1357b37f7d54c5ae0690ff35b292bd` | `0bce5bda840cdbdf91e191608b7aafe38a5f9489` | | `receipt.sha256` | `4ed7e550e399074cc8a93bd190f193a0fea78de97d54e27889263b9d386ce9cc` | `ecbddcdcc7b1be46542567d624ab955ba1407a9ae2a4d38cf1183cca7e0cb122` | `source_commit` is the home-repo commit at which the receipt is fetched and hashed (ADR 0004; `loadReceiptBytes` in `scripts/registry/claims-registry.mjs`). `0bce5bd` is secret-types PR #58, the commit where `verification/receipts/agda_praxis.deed` last changed. The receipt is byte-identical at current main `c772168d`. ## Why The secret-types receipt was re-issued (#57, #58). The reader at standards 940a27af accepts it and derives PWG-1 for N-1, N-2, N-3, N-7, N-8 and N-9. N-4, N-5 and N-6 are demonstrations with no claim in the receipt, so they stay `ungraded` by kind. The registry view shows those six as `PWG-1` where it showed `ungraded` before (the old receipt recorded PWG-1 but its legs supported PWG-2ii). ## Changes - `docs/atlas/claims/claims.jsonl`: only `source_commit` and `receipt.sha256` on lines 1-9; still JCS-canonical. - `docs/atlas/generated/registry.adoc`: regenerated with `bun scripts/registry/claims-registry.mjs build` (not hand-edited). - Lintel rows are deliberately left alone until lintel records its first main run (its #31 merged at 434228b with the receipt still `ungraded`). - The `READER` pin in `claims-registry.mjs` is unchanged (standards 84c2d1c1); it derives PWG-1 for the new receipt, so no bump was needed here. The 940a27af reader was not run by this PR. ## Testing Run with Bun, `MATHESIS_STANDARDS` = standards checkout at the pinned reader commit 84c2d1c1 (receipts and git checks fetched over the network): ``` bun scripts/registry/claims-registry.mjs check PASS: claims registry derived from 5 pinned source(s); views match (54 claims, 3 bridges, 1 admissions); the theory ledger is current and append-only (6 entries) bun scripts/registry/theory-ledger.mjs verify PASS: the theory ledger matches the admissions and the claim pins bun test tests/registry/ -> 107 pass, 0 fail bun scripts/atlas/census-atlas.mjs check PASS: generated atlas matches census bun test tests/atlas/census-atlas.test.mjs -> 14 pass, 0 fail bash scripts/check-ijson-jcs.sh --enforce ijson-jcs: 26 file(s) checked, 26 canonical, 0 not canonical, 0 invalid; 2 JSONC carve-out(s) skipped ``` Not run: the full `just check` (`just` and the pinned Guix shell are unavailable here), so `catalogue-check`, `applied-check`, `ultraplan-check`, `adr-check`, `repo-files-test`, `site-check`, `check-proofs` and `receipt-check` were not run. This change touches none of their inputs. ## Checklist - [x] No banned languages; Bun only - [x] Generated view regenerated, not hand-edited - [ ] Full `just check` in the pinned Guix (CI) --- _Generated by [Claude Code](https://claude.ai/code)_ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Documentation** * Updated nine claim records to reference a different receipt digest and source commit. Claim identifiers, statements, and statuses remain unchanged. * **No user-facing changes** * This update does not change product functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude <noreply@anthropic.com>
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 1.5 of
docs/proposals/mathesis-re-anchoring.adoc. Mathesis now has the PROOF-POLICY §8.5.1 machine receipt for its one theory theorem, THY-1.Changes
verification/receipts/theory_praxis.deed, written from the THY-1 record. The canon reader (standardsbe39f90,deed_lint.js --proof-receipt-json) derivesPWG-2ii, the grade inPROOF-STATUS.adoc. It refuses the same receipt when it recordsPWG-1. Each receipt says it is a local run, because no CI lane has given one yet; that is why the grade is notPWG-1.agda --dependency-graphputsAgda.Primitivein the cone ofFeatureReachability. It postulates exactlyLevel,lzero,lsucand_⊔_, each bound byBUILTIN. The THY-1 record said the cone was the module alone; it now namesAgda.Primitive(§8.4).verification/receipts/*_praxis.deedwith the canon reader. The canon pin of the other checks (8e48b1c) predates the reader, so this step has its own pinned, sparse checkout.Not done here: the claim
hyperpolymath/mathesis#THY-1in the registry. The registry's own parser reads only the older quoted receipt shape, so it would show THY-1 asungraded. WO 2.2 moves the registry to the canon reader, and the claim lands with it.RSR Quality Checklist
Required
Testing
PWG-2ii; a tamperedPWG-1copy fails with exit 1..github/hooks/validate-deed.shwith the pinned canon: passes.just validate-repo-map: up to date.Generated by Claude Code