Repository navigation
readiness report: oracle caveats count reached register entries where measured (Part of #5229) - #6420
Merged
Merged
Conversation
… measured (Part of #5229) caveats() reads assumptions.reach.registers when an evidence report carries it and falls back to the named-by-commands upper bound otherwise, counting those programs per row in named_only. The evidence report does not emit reach yet, so output on the committed estates is unchanged. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 08:31
squid-protocol
enabled auto-merge (squash)
October 24, 2026 08:42
2 tasks done
Owner
Author
|
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 evidence report does not measure reach yet (its
assumptions.reachis still the string "not measured"; proof records carry no per-scenario command or model trace), so the narrowing has no input. This PR ships the readiness-report consumer half.What changed
readiness_report.caveats()now counts, per program, the register entries inassumptions.reach.registers(intersected with the entries its commands name) when the evidence report supplies them, and the named-by-commands upper bound otherwise. A row carriesnamed_only(programs counted by the upper bound) only when non-zero; the markdown table gains a "named only" column and an "(upper bound where a program's reach is unmeasured)" heading only then. With today's committed reports nothing is measured, so output is unchanged apart from thenamed_onlykey on every row (all programs are upper-bound) and the heading text.Tests: three new cases in
tests/cobol_mainframe/test_readiness_report.py(all upper bound, mixed measured/unmeasured, fully measured with nonamed_onlykey).Class / Sibling gaps
Class: readiness-report inputs that are upper bounds until the evidence report measures them. Covered here: oracle caveats (consumer side, shape
reach = {"registers": [ids]}). Not covered: the measurement itself (see Remaining slices). Other upper-bound inputs in the class: none found inreadiness_report.py.Remaining slices
tests/tools/equivalence.py/evidence.py; todayoracle.assumptionsisNoneandproof.outputsholds only equal/record counts). Needs a re-prove of every burned case, so it is its own PR.evidence_report.pyline ~790: map executed commands to register ids (css.registers) and emitreach = {"registers": [...]}only when the record carries the trace; update its "reach: not measured" prose and the charter (definition_of_done.mdsections 3/4).Gates
pr_gates.py --fast7/7 pass (ruff 0.17.1 pinned);test_readiness_report.py,test_source_reads.py,test_generated_branch.pypass (46).--ratchetsnot run: no engine, golden or ledger input touched.🤖 Generated with Claude Code