Skip to content

trial.py verify: re-check a trial's frozen system mechanically (Part of #8322) - #8336

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8322-20261112T0213Z
Nov 12, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8322-20261112T0213Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8322.

Adds python tests/tools/trial.py verify TRIAL [--no-oracle]: a read-only command that re-computes what a trial froze (engine and harness commits exist, engine is an ancestor of HEAD, the ticket source has no diff since the freeze, porting_rules_hash() equals the ledger value, the declaration hash matches, and the gitgalaxy-gnucobol:3 image matches its Dockerfile pin). It writes nothing. The pre-registration's pre-run verification paragraph now names it.

Run on trial-001 on this branch: every check ok, including porting_rules_hash: computes 23338a4462cb, frozen 23338a4462cb, declaration_hash: 28 eligible, 1 out of scope, oracle_matches_pin: cobc (GnuCOBOL) 3.1.2.0.

Class sweep

Class: a frozen-system fact recorded by hand with no command that re-checks it. All five facts are covered in this PR.

Sibling gaps: a clean docker build of the oracle compared to the pin (rebuild reproducibility; no burned-estate program needs it, sweep scope); ticket regeneration at frozen engine 5e4575d77, then the porting-loop proof run for the 28 programs (frontier work needing box capacity and model spend; the latest bot comment on #8322 says the owner withdrew the proof phase on 11-11, so check before starting).

Remaining slices: (1) rebuild-reproducibility check, (2) regenerate tickets at the frozen engine in a separate worktree, (3) port_runner run/prove, trial.py sync/close/report, post on #8073.

Gates: pytest tests/cobol_mainframe/test_trials.py 54 passed, ruff format --check clean, audit_check.py all clear, trial.py check valid. No parsing code touched, so no golden bless.

Checklist: partial [c:0dcec64c] -- verification is mechanical, but the oracle image rebuild-reproducibility and ticket regeneration at the frozen engine are not done.

🤖 Generated with Claude Code

#8322)

Read-only command: engine/harness commits exist, ticket source unchanged since the freeze,
porting-rules hash, declaration hash, oracle image against its pin.

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 Nov 12, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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