Skip to content

CBSA L5 revalidation: attack the survivor verdicts, full ledgers, ABNDPROC and UPDCUST lose L5 (Part of #4628) - #7495

Merged
squid-shepherd[bot] merged 7 commits into
mainfrom
l5-reval-cbsa
Nov 3, 2026
Merged

squid-shepherd[bot] merged 7 commits into
mainfrom
l5-reval-cbsa

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Attacks the CBSA L5 verdicts and lands what held. Two programs lose L5. That is the correct result: their survivors were not all accounted for, and #7162 had relabelled open gaps as accounted with no case change. Part of #4628.

What changes

  • cbsa-abndproc, cbsa-updcust: new inputs in case.json. The cases had no typed-DTO scenario, no short EIBCALEN and no raw bytes, so the in_ / fill_ mapping, the COMMAREA cut path and the link-area copy were never seen. UPDCUST also never had both name and address leading with a space.
  • All six cases: full det_mutation.py run --sample 0. This replaces the sampled ABNDPROC and UPDCUST ledgers that evidence: refresh stale records and the evidence report #7428 wrote over full runs (det_mutation: an evidence refresh raced a full run; #7476's verdicts have no attack on record #7488).
  • Survivors: 173 stated verdicts the run killed are removed (86 ABNDPROC, 87 UPDCUST). 129 entries go back to open gaps, each with its own reason.
  • New survivors: one per ACCTCTRL, GETCOMPY, GETSCODE, UPDACC: undefinableFile negated in store(), which nothing calls. Stated unreachable after a try.
  • Test: test_updacc_typed_dto_entry_scenarios_and_no_open_case_gap now names UPDACC's two held-out case-gaps instead of asserting none.
  • Det coverage ledger: ABNDPROC and UPDCUST.

L5 and raw score

Before is main at da12da1. ABNDPROC and UPDCUST's before figures are the sampled ledgers.

Program Before: run Before: raw Before: L5 After: run After: raw Unaccounted After: L5
ABNDPROC 149/455 44/140 (31%) yes 455/455 215/436 (49%) 21 no
UPDCUST 148/718 67/139 (48%) yes 718/718 395/693 (57%) 21 no
UPDACC 714/714 394/689 (57%) no (1) 714/714 394/689 (57%) 28 no
ACCTCTRL 518/518 203/493 (41%) no (1) 518/518 203/493 (41%) 21 no
GETSCODE 228/228 67/214 (31%) no (1) 228/228 67/214 (31%) 19 no
GETCOMPY 221/221 60/207 (29%) no (1) 221/221 60/207 (29%) 19 no

Inputs added

ABNDPROC (4): dto-full-write, dto-eibcalen-100, dto-eibcalen-681, raw-numerics-written.

UPDCUST (6): dto-not-found, dto-update-all, both-lead, eibcalen-0, eibcalen-260, raw-numerics-title-invalid.

The full run killed every stated mutant the attack expected, plus 1 in ABNDPROC (78ced98a62) and 7 in UPDCUST (the caWhole helper).

Held out, not in any case:

  • Non-digits in a numeric MOVE, needing an owner ruling: custno-embedded-spaces, raw-overdraft-spaces, and UPDCUST / UPDACC no-commarea. Their mutants (ab6f13f763, 0e4d7d1e73, eb7aa72523, bee9666e07) are case-gap, because the old verdicts are refuted on the oracle.
  • Every port-differs input.
  • The byte COMMAREA inputs: try refuses commarea_hex on a typed case.

UPDACC gets no new input. The short EIBCALEN and raw inputs kill on the det port, but the committed cbsa-updacc/port fails them on its java-facade side (evidence.py prove: 27/29), and that record is the case's evidence. The seven mutants they kill are harness-gap, each saying so.

What stayed open

  • harness-gap: the byte[] COMMAREA entry (killed with the case's layout dropped, so reachable), handleLink(request, area) / lastLinkBytes (driven by cics_crucible.py, not by the equivalence harness), beyond past the record (X10).
  • harness-gap: eea30fe38b, observable through the sign write-back defect det/CICS: a typed COMMAREA write-back rewrites the sign of a field the program never touched #7485.
  • case-gap: ACCTCTRL 46c2a36017, db2802af42 show only at 10,000,000 or more rows. Not attacked.

Class / Sibling gaps

Class: stated equivalent / unreachable verdicts on CBSA L5 survivors, tested by attack. All six programs in scope were handled for relabelled gaps and mutants scoring 3 or more; lower-scoring survivors were not attacked and keep their verdicts.

Sibling gaps, not done here:

Verification

  • Ledgers: full runs for all six; det_mutation.py check ok.
  • tests/tools/test_det_mutation.py, test_survivor_attack.py: 68 passed.
  • pr_gates --fast: pass. --ratchets: 9 pass, 0 fail, 0 skipped. tests/cobol_mainframe/test_evidence.py: 58 passed.

Lessons for agents

  • heavy-run.sh is first-free, not a queue: a waiting job can sit 45 minutes behind later arrivals, so run a facade check before starting long ledgers.
  • A det-port proof passing facades does not prove evidence.py prove: a case with a committed port/ is judged on that port. Check evidence.json cases before adding inputs.
  • test_det_mutation.py requires every UPDACC dto_entry scenario to start with dto-entry-.

🤖 Generated with Claude Code

squid-protocol and others added 7 commits November 2, 2026 19:14
…86 stated verdicts refuted, 21 back to harness-gap (Part of #4628)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… full ledger, 87 stated verdicts refuted, 21 back to open gaps (Part of #4628)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d beyond back to harness-gap (Part of #4628)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… harness-gap, the 10M-row reads back to case-gap (Part of #4628)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…arness-gap, short-EIBCALEN and raw kills open because the committed port's facade cannot take them (Part of #4628)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol

Copy link
Copy Markdown
Owner Author

Ruling: non-digit data in a numeric MOVE (made by Claude at the owner's request, 2026-11-03; the owner may override)

Mutants killed only by non-digit data in a numeric USAGE DISPLAY item are "undefined by IBM": not killed, and not an open gap.

  • This extends mainframe-evidence-policy rule 7 (owner 2026-10-29 and 10-31, register C11) from branch outcomes to mutants. IBM documents no result for non-digit data in a numeric DISPLAY item. GnuCOBOL's answer (it reads the item as zeros) is not z/OS's, so a kill that needs that input says nothing about z/OS.
  • Covers custno-embedded-spaces, raw-overdraft-spaces, and the UPDCUST / UPDACC no-commarea inputs; mutants ab6f13f763, 0e4d7d1e73, eb7aa72523, bee9666e07.
  • Their old equivalent verdicts stay removed: those were refuted on the oracle, so they were not true.
  • Mechanism: a det_mutation verdict undefined-by-ibm, counted as accounted. The ledger and the evidence report name each one, with counts, and every entry cites the item and the input. Add a line to rule 7 recording the extension.
  • L5 still needs every other survivor accounted for. This ruling does not restore the two programs this PR moves off L5 unless these four mutants were their only open ones.

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 3, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 3, 2026 15:45
@squid-shepherd

squid-shepherd Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

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