Skip to content

hex-attributes: EIB-store and EIBAID-literal survivors accounted, partial (Part of #7955) - #8004

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7955-20261107T1136Z
Nov 7, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7955-20261107T1136Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7955

Checklist: partial [c:67abe7c7] -- 92 more survivors accounted; HXATTR 269 and HXEXT 226 case-gap survivors remain (L5 withheld), plus the SEND MAP stub fix

What changed

Ledger-only change (4 files under tests/equivalence/det_mutation*/): no engine, port or case change, so no det-port or evidence re-proof is needed.

  • 46 HXATTR and 46 HXEXT survivors moved from case-gap to equivalent, each with a per-mutant reason and a held survivor_attack.py try attempt on record.
  • Two classes, both checked against the generated Java text:
    • the stores to EIBDATE, EIBTIME, EIBTASKN and EIBTRNID (the field names appear only in their declaration and store, and s_DFHEIBLK has no other reader);
    • the EIBAID case "X" literals other than the one value the program compares against (DFHCLEAR in HXATTR, DFHPF5 in HXEXT). A missed key leaves EIBAID at its initial 0x20 (byte 26 of the DFHEIBLK image), which equals neither constant.
  • HXATTR is now 282 killed / 140 accounted / 269 open; HXEXT is 193 / 147 / 226. Neither reaches L5.

Gates

pr_gates --fast 9/9, --ratchets 9/9, det_mutation.py check ok, test_det_mutation.py and test_survivor_attack.py 90 passed. No conflict with origin/main.

What did not work (plan changed)

The plan expected new scenarios to kill the Field offset / SEND MAP plumbing survivors. 11 full-width input scenarios killed 0 of 89 HXATTR Field/SENDMAP ids (HXATTR inputs are refused by HXEXT's map; 4 HXEXT-shaped inputs killed 0 of its 46). The rest needs per-mutant static arguments, not scenarios, so this slice states only the classes it could verify mechanically.

Class / Sibling gaps

Class: det-port mutants in the generated EIB setup and BMS symbolic-map layer that no scenario of a one-screen map program separates. Sibling gaps, by the burned program that needs each: the dead values15 map in HXATTR p3 MAPONLY and the subfields field-name literals whose A/L bytes are never set on that path (HXATTR, HXEXT); the WS_RESP = 0L initialiser and the caBack / handlers / heldKey clears (need proof the service instance is fresh per task; HXATTR, HXEXT); Field offset/size, base64 map literals and the GOTO bit constant (HXATTR 54+2+2, HXEXT 23+2+2); SEND MAP stub equivalence_cics_terminal.py:84 (can_fail=False: a planned INVREQ with no RESP lets COBOL reach RETURN while Java ABENDs AEIP; fixing it stales every SEND MAP evidence record) and its sibling SEND CONTROL at :92 (X71).

Remaining slices

  1. Verify and state the remaining static classes above (HXATTR, HXEXT).
  2. Stub fix can_fail=True at equivalence_cics_terminal.py:84 with a test in test_equivalence_cics_fault_resp.py, then re-prove the SEND MAP cases.
  3. SEND CONTROL :92.

Lessons for agents

  • A try input written for one case is refused by a sibling case with another map: write inputs from that case's own good-entry scenario.
  • Classify survivors by their before text, not line number, when stating a class: the same line holds different mutants per operator.

🤖 Generated with Claude Code

…valent (46 HXATTR, 46 HXEXT), partial (Part of #7955)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 7, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 7, 2026 12:29
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 7, 2026 12:30
@squid-shepherd
squid-shepherd Bot merged commit dd22221 into main Nov 7, 2026
63 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7955-20261107T1136Z branch November 7, 2026 12:51
squid-protocol added a commit that referenced this pull request Nov 7, 2026
…easons (Part of #4628) (#8014)

* survivor_attack: `try` attacks batch cases; stale-check refuses bulk survivor reasons (Part of #4628)

Batch `try`: a batch case is one job step, so an input changes the step -- a new record of an
input dataset (strengthen.py's record builder), new generator specs for a `@generate` dataset,
SYSIN, PARM, or a fault run. The trial is the committed step with those changes; `packet` shows
the layouts, first records, generated fields and a fault plan to copy. CBSTM03A, PAUDBLOD,
PAUDBUNL and COBSWAIT had no attack path at all before this.

The verdict gate (`stale-check --vs REF`, `state`, `lint`), for the entries a change writes:
- one reason template (numbers, quoted code, method names aside) on more than 10 Java lines of a
  case, unless each entry has an attack or `facts` settlement on record;
- a case-gap / harness-gap saying the code is not exercised when the ledger's proof covers every
  paragraph (a branch claim stands while branches are left uncovered).
`state --attempts` now records the attack behind a gap verdict too.

Replayed over every survivor-file change since 2026-10-28 (142 commit/case pairs): all of
watcher1's PRs (#7720 #7739 #7762, open #7981) are refused, as are the 10-30/11-01 bulk
"account for all" PRs the 11-01 audit found wrong; open #8003 and #8004 pass.

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

* survivor_attack: a committed port that does not compile is `refused`, not port-differs (Part of #4628)

Found on the first live batch `try` (COBSWAIT from a JDK 21 shell): the Java build failed, and
`try` said port-differs, which the skill says is a real finding to stop and report. A compile
failure of the unchanged committed port is the box; a crash on the new input stays port-differs.

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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