Skip to content

evidence: CICS proof records carry the commands each scenario executes (Part of #5229) - #6668

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5229-20261025T1952Z
Oct 25, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5229-20261025T1952Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: partial [c:7c9ae995] -- the harness now records the commands; evidence_report.py does not yet map them to register ids and emit assumptions.reach, so the caveat list is still the upper bound.

What changed

Slice 1 of 2 (see #6420, Remaining slices). equivalence_cics.py records, per CICS scenario, outputs[name]["commands"]: the sorted distinct stub verbs the COBOL (oracle) run executed, taken from cobol_events before any judging mask, minus the end-state snapshots (COMMAREA, CONTAINERS, DLI-DBS, MQ-QUEUES). The key is added only when non-empty. evidence.proof_section carries it into the proof record's outputs the same way. Existing records are unchanged until re-proven (the scheduled job re-proves stale records; they are already stale on harness commit); nothing is hand-edited.

Tests: test_a_scenario_records_the_commands_its_cobol_run_executed (helper + proof_section with and without the key).

Class / Sibling gaps

Class: proof-record inputs the evidence report needs to measure reach. Covered: CICS equivalence scenarios (equivalence_cics.py). Sibling gaps: crucible-kind records (cics_crucible*.py outputs) do not record commands yet (their events come from a different runner; a separate mechanism), and batch/call kinds have no CICS commands (n/a). The record names stub verbs; mapping them to register ids is slice 2.

Remaining slices

  1. evidence_report.py (~line 790): map the recorded commands to register ids (css.registers) and emit reach = {"registers": [...]} only for programs whose records carry commands; update "reach: not measured" prose and definition_of_done.md sections 3/4.
  2. After the scheduled re-prove lands, re-check readiness report output.

Gates

pr_gates.py --fast 7/7; test_evidence.py 49 pass; test_source_reads.py + test_generated_branch.py pass. --ratchets not run: no engine/golden/ledger input touched. No burned case re-proved here.

🤖 Generated with Claude Code

… run executed (Part of #5229)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 25, 2026 20:01
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 20:07
@squid-shepherd
squid-shepherd Bot merged commit fc2df86 into main Oct 25, 2026
79 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5229-20261025T1952Z branch October 25, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant