Skip to content

registry: pin Lintel to its recorded runs (PWG-1); the git check clones imported repositories - #134

Draft
hyperpolymath wants to merge 4 commits into
mainfrom
claude/serene-sagan-un5t4q
Draft

hyperpolymath wants to merge 4 commits into
mainfrom
claude/serene-sagan-un5t4q

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

  • Re-pin. Lintel's eight claim rows now point at its receipt at main e5e57cc (proof: record main's image-bound runs; the reader derives PWG-1 (6/6) metadatastician/lintel#36). That receipt records the three image-bound runs of 434228b. From it, the canon reader at standards 84c2d1c derives PWG-1 for L-1, L-2, L-3, L-4, L-6 and L-7; under the 434228b pin they were ungraded.
  • Bug fix needed first. The registry's §8.5.3 git check gave the shared checker a clone of the home repository only. A receipt with an (import …) therefore failed with "no clone given". Lintel's receipt imports secret-types, so its PWG-1 was catalogued as PWG-2ii. The check now clones each imported repository and passes it as --import OWNER/REPO=DIR.

Census: 12 at PWG-1, 5 at PWG-2ii, 31 at PWG-2i, 0 at PWG-3, 0 ungraded, of 48 theorems.

Changes

  • docs/atlas/claims/claims.jsonl: Lintel rows L-1 to L-7 and A-1 now carry source_commit e5e57cc… and receipt sha256 63e47a97…. I computed that sha from the file at that commit.
  • scripts/registry/claims-registry.mjs:
    • New importedRepositories(record) reads every imports list in the reader's record.
    • gitChecker clones each of those repositories once and passes --import for each.
    • deriveAll now hands the record to the check.
  • tests/registry/claims-registry.test.mjs: a unit test for importedRepositories.
  • docs/atlas/generated/registry.adoc: regenerated.
  • CHANGELOG.adoc: two entries.

RSR Quality Checklist

Required

  • Tests pass: bun test tests/registry/ gives 108 pass, 0 fail.
  • Code is formatted (I-JSON/JCS gate: 26 files canonical)
  • Linter is clean
  • No banned language patterns
  • No unsafe blocks without // SAFETY: comments (none touched)
  • No banned functions
  • SPDX license headers present (no new files)
  • No secrets, credentials, or .env files included

As Applicable

  • CHANGELOG updated

Testing

  • claims-registry.mjs check, with MATHESIS_STANDARDS at 84c2d1c (reader sha256 verified): PASS, 54 claims, 3 bridges, 1 admission.
  • Before and after the fix, against the same pins:
    • Without --import, Lintel's six theorems derive PWG-2ii, with the reason "import hyperpolymath/secret-types: no clone given".
    • With it, they derive PWG-1.
    • secret-types' six PWG-1 rows are unchanged.
  • theory-ledger.mjs verify: PASS.
  • check-ijson-jcs.sh --enforce: 26 canonical.
  • check-adoc-renders.sh: 185 render clean.
  • Not run: the Guix proof shell. CI covers it.

Lintel's grade still rests on its Rocq and Lean statement comparison, which the owner has not yet reviewed (see Lintel's verification/legs/README.adoc).


Generated by Claude Code

…rts for the git check

Lintel's eight rows move to its receipt at main e5e57cc
(metadatastician/lintel#36), which describes 434228b and records the
three image-bound runs. The reader at standards 84c2d1c derives PWG-1
for L-1 to L-4, L-6 and L-7.

That needed a fix here first: gitChecker gave the shared checker only
the home repository's clone, so a receipt with an (import ...) failed
the §8.5.3 git checks ("no clone given") and its PWG-1 was catalogued
as PWG-2ii. It now clones each repository the reader's record imports
and passes it as --import OWNER/REPO=DIR.

Census: 12 at PWG-1, 5 at PWG-2ii, 31 at PWG-2i, 0 at PWG-3,
0 ungraded, of 48 theorems.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017yYi5JxzXZs6nz1ZSForfP
…ctor read it as a list index)

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

gitnotebooks Bot commented Dec 1, 2026

Copy link
Copy Markdown

Review these changes at https://app.gitnotebooks.com/hyperpolymath/mathesis/pull/134

…re (Sonar S2871)

Same order as before; the compare function states it, as bridges.mjs does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017yYi5JxzXZs6nz1ZSForfP
Comment thread scripts/registry/claims-registry.mjs Resolved
… cloning

The canon reader already refuses an import :repository with more than one
slash, so no receipt can reach this today; the guard keeps the clone
directory and URL safe for any record, using the registry's own GitHub
rule. A test covers four malformed names and fails without the guard.

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

sonarqubecloud Bot commented Dec 1, 2026

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