Skip to content

Pin the canon reader at standards 940a27af; re-record mathesis's receipt - #115

Open
hyperpolymath wants to merge 3 commits into
mainfrom
claude/zealous-wozniak-2nherb
Open

hyperpolymath wants to merge 3 commits into
mainfrom
claude/zealous-wozniak-2nherb

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Why

Mathesis pins the standards proof-receipt reader at e5a39d7. That reader cannot read (import …) clauses, which resource-algebra's M-2 needs. The resource-algebra receipt that records M-2 now comes from hyperpolymath/resource-algebra#52, which supersedes #50. The reader on standards main (940a27af) can read those clauses. It also applies standards#1625 (owner ruling 2026-11-16): PWG-1 needs every counted checker to have run in a container image pinned by digest, named on the receipt.

The owner chose to bump now and show the honest state.

What

Reader pin. scripts/registry/claims-registry.mjs sets READER.commit to 940a27af, with the reader and checker digests updated (proof-inputs-sha256.sh is unchanged). agda-proof-policy.yml and proven-tests.yml fetch the same commit.

Mathesis's own receipt (verification/receipts/theory_praxis.deed) is recorded again, with no new run. The new reader refused it for two reasons:

  • :beholding-chora used a #u5 literal (owner ruling Q2). It now uses the canon form #u8"chora:estate/github.com/hyperpolymath", the same value resource-algebra's receipt uses.
  • The proof lanes run in the pinned Guix shell, not a digest-pinned image, so the reader derives PWG-2ii for THY-1 and APP-1 to APP-4. The grades are recorded, and PROOF-STATUS and the receipt header give the reason.

Registry views are rebuilt under the new reader. The new reader refuses every receipt that claims.jsonl pins, so all 44 theorems show ungraded, each with the reader's reason:

Repository Pinned receipt Why the reader refuses it
resource-algebra at 47de4a8 records PWG-1 where the reader derives PWG-2ii
mathesis at 58ebefb #u5 :beholding-chora
secret-types records PWG-1 where the reader derives PWG-2ii
lintel #u5 :repo-uuid

The mathesis pin is 58ebefb since #114.

Theory ledger. Main's #114 added entry 4. This PR appends entry 5: THY-1's change to ungraded under the new reader, as at the e5a39d7 bump (seq 2). The append-only check against main passes.

Test fixture gains an image option. PWG-1 holds with an image, and a new negative case shows that a recorded PWG-1 without one is refused (PWG-2ii).

Still to come (follow-ups, not this PR)

Testing

  • CI on d26444a: every check passes, including the Guix proof lane "Agda, Rocq and Lean in the pinned Guix" and CI/gate.
  • Locally, with MATHESIS_STANDARDS at standards 940a27af:
    • claims-registry.mjs check reports PASS: the views match, and the theory ledger is current and append-only (5 entries).
    • bun test tests/registry: 26 of 26 pass.
    • The census tests and the catalogue diff pass.
    • asciidoctor renders PROOF-STATUS.adoc.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi

The reader at standards 940a27af reads (import …) clauses (needed for
resource-algebra's M-2) and applies standards#1625: PWG-1 needs every
counted checker to have run in an image pinned by digest. The registry,
agda-proof-policy.yml and proven-tests.yml pin that commit; the reader and
checker digests are updated (proof-inputs-sha256.sh is unchanged).

Mathesis's own receipt was refused by that reader: :beholding-chora used a
#u5 literal (owner ruling Q2), now the canon form
#u8"chora:estate/github.com/hyperpolymath". Its proof lanes run in the
pinned Guix shell, not a digest-pinned image, so the reader derives PWG-2ii
for THY-1 and APP-1 to APP-4; those grades are recorded. The proofs and the
run are unchanged.

The registry test fixture gains an image option: PWG-1 holds with one, and
a recorded PWG-1 without one is refused (PWG-2ii).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi
…ledger

The registry views are rebuilt with the reader at standards 940a27af. The
pins in claims.jsonl are unchanged, and that reader refuses every receipt
they name, so all 44 theorems show as ungraded, each with the reader's
reason:
- resource-algebra at 47de4a8 records PWG-1 where the reader derives
  PWG-2ii;
- mathesis at a1388fc has a #u5 :beholding-chora;
- secret-types records PWG-1 where the reader derives PWG-2ii;
- lintel has a #u5 :repo-uuid.

Each moves when its pin names a receipt the reader accepts. For mathesis
that is the receipt re-recorded in the previous commit; for
resource-algebra, the receipt of resource-algebra#50.

The theory ledger gains THY-1's change to ungraded, as at the e5a39d7 bump
(seq 2). PROOF-STATUS and the receipt header give the PWG-2ii grades and
the reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi
@hyperpolymath
hyperpolymath marked this pull request as ready for review November 18, 2026 00:16
@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b23190a and d26444a.

Files ignored due to path filters: 2

  • docs/atlas/generated/registry.adoc is excluded by !**/generated/**
  • docs/theory/generated/index.adoc is excluded by !**/generated/**
Files selected for processing: 7

  • .github/workflows/agda-proof-policy.yml
  • .github/workflows/proven-tests.yml
  • docs/status/PROOF-STATUS.adoc
  • docs/theory/ledger.jsonl
  • scripts/registry/claims-registry.mjs
  • tests/registry/claims-registry.test.mjs
  • verification/receipts/theory_praxis.deed

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.

Share

… entry 4

Main moved mathesis's own pins to 58ebefb (#114) and added ledger entry 4.
The generated views are rebuilt and THY-1's change to ungraded under the
new reader is appended as entry 5; the PROOF-STATUS history names 58ebefb.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants