Skip to content

trial.py preview: rehearse the trial declaration on burned estates (Part of #3806) - #5337

Merged
squid-protocol merged 1 commit into
mainfrom
churn/3806-20261017T1232Z
Oct 17, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/3806-20261017T1232Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3806 (does not close it). Epic #3803.

What

trial.py preview <estate> --estate-path P --work W [--json F]: a read-only rehearsal of the trial's up-front declaration (scan, refract, convert, ELIGIBILITY_RULES). It writes no ledger entry, never changes an estate's status, and needs no clean engine tree. cmd_start now shares scan_and_declare with it. Nothing a preview prints counts as first-try.

Why this and not a trial

#3806 asks for fresh estates. trial start refuses development estates, every burned estate is development data, and a fresh one would be a non-burned repo, which the evidence policy forbids opening. So this PR does the burned-only part: it shows how far the protocol reaches on the estates we may use.

Result: burned estates, eligibility declared by preview

estate programs eligible main out-of-scope reason
CardDemo 44 2 25 EXEC CICS, 7 writes no file, 5 input with no copybook layout (#3804), 4 IMS, 1 Db2
CBSA 31 0 30 EXEC CICS, 1 Db2
GenApp 31 0 31 EXEC CICS
zECS 5 0 5 EXEC CICS
DBB MortgageApplication 6 0 3 EXEC CICS, 3 writes no file
cicsdev async credit-card 10 0 10 EXEC CICS

The batch trial protocol is almost unreachable on the burned set: 2 of 127 programs are eligible, so the fresh-estate histogram needs fresh batch estates (below).

Class table

member status
every ELIGIBILITY_RULES reason and --exclude declaration through preview handled (tests)
development / burned estate accepted, ledger bytes unchanged handled (test)
start unchanged in behaviour (existing tests) handled
fresh public batch estates through start not here, see Sibling gaps

Tests / gates

tests/cobol_mainframe/test_trials.py 7 passed (2 new); trial.py check ok; pr_gates --fast 6/6; --ratchets 8 pass, 0 fail, 0 skipped. No parsing change, so no golden bless.

Sibling gaps

🤖 Generated with Claude Code

… ledger (Part of #3806)

`preview` scans, refracts and converts an estate and prints the eligible / out-of-scope declaration a
`start` would record, for any estate (development ones included). It writes no ledger entry and never
changes an estate's status. cmd_start now shares scan_and_declare with it.

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 17, 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 17, 2026 12:41
@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 12:41
@squid-protocol
squid-protocol merged commit caca0f8 into main Oct 17, 2026
43 checks passed
@squid-protocol
squid-protocol deleted the churn/3806-20261017T1232Z branch October 17, 2026 12:51
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