Repository navigation
evidence: CICS proof records carry the commands each scenario executes (Part of #5229) - #6668
Merged
Merged
Conversation
… run executed (Part of #5229) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
This was referenced Oct 25, 2026
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.
Checklist: partial [c:7c9ae995] -- the harness now records the commands;
evidence_report.pydoes not yet map them to register ids and emitassumptions.reach, so the caveat list is still the upper bound.What changed
Slice 1 of 2 (see #6420, Remaining slices).
equivalence_cics.pyrecords, per CICS scenario,outputs[name]["commands"]: the sorted distinct stub verbs the COBOL (oracle) run executed, taken fromcobol_eventsbefore any judging mask, minus the end-state snapshots (COMMAREA,CONTAINERS,DLI-DBS,MQ-QUEUES). The key is added only when non-empty.evidence.proof_sectioncarries it into the proof record'soutputsthe 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*.pyoutputs) 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
evidence_report.py(~line 790): map the recorded commands to register ids (css.registers) and emitreach = {"registers": [...]}only for programs whose records carrycommands; update "reach: not measured" prose anddefinition_of_done.mdsections 3/4.Gates
pr_gates.py --fast7/7;test_evidence.py49 pass;test_source_reads.py+test_generated_branch.pypass.--ratchetsnot run: no engine/golden/ledger input touched. No burned case re-proved here.🤖 Generated with Claude Code