Repository navigation
CICS crucible ports: provenance names the pinned crucible; all 17 re-proven at v0.2.0 (#4308) - #4314
Merged
Merged
Conversation
…ve all 17 at v0.2.0 (#4308) tests/tools/crucible_port_provenance.py: `check` lists port provenance records whose latest proof is not at PINNED_REF and that do not say they are stale against it; `reprove` RUNS each port's proof (cics_crucible.py --sides java-ported --program P --report-dir) at the pinned checkout and appends a proof.reproven entry (ref, summary, port tree sha256, harness commit), or marks proof.stale with the reason. The loop's own proof/history are never rewritten. tests/cics_crucible/test_port_provenance.py fails on a silent mismatch, and on a re-proof whose port tree has changed since. All 17 ports were re-proven at v0.2.0 (94f2afcb) on 2026-10-04: every scenario of every program 1/1. Pin-bump docs (BUMPING_THE_CRUCIBLE_PIN.md, ecosystem.md, the pin file, ports/NOTICE) add the re-prove step. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FNWHcUSn5p7eMxFTsB5rFo
Contributor
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.
Fixes #4308.
What changed
tests/tools/crucible_port_provenance.py(new) has two commands.checklists every portprovenance.jsonwhose latest proof is not atPINNED_REF, unless the record carries aproof.stalemark againstPINNED_REFthat gives a reason.reproveruns each committed port's proof at the pinned checkout (cics_crucible.py --cases C --program P --sides java-ported --report-dir ...) and writes the outcome into the record:proof.reprovenentry with the crucible ref, the per-scenario summary, the overlay tree's sha256, the harness commit and the command.proof.stale = {against, reason, needs}.proof.crucible_refandhistoryare never rewritten. They still say how and where the port was first proven, at v0.1.0. Onlyreprove, which runs the proof, writes areprovenentry.tests/cics_crucible/test_port_provenance.py(new) fails in three cases:v0.2.0 (94f2afcb)on 2026-10-04, on this branch's base16ae9e01, using JDK 17, Maven, Docker and a cics-crucible checkout at v0.2.0. Every scenario of every program came out 1/1. None is marked stale. The only change to the records is the appendedreprovenentries; every other byte is unchanged.docs/self_scan/BUMPING_THE_CRUCIBLE_PIN.md(a new CICS crucible section), thedocs/ecosystem.mdrow, thetests/_cics_crucible_pin.pydocstring andtests/cics_crucible/ports/NOTICE.cics-crucible.ymladds the new tool to its path filter.Coordination with #4048
The evidence record recomputes staleness from fingerprints; its
crucibleinput is this pin. This PR makes the existingcics-crucible-port/1files truthful, and they remain the loop's log. #4048 cites them and does not replace them.Checks run locally
ruff_audit.py --ci(ruff 0.16.0),mypy_audit.py --cianddead_key_audit.py --ciare clean.tests/cics_cruciblepasses: 92 tests.🤖 Generated with Claude Code
https://claude.ai/code/session_01FNWHcUSn5p7eMxFTsB5rFo