Skip to content

CICS crucible: an XCTL chain's RETURN shows the LINK caller the first program's bytes (Part of #5053) - #5667

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

squid-protocol merged 1 commit into
mainfrom
churn/5053-xctl-caller-commarea

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5053 (slice 3).

What

The crucible's byte channel for an XCTL chain under a LINK. A LINKed program A that takes the caller's area and then XCTLs to B left no RETURN, so its bytes were dropped; B holds only a copy, so its RETURN caller_commarea fell back to the DTO (a numeric DISPLAY field holding spaces read as a number). Now FacadeRegion keeps A's bytes per level (callerLeft) and tags the chain's RETURN (B's, or a later target's in A->B->C), whether or not the target has the bytes overload. tagReturn only looks at the program's own events (mark), so an earlier untagged RETURN of the same level is never given this chain's bytes. Crucible-only: no forge change, so no det port moved and no golden bless.

Why the java cell fails in every case (question on #5655)

Not an offline/Maven problem: the java side is the raw forge output, whose runTask is a stub that records no events (PROCEDURE DIVISION not ported). The cell's own kind says so (cics_crucible.py ~2753). Live run of ca-xctl-versions and pc-wizard: java:fail 10/10 with "event N expected, the side recorded no further event"; java-facade and java-ported pass 10/10. The 156 baselined java fails are this, by design.

Gates

Tests: new test_xctl_caller_commarea_5053.py (source pins of the harness + the bytes comparison), the 5053 siblings and test_cics_crucible_runner.py pass. audit_check.py clear, pr_gates --fast 6/6. Live crucible run of the two cases above compiles and runs the new harness.

Checklist: partial [c:5053] -- LINK CHANNEL bytes left

Remaining slices

LINK CHANNEL bytes: forge passChannel at LINK moves containers, but the crucible compares no container bytes; needs forge events plus a crucible comparison (det ports move). No burned program confirmed to need it yet (grep the burned corpora first).

Cross-repo

None.

Lessons for agents

  • tests/tools/cics_crucible.py embeds the Java harness (_JAVA_TEST); the XCTL target of a chain holds a copy, so what the LINK caller sees is the first program's bytes, kept by level.

🤖 Generated with Claude Code

… program's bytes (Part of #5053)

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 17:45
@squid-protocol
squid-protocol merged commit bb12ff6 into main Oct 19, 2026
58 checks passed
@squid-protocol
squid-protocol deleted the churn/5053-xctl-caller-commarea branch October 19, 2026 17:55
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