Skip to content

facade: raw byte[] LINK entry (link_bytes); kills ce878f3bbb, states 34799ba0a3 equivalent (Part of #6166) - #7785

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/6166-s4-link-bytes
Nov 5, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/6166-s4-link-bytes

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6166 (slice 4, filler). Checklist: partial [c:da7b5789] -- 27 survivors minus the two judged here; the rest are other stated verdicts, not touched.

What

FacadeRegion.start (tests/tools/equivalence_cics.py) gains a raw byte[] LINK entry: a scenario with "link_bytes": true enters the det port's handleLink(request, byte[] area) instead of the one-argument handleLink. Two shapes: (a) the task's COMMAREA is the raw bytes (handleLink(null, area)), so the port's ca instanceof byte[] branch runs; (b) with dto_entry, a typed COMMAREA and a null area. After the call the facade checks lastLinkBytes() equals the bytes the task left (null when none passed). carddemo-userlist-linked takes three scenarios (13 total): link-bytes-pf8-next-page, link-bytes-first-entry, link-bytes-no-area-first-entry. Proven 13/13 (det port, 16/16 paragraphs, 64/100 branches).

Verdicts (det_mutation.py sibling carddemo-userlist carddemo-userlist-linked, 41 judged)

  • ce878f3bbb (&& -> || in lastLinkBytes): killed by the null-area scenario (the port calls linkArea() unconditionally, so taken is true and the mutant copies a null area).
  • 34799ba0a3 (DEL of the byte[] copy-in): survives the raw entry; stated equivalent: that entry also hands the port the same bytes as the link area, whose copy overwrites exactly the range this one wrote, with beyond and EIBCALEN from the same length. A byte[] COMMAREA with no link area is only the untyped handleTransaction, which this typed program does not take.
  • Ledger 102 -> 103 killed, 41 -> 40 survived.

Gates

pr_gates --fast 9/9 (after the det-ledger refresh); --ratchets 8/9: fact-crosscheck fails on 3 ZECS .asm edges (ZECSNC -> PERFORM SY_9000 etc.), reproduced with --vs-main: not from this change (HLASM, #7773). test_evidence, test_det_mutation, test_source_reads pass. The 13-scenario det-sweep coverage record was regenerated.

Class / Sibling gaps

Class: LINK-entry shapes of a det port's handleLink overloads that the facade never entered (the byte-carrying overload with raw-bytes COMMAREA, and with a null area). Both members are handled here for COUSR00C. Sibling gaps: other linked cases (cbsa/genapp ports) still enter only the one-argument handleLink; adding link_bytes scenarios there is the same mechanism, not done here (scope: one case). The other 38 carddemo-userlist survivors are untouched.

Remaining slices

Judge the remaining carddemo-userlist survivors (verdicts via det_mutation.py state); add link_bytes scenarios to other linked cases when their survivors name the byte overload.

Cross-repo: none.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits November 5, 2026 07:04
…t-linked scenarios; kills ce878f3bbb, states 34799ba0a3 equivalent (Part of #6166)

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 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 5, 2026 12:14
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 5, 2026 12:14
@squid-shepherd
squid-shepherd Bot merged commit 5328aed into main Nov 5, 2026
89 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6166-s4-link-bytes branch November 5, 2026 12:42
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