Repository navigation
Description
Follows epic #3755 (logic porting under customer control). That epic ports the business logic with the customer's own model and proves every port against the COBOL. Its first unattended run (#4040) proved five CardDemo programs, four on attempt 1; mutation testing (#4047) then showed what those proofs do and do not pin down.
Principle: the product is the proof, not only the Java. A plausible Java port is becoming cheap -- any model writes one, and others sell exactly that: "use LLMs and claim". What a customer cannot get elsewhere is evidence that the Java does what the COBOL did, and a measure of how strong that evidence is. So each ported program is delivered as:
- the Java port;
- its proof case (inputs, CICS scenarios, CALLs, fault plans) and the harness to re-run it, byte for byte;
- a claim with numbers: runs, COBOL coverage (CICS crucible: COBOL paragraph/branch coverage per program, so a proven port says how much it proves #4023), mutation score, survivors triaged;
- its provenance and a person's approval, in one evidence record that goes stale when anything under it changes;
- after the mainframe is gone, the same cases as the Java's regression suite.
Two correction loops. The port loop (#3753: proof failure -> findings -> a new port) and a test-strengthening loop (mutation survivors -> model-proposed inputs -> the COBOL decides the expected result). The second is safe to automate: the model never writes an expectation.
Limits built in, not hidden: the oracle is named on every claim (GnuCOBOL + stub runtime + documented IBM behaviour, or captured mainframe runs); differences from byte-for-byte are declared and approved, never silent; the harness runs where the customer's data lives; a person approves every port.
Order:
- Mutation testing of every proven port: measure what "proven" means #4047 Mutation testing of every proven port (tool + fast mode; validating fast vs full now).
- CICS equivalence ignores screen field attributes (a wrong-colour error message is still proven) #4053 CICS screen attributes are not compared (found by Mutation testing of every proven port: measure what "proven" means #4047).
2b. Batch equivalence ignores DISPLAY / SYSOUT: a port that writes the wrong job-log message is still proven #4056 Batch DISPLAY / SYSOUT is not compared (found by Mutation testing of every proven port: measure what "proven" means #4047). - An evidence record per ported program: the claim, the oracle, provenance, approval, staleness #4048 An evidence record per program.
- The test-strengthening loop: mutation survivors -> model-proposed inputs, the COBOL as oracle #4049 The test-strengthening loop (first: CSUTLDTC, COMEN01C).
- Declared differences: equivalence except where a person approved a difference #4051 Declared differences.
- Captured mainframe outputs as the equivalence oracle (beside GnuCOBOL) #4050 Captured mainframe outputs as the oracle.
- After the mainframe: the proof cases become the Java regression suite #4052 The proof cases as the post-migration regression suite.
- An estate-level evidence report: proven, coverage, mutation score, differences, approvals #4054 The estate-level evidence report.
🤖 Generated with Claude Code
Remaining slices (as of 2026-10-18)
Epic; children closed so far: #4053, #4056.
Child issues still open:
- Mutation testing of every proven port: measure what "proven" means #4047 Mutation testing of every proven port (scores still missing for several ports; fast vs
--fullagreement) - An evidence record per ported program: the claim, the oracle, provenance, approval, staleness #4048 Evidence record per program (mutation sections for the remaining CardDemo ports; stale-record test)
- The test-strengthening loop: mutation survivors -> model-proposed inputs, the COBOL as oracle #4049 Test-strengthening loop (signon, userlist, CBSA updacc, CSUTLDTC, GenApp survivors)
- Captured mainframe outputs as the equivalence oracle (beside GnuCOBOL) #4050 Captured mainframe outputs as the oracle (no merged PR yet; needs the customer-premises constraint)
- Declared differences: equivalence except where a person approved a difference #4051 Declared differences, applied and reported in the harness (no merged PR yet)
- After the mainframe: the proof cases become the Java regression suite #4052 Proof cases as the Java regression suite: golden outputs + a JUnit class per case (no merged PR yet)
- An estate-level evidence report: proven, coverage, mutation score, differences, approvals #4054 Estate evidence report (GenApp callee records; verify the publish)
- (related, not listed as a child) Evidence L5: mutation testing on det ports, survivors accounted for (#4601) #4628 det-port mutation, feeding Mutation testing of every proven port: measure what "proven" means #4047/An evidence record per ported program: the claim, the oracle, provenance, approval, staleness #4048
Epic-level: - Tick the order list above as children close.
- (optional) A customer-facing page of the "delivered as" bundle (port, case, claim with numbers, evidence record, regression suite) once Declared differences: equivalence except where a person approved a difference #4051 and After the mainframe: the proof cases become the Java regression suite #4052 land. (1 PR)
Done when: every child in the order list is closed and a program can be delivered with Java, case, claim, evidence record and regression suite.
Owner decision needed: do Captured mainframe outputs as the equivalence oracle (beside GnuCOBOL) #4050 (captured mainframe outputs) and Declared differences: equivalence except where a person approved a difference #4051 (declared differences) stay in scope? Both need customer-side data or design choices, and no slice is queued for either.
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
squid-protocol commentedon Nov 2, 2026
#7545 merged: a partial slice of [c:4b726470] "#4052 Proof cases as the Java regression suite: golden outputs + a JUnit class per case (no merged PR yet)"; left: field-level comparison with declared differences (#4051), the generated JUnit class per case, the Java-side dump into the check's layout, CICS / CALL / job / Db2 case kinds, and "fails on a mutant the proof kills". (promoter-bot)
squid-protocol commentedon Nov 2, 2026
#7549 merged: a partial slice of [c:85f05782] "#4047 Mutation testing of every proven port (scores still missing for several ports; fast vs
--fullagreement)"; left: about 80 burned L4 programs still have no det-port score, and the survivors of these three are not yet triaged. (promoter-bot)squid-protocol commentedon Nov 2, 2026
#7553 merged: a partial slice of [c:4b726470] "#4052 Proof cases as the Java regression suite: golden outputs + a JUnit class per case (no merged PR yet)"; left: wiring into the project, mutant-kill proof, field-level comparison, non-batch kinds (promoter-bot)
squid-protocol commentedon Nov 2, 2026
#7566 merged: a partial slice of [c:85f05782] "#4047 Mutation testing of every proven port (scores still missing for several ports; fast vs
--fullagreement)"; left: about 75 burned L4 programs still unmeasured; survivors untriaged (promoter-bot)squid-protocol commentedon Nov 2, 2026
#7572 merged: a partial slice of [c:85f05782] "#4047 Mutation testing of every proven port (scores still missing for several ports; fast vs
--fullagreement)"; left: about 72 burned L4 programs still unmeasured; survivors untriaged (promoter-bot)squid-protocol commentedon Nov 3, 2026
#7575 merged: a partial slice of [c:85f05782] "#4047 Mutation testing of every proven port (scores still missing for several ports; fast vs
--fullagreement)"; left: about 70 burned L4 programs still unmeasured; survivors untriaged; COBTUPDT run errors (promoter-bot)squid-protocol commentedon Nov 3, 2026
Churn run
4055-20261103T0007Z(host nyx) ended without a PR. limit; requeuedsquid-protocol commentedon Nov 3, 2026
#7582 merged: a partial slice of [c:85f05782] "#4047 Mutation testing of every proven port (scores still missing for several ports; fast vs
--fullagreement)"; left: about 65 burned L4 programs still unmeasured; survivors untriaged; COBTUPDT run errors (promoter-bot)squid-protocol commentedon Nov 3, 2026
Churn run
4055-20261103T0210Z(host nyx) ended without a PR. limit hit, no PR; requeued at frontsquid-protocol commentedon Nov 16, 2026
Closing the epic: the product is delivered as Java plus its evidence; one frontier child stays open on its own
The "delivered as" bundle, with the PRs
Closed children: #4047, #4048, #4049, #4051, #4052, #4053, #4054, #4056.
Deliberate deviation from the epic's done-when ("every child closed"): #4050 (captured mainframe outputs as the oracle) is left open as its own
scope:frontier,priority: lowissue. What exists is the HFP capture kit and its z/OS runbook under #4271 (#5674, #5702, #5752, #5760, #6019, #6027). No "recorded oracle" mode exists in the harness. That is a scope decision for the owner, not something this epic's closure should settle silently.A program can today be delivered with Java, case, claim with numbers, evidence record, declared differences and a generated regression suite. The oracle is named on every claim: GnuCOBOL plus models, not z/OS.
Closing as completed.