Repository navigation
CBSA L3: DBCRFUN SQL faults, BNKMENU / DBCRFUN stated arms (Part of #6072) - #6277
Conversation
…Part of #6072) DBCRFUN: ACCOUNT UPDATE -911 and 923 (storm drain) and PROCTRAN INSERT -803. infeasible_outcomes: BNKMENU's RETURN / SEND failure arms and dead flags, DBCRFUN's SYNCPOINT ROLLBACK failure arm, each with its IBM condition list. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…s and stated arms (Part of #6072) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Waiting on an owner decision (asked privately, 2026-10-23). Nothing is needed from contributors; work resumes once it is answered. |
…les (Part of #6072) #6279 split tests/equivalence/infeasible_outcomes.json into one file per case. The cbsa-bnkmenu and cbsa-dbcrfun entries move 1:1 into infeasible_outcomes/cbsa-bnkmenu.json and cbsa-dbcrfun.json (written with infeasible_outcomes.write_case), and the pin test reads them from there. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The owner decided (2026-10-23); the bot applies it on its next tick. |
|
No description provided. |
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
…bcrfun det-sweep coverage (Part of #6072) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (a9fe0e2) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #6277 @ a9fe0e2: 1 failed check(s) == det (failure) -- real |
1 similar comment
|
PR #6277 @ a9fe0e2: 1 failed check(s) == det (failure) -- real |
|
PR #6277 @ a9fe0e2: 1 failed check(s) == det (failure) -- real |
…aches (Part of #6072) After merging main (#6292 added RESP faults on SEND MAP / RECEIVE MAP / RETURN), the proof reaches BNKMENU IOT010:{394,466,539,612,685,758,831,905}:true, SMM010:{987,1138}:true and DBCRFUN WTPD010:569:true, so the infeasible claims were wrong. Removed them (cbsa-dbcrfun's file is now empty and deleted), refreshed the dbcrfun coverage ledger, updated the pin test. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (49f8957) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #6072 (CBSA slice of the L2->L3 ladder). Checklist: partial [c:db77a1b6] -- only part of the slice moved; see Remaining slices.
What changed (3 hand-written files, 2 regenerated)
tests/equivalence/cbsa-dbcrfun/case.json: threesql_faultsscenarios: ACCOUNT UPDATE -911, ACCOUNT UPDATE 923 (SQLSTATE 57015, the storm-drain arm), PROCTRAN INSERT -803 (rollback answers NORMAL, fail code02).tests/equivalence/infeasible_outcomes/cbsa-bnkmenu.json,cbsa-dbcrfun.json(per-case files since Infeasible outcomes: one file per case, add CLI, paragraph entries (Part of #6072) #6279):cbsa-bnkmenu(27 outcomes: the RETURN / SEND MAP / SEND TEXT failure arms, the never-set SEND-DATAONLY flag,IF ACTIONI = 'A'false) andcbsa-dbcrfun(SYNCPOINT ROLLBACK RESP arm at 569). Each reason cites the IBM condition list (RETURN, SYNCPOINT ROLLBACK).tests/cobol_mainframe/test_cbsa_l3_6072.py: JSON pins for the above.det_sweep_coverage/cbsa-bnkmenu.json,cbsa-dbcrfun.json.Before / after (det sweep,
proof_sweep --det-only --cases cbsa-dbcrfun,cbsa-bnkmenu, both PROVED)Why the paragraphs are still uncovered (sibling gaps, by class)
HANDLE ABEND LABELon a system abend (AD2Z, AFCR/AFCS/AFCT) or a failed rollback; the harness injects neither. Unmodelled, not infeasible: left uncovered, not stated.Remaining slices
INQACCCU, INQACC, XFRFUN SQL / file-fault scenarios (file cap); BNK1DCS delete after DELCUS is translated; an abend-injection harness feature for the ABEND-HANDLING paragraphs.
Review ask
Owner to review the family-R reasons: assumption that the BNKMENU terminal is not APPC (RETURN INVREQ 4) and that DBCRFUN's remote caller links with SYNCONRETURN (SYNCPOINT ROLLBACK INVREQ 200).
Gates
pr_gates --fast7/7,--ratchets9/9,infeasible_outcomes checkok,pytest -k "evidence or infeasible or det_sweep or cbsa"890 passed. Evidence records stay proven, unapproved (stale-on-harness warning is the scheduled job's). No engine code touched: no golden re-bless.Merge with main (rescue, 2026-10-23)
#6279 deleted the single
infeasible_outcomes.json(modify/delete conflict). The two cases' entries moved 1:1 into per-case files withinfeasible_outcomes.write_case, and the pin test now reads those files. After the merge:infeasible_outcomes checkon both sweeps ok,pytest -k "evidence or infeasible or det_sweep or cbsa or ladder"925 passed / 4 skipped,pr_gates --fast7/7.Merge with main (shepherd fix, 2026-10-23)
#6292 (RESP faults on SEND MAP / RECEIVE MAP / RETURN) made the proof reach 11 outcomes this PR had stated infeasible (BNKMENU IOT010 394/466/539/612/685/758/831/905 true, SMM010 987/1138 true; DBCRFUN WTPD010:569 true), so
detwent red ("the claim is wrong"). Those entries are removed (cbsa-dbcrfun.jsonis now empty and deleted),cbsa-dbcrfun/-generatedcoverage ledgers refreshed withdet_coverage_ledger.py update, the pin test updated. Both sweeps now report "as expected"; the other BNKMENU entries stand.Lessons for agents
A
sql_faultsentry with a SQLCODE that has no table SQLSTATE (923) raisesno SQLSTATE for SQLCODE-- givesqlstate(57015).sql_faultsacceptstable+verbinstead of a line number.A harness feature that injects new faults (e.g. RESP on RETURN) can make a stated-infeasible outcome reachable: re-run the sweep after merging main and drop entries it flags.
Cross-repo: none.
🤖 Generated with Claude Code