Skip to content

CICS crucible: an XCTL event's COMMAREA is compared by the bytes the caller sent (Part of #5053) - #5655

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5053-xctl-event-bytes
Oct 19, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5053-xctl-event-bytes

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5053 (slice 2 of 3: XCTL event area). Slice 1 was #5650 (LINK).

The runtime's byte-carrying xctl(program, commarea, length, byte[] area) now puts the sent bytes (cut to LENGTH, base64) on the XCTL event as area, as a LINK's; the crucible's XCTL branch compares the sent COMMAREA by them through the runtime page, not the DTO alone (a numeric DISPLAY field holding spaces is invisible to a DTO). Without area it falls back to the DTO. The bytes are recorded even when the XCTL fails (LENGERR/PGMIDERR/injected), since they were what the caller sent.

Checklist: partial [c:link-xctl-commarea-bytes] -- LINK and XCTL event area done; XCTL caller_commarea and LINK CHANNEL bytes are left

Evidence

  • det_port.py check: 116/135 ports CHANGED, each only CicsTask.java +3 lines (the runtime); no translation change. Re-proved carddemo-menu, carddemo-signon, cbsa-xfrfun: PROVED.
  • New test_xctl_event_bytes_5053.py (4 tests) + -k "xctl or link" cobol_mainframe tests: 123 passed. audit_check.py: all clear. cics_crucible --ci: see comment.

Cross-repo

None.

Remaining slices

XCTL caller_commarea; LINK CHANNEL bytes (forge + crucible_events/driver), in that order.

Sibling gaps

Page-aware det-port bytes (PCWIZ), PCCONF holes, pc-return-immediate: already checklist items of #5053.

🤖 Generated with Claude Code

…caller sent (Part of #5053)

The runtime's byte-carrying xctl puts the sent bytes (cut to LENGTH) on the XCTL event as `area`,
as a LINK's; the crucible compares them through the runtime page, not the DTO alone.

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

Copy link
Copy Markdown
Owner Author

cics_crucible --ci --offline exited 0 (the gate against its committed baseline): "300 pass, 380 fail, 30 unsupported (710 cells)". The java side fails in every case in this offline run (e.g. pc-wizard java:fail 6 while java-facade/java-ported pass 6), so I could not use it to see the XCTL byte comparison on a live Java run; I did not diagnose why java fails offline. The XCTL comparison is proved by the unit tests and the 3 re-proved det ports, not by a green java cell.

@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 15:40
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 19, 2026 15:45
@squid-protocol
squid-protocol merged commit bd0ec4f into main Oct 19, 2026
85 of 86 checks passed
@squid-protocol
squid-protocol deleted the churn/5053-xctl-event-bytes branch October 19, 2026 16:31
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