Skip to content

evidence report: reach measured from the commands a record carries (Part of #5229) - #7313

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5229-20261031T1407Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5229-20261031T1407Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5229 (slice 2 of 2; slice 1 was #6668, merged). evidence_report.py now maps the commands a CICS evidence record carries to register ids and emits assumptions.reach only where measured; readiness_report.py (#6420) already narrows its oracle-caveat list from it.

What changed

  • record_summary carries commands_run (union of the records' per-scenario commands), only when non-empty.
  • reach_of(case): {registers, commands_run, case} = the registers of the spec entries of the commands the COBOL run executed. Otherwise the existing "not measured".
  • Measured only for the program's own case (role == "program": a LINKed program's events are its main program's), a record that carries commands, and when every recorded verb maps to a spec entry (WRITEQ-TS -> WRITEQ TS). An MQI verb (MQGET...) has no spec entry, so such a program stays not measured (never a partial reach).
  • Reach is per command entry, not per option: an entry's registers all count once one of its commands ran. Still an upper bound within an entry, narrower than every entry the program's source names. The report text says so.
  • Report wording that said reach is "not measured" now says where it is stated.

Class / Sibling gaps

Class: readiness report inputs (what the readiness report reads from committed tool outputs). Member here: reached caveats [c:7c9ae995], consumer in #6420, harness in #6668, measurement here.
Sibling gaps:

Checklist: partial [c:7c9ae995] -- reach is measured for records that carry commands; crucible-kind and MQ programs and un-reproved records remain upper bound.

Gates

pytest tests/tools/test_evidence_report.py tests/cobol_mainframe/test_readiness_report.py: 110 passed. pr_gates.py --fast: 9/9 pass (lint, audits, secrets, xray, gen-docs, derived, workflows, gauntlet, affected). --ratchets not run (tests/tools only). No golden, ground-truth or ratchet input touched (tests/tools only).

Co-Authored-By: Claude Sonnet 5.5 [email protected]

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 31, 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 31, 2026 14:24
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 14:26
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 4eefae1 into main Oct 31, 2026
60 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5229-20261031T1407Z branch October 31, 2026 15:06
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