Skip to content

fix(census): one refresh tool that refuses private names (WO 0.1, B) - #52

Merged
hyperpolymath merged 1 commit into
mainfrom
marina/eager-dijkstra-wlmapg
Nov 10, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
marina/eager-dijkstra-wlmapg

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Landing change B of work order 0.1, approved row by row by the owner on 2026-11-10. update-rows.sh stays the one refresh tool. It carries parts of #41 and #42.

Changes

Not carried: the snapshot step of #41 needs mv --exchange, which coreutils 9.4 on ubuntu-24.04 lacks. The --merge mode and provenance file of #24 and refreshed.json of #41 and #42 wait for WO 2.1.

RSR Quality Checklist

Required

  • Test added for the new guard
  • No banned language added

As Applicable

  • Generated files regenerated (catalogue.adoc, REPOSITORY-MAP.adoc)

Testing

  • just census-test, just catalogue-check, just validate-repo-map: pass.

Generated by Claude Code

Landing change B of work order 0.1, approved row by row by the owner on
2026-11-10. update-rows.sh stays the one refresh tool. The other three
tools in open pull requests are not carried.

- update-rows.sh refuses a name that is not public in repos.json, so a
  private repository never gets a row (ruling D-2; the public-only check
  of #41, e1e61ed). It checks every name before any
  clone, and a reached repository leaves unreachable.json.
- A new offline test proves each refusal and that a refused run changes no
  census file.
- The catalogue says that it carries no proof status and no grade (the
  sentence of #42, 54e8aad, worded to the order main uses).
- gen-repo-map.sh counts a directory as declared-only when its README is a
  stub, not when the directory merely holds a README (#41, 4edcea9). The
  repository map loses 13 rows that hold real content.

Not carried: the snapshot step of #41 needs mv --exchange, which
coreutils 9.4 on ubuntu-24.04 does not have. The --merge mode and the
provenance file of #24, and refreshed.json of #41 and #42, wait for
WO 2.1, which puts the commit and the date into each row.

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

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 10, 2026 18:01
@hyperpolymath
hyperpolymath merged commit 5a91ec5 into main Nov 10, 2026
44 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

hyperpolymath added a commit that referenced this pull request Nov 18, 2026
…ipt (#115)

## 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)

- **After resource-algebra#52 merges:** re-pin resource-algebra's rows
to its receipt at `15fa113`, which gives PWG-2ii for 31 rows. Then add
C-4b, E-1, E-2, E-3 (PWG-2ii) and M-2. M-2 is a Lean-only bridge with an
`(import …)` of tropical-types, so it is ungraded. #52 waits on
metadatastician/standards#1671.
- **After this merges:** move mathesis's own five pins to the
re-recorded receipt.
- **secret-types and lintel:** their rows move when each home repository
re-issues its receipt (a task is queued).

## 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.com/claude-code)

https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi

---------

Co-authored-by: Claude <noreply@anthropic.com>
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