Repository navigation
Description
Why. With inputs generated from record layouts (#3804, PR #4492), the equivalence harness is close to working on any estate. On a fresh estate, the first question is how much of it we can test, and what stops the rest. Today you find that out by reading sweep logs. The harness should answer it itself.
What. For each run, whether over one case or a whole estate, write a generated Markdown page (and JSON next to it) that reports:
- Coverage: programs in the estate, programs with a runnable case, and programs proven, as counts and percentages. Also the share of paragraphs and branches exercised by the generated inputs (from
cobol_coverage). - Run status per program: proven / differs / couldn't run / not attempted, with the reason for each.
- Input generation: which records got generated inputs, and which fell back to shipped data or were skipped.
- Blockers, stated as fixes. Each "couldn't run" is grouped by cause and phrased as the action that unblocks it, with how many tests that would unlock. Sort blockers by tests unlocked, so the top line is always the highest-value next step. Examples:
- "Connect the links in these 4 files (COPY/CALL targets unresolved: …) and we can generate 37 more tests across 12 programs."
- "These 3 programs read DB2 table TBL_X; provide its DDL (or sample rows) to unlock 9 tests."
- "2 records use RENAMES/SYNC (COBOL engine: SYNC, JUSTIFIED, BLANK WHEN ZERO, RENAMES (66) and qualified names missing from the layout model #4266); inputs can't be generated until the layout model supports them."
Starting blocker categories (from the generator's known limits, as reported on PR #4492):
- Layout: REDEFINES alternatives selected by another field (e.g. GenApp
CA-REQUEST-SPECIFIC); RENAMES/SYNC/qualified names (COBOL engine: SYNC, JUSTIFIED, BLANK WHEN ZERO, RENAMES (66) and qualified names missing from the layout model #4266); formats a PICTURE can't express (needs a hand rule, e.g.digits). - Non-VSAM inputs: DB2 rows, IMS segments, MQ/TS/TD queues, GDGs, variable-length (RECFM V) files.
- Cross-record business rules: balances that sum, status transitions, multi-step conversations;
fromjoins are single-field only. - Unresolved links: COPY/CALL/LINK targets the engine couldn't resolve (e.g. the
CopyUnresolvedrefusals from det translator: take COPY resolution from the engine (ownership per #4273), replacing the first-hit directory search #4468). - Environment: the program doesn't compile under GnuCOBOL, or needs a CICS/DB2 stub that doesn't exist; façade stubs (det translator: CICS facades are stubs (handleLink throws, void handleTransaction does nothing), not the region-run facade #4465).
Moderately dynamic: the page is regenerated on every run. A blocker disappears when it's fixed, and the percentages update. There is no hand-maintained list.
Done when:
- A sweep over one estate writes the page.
- Each non-run program appears under exactly one blocker, and the blocker names the files and symbols involved.
- The unlock counts are checked by one test: fix a blocker, re-run, and the count of newly runnable tests matches the prediction.
- The page for a fresh estate is published as part of the trial protocol (Run two or three fresh public batch estates through the trial protocol #3806).
Note: before starting, check what existing generated pages (evidence pages, docs/language_status/fresh_estate_trials.md, the det-sweep baseline) already cover. This should extend them, not duplicate them.
Related: #3803 (epic), #3804, #3806, #4266, #4465, #4468.
Remaining slices (as of 2026-10-18)
Done so far: 2 merged PRs (#5309, #5391).
- (verify) Unclassified blocker classes in
tests/tools/harness_report.py: qualified names / PICTURE-inexpressible formats (class 1) and cross-record business rules (class 3); only if a burned program needs them (grep first). Check:test_harness_report.py, one case per cause. (1 PR) (harness_report: pin that no burned input needs class 1 or 3 blocker causes (Part of #4493) #5489) - REDEFINES "chosen by another field" detection (today any REDEFINES without
fieldsrules is listed). (1 PR) (harness_report: resolve nested COPY in the case's copy_dirs (Part of #4493) #6410) - (verify) Unresolved-links and environment classes (issue classes 4 and 5): does
proof_blockersalready feed them (CopyUnresolved from det translator: take COPY resolution from the engine (ownership per #4273), replacing the first-hit directory search #4468, no cobc compile, missing CICS/DB2 stub)? If not, add them naming files and symbols. (1 PR) (harness_report: CopyUnresolved refusal is an unresolved link naming its COPY member (Part of #4493) #6421) - (verify) Done-when 3 as one explicit test: fix a blocker, re-run, newly runnable count matches the prediction (Equivalence harness: generated coverage / run-status / input / blocker page (Part of #4493) #5309 may already have it); tick if so. (audit 2026-10-18: Equivalence harness: generated coverage / run-status / input / blocker page (Part of #4493) #5309)
- CI step publishing the page to the
generatedbranch. Check: a workflow run produces the page. (1 PR) (Harness report: wiki names the published page, pinned by a test (Part of #4493) #6619) - Done-when 4: a fresh estate's page through the trial protocol; blocked on Run two or three fresh public batch estates through the trial protocol #3806.
Done when: a sweep over an estate writes the page with every non-run program under exactly one blocker naming files and symbols, unlock counts are tested, and a fresh estate's page is published via Run two or three fresh public batch estates through the trial protocol #3806.
Owner decision needed: none directly (the last slice waits on Run two or three fresh public batch estates through the trial protocol #3806).
Drafted 2026-10-18 by a Sonnet triage pass from this issue, its comments and the bodies of its "Part of" PRs; (verify) items were not checked against main. Tick boxes as slices merge; edit freely.
Activity
harness_report: clip long reasons in the blocker lines (Part of #4493)
Equivalence harness: generated coverage / run-status / input / blocke…
harness_report: read the copybook through source_text (Part of #4493)
harness_report: per-record layout limits and non-VSAM inputs as input…
harness_report: pin that no burned input needs class 1 or 3 blocker c…
harness_report: list a REDEFINES only when another field chooses the …
157 remaining items
squid-protocol commentedon Nov 4, 2026
Churn run
4493-20261104T2101Z(host melek) ended without a PR. No PR: needs owner draw/trial start (#3806); do not relaunch until trial startssquid-protocol commentedon Nov 5, 2026
Churn run
4493-20261105T1352Z(host melek) ended without a PR. No PR: #4493 only waits on owner starting #3806 trial; do not relaunch until thensquid-protocol commentedon Nov 5, 2026
Churn run
4493-20261105T1411Z(host melek) ended without a PR. no PR: every code slice merged; done-when 4 waits on #3806 trial (owner draw)squid-protocol commentedon Nov 11, 2026
Churn run
4493-20261111T0725Z(host melek) ended without a PR. No PR: trial-001 page exists (example-health-apis, 0 proven/28 not attempted); done-when 4 met in form; checklist c:4e3383b1 tick is for whoever confirms first-contact page countssquid-protocol commentedon Nov 16, 2026
Closing: every slice and all four done-when items are delivered
Done-when, with the PRs
fix_for.generatedbranch), evidence-refresh: publish the fresh-estate trial pages to the generated branch (Part of #4493) #7328 (fresh-estate trial pages), trial pages: pin the generated-branch publish step and fresh-estate page shape (Part of #4493) #7467 and harness report: pin the generated-branch publish step (Part of #4493) #7472 (publish step pinned), wiki: the harness page REDEFINES selector detection and the no-trial-yet state (Part of #4493) #7490 (wiki).ibm/example-health-apis): the live trial page now exists (Blind 1: trial.py start on ibm/example-health-apis, 28 eligible (Part of #8119) #8154, Blind 1: record the trial-001 start and #8073 announcement (Part of #8119) #8156, Estate journey page + locked trial methodology (Part of #3803, #8073) #8117), and the proof run (Blind 1: det port first-try proof run under the frozen and current harness (Part of #8322) #8344, Blind 1: book Run B in the trial-001 ledger, 23/28 first-try (Part of #8322) #8351) fills it.Closing as completed. Further harness-page changes should be filed as new issues against the trial pages.