Repository navigation
equivalence harness: planned SEND TEXT RESP faults (Part of #6271) - #6477
Conversation
…D TEXT (Part of #6271) SEND TEXT joins the X71 fault commands: nameless, like RETURN. The ggcics.c stub and the det translator read the same plan; a planned fault sends nothing. CONVERSE's own write consults no SEND TEXT plan. SEND CONTROL is left as a sibling gap. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6477 @ 9e1f9ec: 1 failed check(s) == ground-truth part 2/2 (failure) -- real |
…Part of #6271) The SEND TEXT lowering now reads task.planned("SEND-TEXT", "-") and sends only when no fault is planned; the disposition test pinned the old unguarded line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
Part of #6271.
Checklist: partial [c:7358346e] -- SEND TEXT is done; SEND CONTROL has no fault plan yet, and no committed bnkmenu scenario injects a SEND TEXT fault (proved on a scratch copy only).
What
Planned
TSIOERR/INVREQ(RESP2 200) /LENGERRfaults onSEND TEXT, register X71. The command is nameless, likeRETURN(-). Theggcics.cstub and the det translator (det/cics.py) read the same plan, and a planned fault sends nothing. CONVERSE's own write consults no SEND TEXT plan.X71.mdrecords the IBM conditions.test_strengthen_loop.pygot its two per-command tables extended, which this PR's newFAULT_COMMANDSmember required.ruff_audit_baseline.jsontakes the one edited baselinedISC004line.Evidence ladder
pr_gates --fast7/7 and--ratchetspass, withaudit_checkclean after regenerating the ruff baseline.cbsa-bnkmenu(pf3base plus a TSIOERR, an INVREQ/200 and a LENGERR fault on SEND TEXT):det_port.py runPROVED, 3/3 events equal in each fault scenario, DISPLAY output equal, both legs fired the same plan. The scratch case is not committed.det_port.py checkagainst main: 73 of 179 ports change (each SEND TEXT now has a planned-fault lookup). I re-proved the 32 changed ports from the burned estates (CardDemo, CBSA, zECS, DBB mortgage, async credit-card): all PROVED. The other 41 are non-burned estates and were not run.Class / Sibling gaps
Class: terminal and unit-of-work commands whose RESP can be planned in the equivalence harness (X71).
Sibling gaps:
SEND CONTROLhas no plan yet (it is refused; one test pins that). No committed scenario in any case injects a SEND TEXT fault.infeasible_outcomes/cbsa-bnkmenu.json:131still records the SEND TEXT failure branch as infeasible and could now be replaced by a scenario. The non-burned changed ports were not re-proved.Facts checked: IBM SEND TEXT conditions (IBM CICS TS docs) against
UI_FAULT_CONDITIONS;BNKMENU.cbl1210-1216 (the failure route abends); the stub and translator read the same plan line, whichtest_the_send_text_stub_and_translator_read_the_same_planpins.Cross-repo
None. No parsing change, so no golden bless.
Remaining slices
SEND CONTROL plan; a committed bnkmenu SEND TEXT fault scenario that replaces the infeasible entry (touches
case.jsonplus the infeasible file).Lessons for agents
equivalence.py runwithout--porthas no Java port, so every Java event list is empty and it looks like a failing fault. Prove a det-port case withdet_port.py run CASE --work DIR.pf3, not theoption-*-return-invreqscenarios).det_port.py checktakes longer than 2 minutes; give it a 25 min timeout.Rescue fix (Opus):
tests/cobol_mainframe/test_det_translate.py::test_send_text_terminal_is_the_default_dispositionpinned the unguardedtask.sendText(...)line; it now pins thetask.planned("SEND-TEXT", "-")read and theif (planned2[0] == 0)guard. That is one more test file the lowering change itself requires.🤖 Generated with Claude Code