Skip to content

evidence.py: show the runtime option fingerprint (Part of #4707) - #6095

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4707-runtime-fingerprint
Oct 23, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4707-runtime-fingerprint

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4707 (slice 2, after #6083).

What

A record's page showed the options input as one opaque hash. It now also shows the LE / Db2 / CICS options the proof ran under.

  • options_input carries runtime_sha256 (hash of effective.runtime). changed() does not read it, so no record goes stale.
  • runtime_line() gives the hash, the option count per section and every section.NAME=value; render_page adds a runtime options row and status --json a runtime_options entry, both only when the record holds runtime options (older records render unchanged).

Class table

member status
record page row done
status --json done
compiler-options part of the same input (PARM layers, semantic options) sibling gap: still only in the hash

Tests

tests/cobol_mainframe/test_evidence.py: row present with hash/counts/values; absent for no runtime, {} and empty sections; changed() ignores runtime_sha256; a value change changes the row, a provenance note does not.

Gates

pytest tests/cobol_mainframe/test_evidence.py (44 passed), pr_gates.py --fast 7/7. No golden/ratchet change (test tooling only). evidence.py render --check reports pages not current, as it does on main (pages are not committed).

Lessons for agents

None new.

🤖 Generated with Claude Code

…nd in status --json (Part of #4707)

options_input carries runtime_sha256 (not read by changed(), so no record goes stale); the page gets a "runtime options" row (hash, count per section, every section.NAME=value) only when the record holds runtime options.

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 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 22, 2026 23:57
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 23:57
@squid-protocol
squid-protocol merged commit f5fc637 into main Oct 23, 2026
45 checks passed
@squid-protocol
squid-protocol deleted the churn/4707-runtime-fingerprint branch October 23, 2026 00:50
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