Skip to content

trial.py tickets: regenerate a trial's port tickets at its frozen engine (Part of #8322) - #8340

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8322. Adds trial.py tickets <trial> --estate-path P --work W: regenerates the trial's port tickets with the FROZEN engine (detached worktree of engine_commit, that tree's own preview, PYTHONPATH set to it alone) and checks them mechanically. Writes only under --work (a tickets_manifest.json of ticket sha256 values), never the ledger.

Checks: estate at the pinned ref; declaration hash reproduces; the frozen tree computes rules hash 23338a4462cb; every eligible program has a ticket. --work must be empty (the frozen refractor does not overwrite).

Checklist: partial [c:0dcec64c] -- tickets are regenerated and verified, but the port_runner run/prove attempts, sync, close and report are left (the item's verification half is #8336/#8337).

Facts checked

  • Real run (heavy-run.sh) on example-health-apis at 9cfe321e: all 5 checks OK, 28/28 eligible tickets, rules hash 23338a4462cb computed at 5e4575d77.
  • Plan correction: HCP1BU01 (out of scope, missing source) DOES get a ticket, so the planned "no ticket for out-of-scope" check was dropped.
  • audit_check.py all clear; trial.py check valid; test_trials.py passes. pr_gates --fast timed out locally at 300 s, not run to completion.

Lessons for agents

  • A frozen-engine run must override PYTHONPATH (the preset one points at main), or it silently regenerates at main.
  • An out-of-scope program can still have a port ticket.

Class

Frozen-system fact checked only by hand; siblings (declaration/rules hash, commits, oracle) were already in verify. No sibling gaps; no burned-program need.

Remaining slices: port_runner run/prove per program (Run A then Run B), trial.py sync, close, report --write, post on #8073.

🤖 Generated with Claude Code

…ine and check them (Part of #8322)

Detached worktree of the frozen engine commit, that tree's own preview with PYTHONPATH set to it alone;
checks estate ref, declaration hash, frozen rules hash and a ticket per eligible program. Ledger untouched.

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.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 12, 2026 04:23
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 12, 2026 04:23
@squid-shepherd
squid-shepherd Bot merged commit 9062b52 into main Nov 12, 2026
63 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8322-20261112T0406Z branch November 12, 2026 05:13
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