Skip to content

proof: every proof job in a digest-pinned image; pin standards 4813fa1 (image rule) - #56

Open
hyperpolymath wants to merge 1 commit into
mainfrom
claude/serene-sagan-un5t4q
Open

hyperpolymath wants to merge 1 commit into
mainfrom
claude/serene-sagan-un5t4q

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

This is the follow-up to #54, the owner's choice of 2026-11-18. It does three things:

Closes #53. This also replaces draft #55: it makes the same six :pwg changes, but the generator writes them instead of a hand edit. #55 can be closed.

Changes

  • scripts/grade-receipt.sh:

    • Standards pin f6ebc5e → 4813fa1.
    • New sha256 values for the generator and the reader.
    • Each fetched file was checked to equal the git object at 4813fa1.
  • verification/receipts/agda_praxis.deed: regenerated. Exactly two kinds of line differ:

    • the six :pwg fields, PWG-1 → PWG-2ii;
    • the header line naming the reader's commit.

    Every other byte is unchanged.

  • .github/workflows/proofs.yml:

  • Docs: PROOF-STATUS, README, docs/proof-debt.adoc and verification/legs/README.adoc now state PWG-2ii, the reason, and the way back to PWG-1.

  • CHANGELOG.adoc entry.

RSR Quality Checklist

Required

  • Tests pass. Local results:
    • grade-receipt.sh --check at the new pin: the tree and ledgers match, the §8.5.3 git checks hold, the pinned reader accepts the receipt, and the negative control holds.
    • check-lock-sync.sh passes.
    • CI is the evidence for the container jobs themselves.
  • Linter is clean: check-invisible-characters.sh and check-adoc-renders.sh (175 files, asciidoctor 2.0.26) pass.
  • No banned language patterns (bash, YAML and AsciiDoc only).
  • No banned functions.
  • SPDX headers unchanged.
  • No secrets.

As Applicable

  • Documentation updated.
  • CHANGELOG updated.

Testing

Experiment Result
--check at the old receipt, new pin Refused: N-1 … :pwg PWG-1 against a derived PWG-2ii (the image rule biting)
--write at the new pin Only the six :pwg lines and the reader-commit line change
--check on the regenerated receipt PASS: tree and ledgers, git checks, reader, negative control
Image guard (grep -qxF " container: $IMAGE") Accepts both real images; refuses a drifted digest
--run-row with --axioms none --image … 13-field rows for agda, rocq and lean
--emit-run of those rows (images recorded) PWG-1 for N-1, N-2, N-3, N-7, N-8, N-9
Same rows written without --image (control) PWG-2ii

Next, after merge

Record the first green run on main from the receipt job's printed rows. Each row then names its image, and the reader derives PWG-1. Then re-pin the Mathesis claims rows for secret-types, as #55 noted.


Generated by Claude Code

…1 (image rule, #53)

The receipt tools move to standards 4813fa1, which carries the image rule of
PROOF-POLICY §8.2 (metadatastician/standards#1625, owner ruling 2026-11-16)
and the generator's review fixes (metadatastician/standards#1656).

Under that reader the recorded runs derive PWG-2ii, not PWG-1: their Rocq and
Lean checkers ran on a bare runner.  Regenerating the receipt with the shared
generator changes exactly the six :pwg fields and the line naming the
reader's commit; every other byte is the same.

The Rocq and Lean job now runs in ubuntu:24.04@sha256:73b99939..., as the
Agda job already ran in a digest-pinned Debian 13 image.  Each job checks that
its IMAGE equals its container line, and each run row records the image
(--image) and the axioms the run reported (--axioms none, now required by the
generator).  A run recorded from these rows derives PWG-1 (checked locally:
the same rows without --image derive PWG-2ii).

PROOF-STATUS, README, proof-debt and the legs record now state PWG-2ii and
why, instead of PWG-1.

Closes #53.

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

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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 51 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 83ba81d and 910d978.

Files selected for processing: 8

  • .github/workflows/proofs.yml
  • CHANGELOG.adoc
  • PROOF-STATUS.adoc
  • README.adoc
  • docs/proof-debt.adoc
  • scripts/grade-receipt.sh
  • verification/legs/README.adoc
  • verification/receipts/agda_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

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Hypatia grid green

🟢 clean · commit 910d978f01bd · run 44215104092 · scope: this change (8 file(s))

Advisory: 11 row(s), worst 🔴 high (0 critical, 9 high) — reported, never grading the change.

Reporter Gate Status Critical High Medium Minor Since previous revision
Hypatia scan gating 🟢 clean 0 0 0 0 — no comparable baseline
panic-attack assail advisory 🟢 clean 0 0 0 0 — no comparable baseline
pons asinorum advisory 🟢 clean 0 0 0 0 — no comparable baseline
finishingbot (release readiness) advisory 🔴 high 0 9 9 2 — no comparable baseline
glambot (presentation quality) advisory 🔵 minor 0 0 0 10 — no comparable baseline
rhodibot (RSR compliance) advisory 🟢 clean 0 0 0 0 — no comparable baseline
accessibilitybot advisory ⚪ not applicable 0 0 0 0 — no comparable baseline
cipherbot advisory ⚪ not applicable 0 0 0 0 — no comparable baseline
echidnabot advisory ⚪ not applicable 0 0 0 0 — no comparable baseline
panicbot advisory ⚪ not applicable 0 0 0 0 — no comparable baseline
seambot advisory ⚪ not applicable 0 0 0 0 — no comparable baseline
sustainabot advisory ⚪ not applicable 0 0 0 0 — no comparable baseline
Hypatia scan: 20 finding(s)
  • 20 further finding(s) in files this change does not touch: reported, not graded (0 critical, 4 high).
panic-attack assail: 16 finding(s)
  • 16 further finding(s) in files this change does not touch: reported, not graded (0 critical, 0 high).
pons asinorum: 9 finding(s)
  • 9 further finding(s) in files this change does not touch: reported, not graded (0 critical, 0 high).
finishingbot (release readiness): 174 finding(s)
  • high V1-DOC-ROADMAP.adoc — Required file ROADMAP.adoc not found (Project roadmap).
  • high TOOL-001 — .tool-versions file not found for asdf/mise version management.
  • high SCM-001-NEUROSYM.scm — Required SCM file NEUROSYM.scm not found (Neurosymbolic AI documentation).
  • high SCM-001-AGENTIC.scm — Required SCM file AGENTIC.scm not found (Agentic AI integration documentation).
  • high SCM-001-PLAYBOOK.scm — Required SCM file PLAYBOOK.scm not found (Operational playbooks and procedures).
  • high SCM-001-ECOSYSTEM.scm — Required SCM file ECOSYSTEM.scm not found (Project's place in the ecosystem).
  • high SCM-001-META.scm — Required SCM file META.scm not found (Meta-level information and architectural decisions).
  • high SCM-001-STATE.scm — Required SCM file STATE.scm not found (Project state and progress tracking).
  • high PH-100 — Found 124 placeholders, exceeds maximum allowed (0)
  • medium V1-COM-CONTRIBUTING.md — CONTRIBUTING.md file not found (Contribution guidelines).
  • medium V1-COM-CODE_OF_CONDUCT.md — CODE_OF_CONDUCT.md file not found (Code of conduct).
  • medium V1-SEC-001 — SECURITY.md not found for responsible disclosure.
  • medium TEST-001 — Could not determine if this is a Rust or Deno project.
  • medium REL-004 — No SECURITY.md file found
  • medium CLM-006 — verification/legs/README.adoc — Documentation references non-existent file: lean/Axioms.lean
  • medium CLM-006 — CHANGELOG.adoc — Documentation references non-existent file: e2e.yml.template
  • medium CLM-006 — CHANGELOG.adoc — Documentation references non-existent file: hypatia-scan.yml
  • medium PH-001 — CHANGELOG.adoc:154 — Found 'TODO' in: `FROM …:latest` lines and a body of TODO comments built nothing and failed
  • info CLM-003 — README.adoc — README missing 'Usage examples' section
  • info CLM-003 — README.adoc — README missing 'Installation instructions' section
  • 154 further finding(s) in files this change does not touch: reported, not graded (0 critical, 3 high).
glambot (presentation quality): 95 finding(s)
  • info GS-001 — Install git-seo for comprehensive SEO analysis: https://github.com/hyperpolymath/git-seo
  • info MACH-007 — ECOSYSTEM.scm not found in .machine_readable/ directory.
  • info MACH-007 — META.scm not found in .machine_readable/ directory.
  • info MACH-007 — STATE.scm not found in .machine_readable/ directory.
  • info MACH-005 — No robots.txt found. Consider adding one for crawler control.
  • info VIS-005 — docs/proof-debt.adoc:7 — Line 83 characters exceeds max length of 80.
  • info VIS-005 — PROOF-STATUS.adoc:38 — Line 85 characters exceeds max length of 80.
  • info VIS-005 — README.adoc:8 — Line 209 characters exceeds max length of 80.
  • info VIS-005 — verification/legs/README.adoc:76 — Line 84 characters exceeds max length of 80.
  • info VIS-005 — CHANGELOG.adoc:22 — Line 90 characters exceeds max length of 80.
  • 85 further finding(s) in files this change does not touch: reported, not graded (0 critical, 2 high).
rhodibot (RSR compliance): 13 finding(s)
  • 13 further finding(s) in files this change does not touch: reported, not graded (0 critical, 12 high).
accessibilitybot: not_applicable — template default: enrol once the repository serves HTML
  • ⚪ not applicable: template default: enrol once the repository serves HTML
cipherbot: not_applicable — template default: enrol once the repository implements cryptography
  • ⚪ not applicable: template default: enrol once the repository implements cryptography
echidnabot: not_applicable — template default: enrol once the repository carries proofs and an ECHIDNA engine is configured
  • ⚪ not applicable: template default: enrol once the repository carries proofs and an ECHIDNA engine is configured
panicbot: not_applicable — panic-attack is already graded by the verdict grid's own panic-attack row, from static-analysis-gate.yml evidence; enrolling panicbot would report one scanner twice and give two rows that can disagree
  • ⚪ not applicable: panic-attack is already graded by the verdict grid's own panic-attack row, from static-analysis-gate.yml evidence; enrolling panicbot would report one scanner twice and give two rows that can disagree
seambot: not_applicable — template default: enrol once a seam register exists at spec/seams/seam-register.json
  • ⚪ not applicable: template default: enrol once a seam register exists at spec/seams/seam-register.json
sustainabot: not_applicable — reserved fleet slot; no adapter exists (gitbot-fleet bots/sustainabot/README.adoc)
  • ⚪ not applicable: reserved fleet slot; no adapter exists (gitbot-fleet bots/sustainabot/README.adoc)

Scope: static findings reported by each row's tool at the named commit. The table grades only findings in files this change touches, so the colour answers "does this change introduce anything?", not "what does the whole repository still carry?". Standing findings are counted in each accordion and in report.json; the baseline filter remains the place where acknowledged debt is recorded. The lane state is the worst GATING row; advisory rows are listed and counted but never set it. Purple, red, yellow and blue grade the worst GRADED finding present; orange is evidence missing, malformed or a scanner that did not run; grey is an explicit scope exclusion with its reason. No row is a security certification. report.json, badge.json and the raw findings are in the verdict-grid artifact on the linked run.

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.

PWG-1 rests on non-container Rocq/Lean legs: pin every proof job to a digest-pinned image

3 participants