Skip to content

CICS crucible ports: provenance names the pinned crucible; all 17 re-proven at v0.2.0 (#4308) - #4314

Merged
squid-protocol merged 1 commit into
mainfrom
fix/4308-crucible-port-provenance
Oct 4, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
fix/4308-crucible-port-provenance

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Fixes #4308.

What changed

  • tests/tools/crucible_port_provenance.py (new) has two commands.
    • check lists every port provenance.json whose latest proof is not at PINNED_REF, unless the record carries a proof.stale mark against PINNED_REF that gives a reason.
    • reprove runs 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:
      • Proven: it appends a proof.reproven entry with the crucible ref, the per-scenario summary, the overlay tree's sha256, the harness commit and the command.
      • Not proven: it sets proof.stale = {against, reason, needs}.
    • The loop's own proof.crucible_ref and history are never rewritten. They still say how and where the port was first proven, at v0.1.0. Only reprove, which runs the proof, writes a reproven entry.
  • tests/cics_crucible/test_port_provenance.py (new) fails in three cases:
  • All 17 records were re-proven at v0.2.0 (94f2afcb) on 2026-10-04, on this branch's base 16ae9e01, 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 appended reproven entries; every other byte is unchanged.
  • The pin-bump docs gain the re-prove step: docs/self_scan/BUMPING_THE_CRUCIBLE_PIN.md (a new CICS crucible section), the docs/ecosystem.md row, the tests/_cics_crucible_pin.py docstring and tests/cics_crucible/ports/NOTICE. cics-crucible.yml adds the new tool to its path filter.

Coordination with #4048

The evidence record recomputes staleness from fingerprints; its crucible input is this pin. This PR makes the existing cics-crucible-port/1 files 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 --ci and dead_key_audit.py --ci are clean.
  • tests/cics_crucible passes: 92 tests.
  • With the re-stamps stashed, the new test fails on all 17 records, as intended.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FNWHcUSn5p7eMxFTsB5rFo

…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
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol marked this pull request as ready for review October 4, 2026 15:07
@squid-protocol
squid-protocol merged commit 65fb4ca into main Oct 4, 2026
30 checks passed
@squid-protocol
squid-protocol deleted the fix/4308-crucible-port-provenance branch October 4, 2026 15:07
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.

CICS crucible: all 17 port provenance records cite crucible v0.1.0 while the runner pins v0.2.0, and nothing flags it

1 participant