Skip to content

CICS crucible: a LINK event COMMAREA is compared by the caller bytes (Part of #5053) - #5650

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5053-20261019T1425Z
Oct 19, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5053-20261019T1425Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5053 (the LINK / XCTL COMMAREA item). Does not close the issue.

Checklist: partial [c:5283f13d] -- XCTL event bytes (the forge's XCTL event carries no area), XCTL target caller_commarea (a copy), LINK CHANNEL bytes

What

The forge runtime already records a LINK event's area (the caller's bytes at LINK time, cut to LENGTH), but java_actual ignored it, so the sent COMMAREA was compared through the DTO alone (a numeric DISPLAY field holding spaces reads as a number). The LINK branch now runs the event's area through _with_answered_bytes (runtime page -> CCSID 037, binary fields as they are, cut at LENGTH); no area falls back to the DTO. Crucible-only change: no forge or det text moved, so no port resurfacing and no golden bless.

Evidence

  • New tests/cobol_mainframe/test_link_event_bytes_5053.py (3 tests); sibling test_link_bytes_overload_5053.py, test_crucible_case.py pass.
  • Real cics-crucible, java-ported + java-facade: ca-link-lengths, ca-xctl-versions, hc-abend-link, pc-wizard: 38 pass, 0 fail.
  • pr_gates.py --fast 6/6, --ratchets 8/8; audit_check.py ran but its mypy step failed to start here (mypy not on PATH; pr_gates audits pass).

Class and siblings

Class: crucible checks of the COMMAREA byte channel that fall back to the DTO. Covered: LINK event commarea (this PR), RETURN caller_commarea / answer (#5369, #4965).
Sibling gaps (none needs a burned-estate program that is not already in the four cases above):

  • XCTL event bytes: the forge's XCTL event has no area (the runtime has xctlArea); needs a forge change that moves ~100 det ports (resurface + re-prove). ca-xctl-versions.
  • XCTL target caller_commarea (a copy), LINK CHANNEL byte paths.
  • Det-port page-aware bytes (PCWIZ java-facade needs an ad hoc P.translate overlay); PCCONF holes (blocked on Siblings of #5053: det-port proof blockers (RECEIVE MAP JUSTIFY, proof_reach det helpers) #5082); pc-return-immediate (no committed port).

🤖 Generated with Claude Code

…aller sent (Part of #5053)

The runtime records the LINK event's area (the caller's bytes, cut to LENGTH); the crucible
now compares the sent COMMAREA by them through the runtime page, not the DTO alone.

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 Oct 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 19, 2026 14:35
@squid-protocol
squid-protocol enabled auto-merge (squash) October 19, 2026 14:44
@squid-protocol
squid-protocol merged commit 89c7df8 into main Oct 19, 2026
58 checks passed
@squid-protocol
squid-protocol deleted the churn/5053-20261019T1425Z branch October 19, 2026 14:47
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