Skip to content

det facade: an XCTL with no COMMAREA reads a wide answer through the DTO (Part of #5291) - #5349

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5291-xctl-wide-answer
Oct 17, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5291-xctl-wide-answer

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5291 (siblings of #4695).

What

det/cics.py: an XCTL with no COMMAREA sets passes_bytes, so the program's facade carries the #4695 wideAnswer path. The target of such an XCTL (CardDemo COMEN01C, COADM01C: XCTL PROGRAM(CDEMO-TO-PROGRAM)) may RETURN a wide COMMAREA as bytes; the facade used to answer the raw byte[]/refuse. Bytes no layout reads are answered as before.

Class table

Member Status
XCTL with no COMMAREA to a wide-RETURN target this PR (the only 2 burned programs with the shape; ports moved: carddemo-menu, carddemo-adminmenu, both PROVED)
Forge-generated facades (byte[] answer) not needed: forge CicsTask.returnTransid keeps the DTO in returnedArea (bytes beside it); the burned model-written CardDemo ports pass DTOs, so returned(...) answers the DTO. A byte[] area comes only from det's commareaOut
Typed facades whose DTO has no layout (CBSA BNK1CCS/BNK1TFN/BNK1UAC) #5076

Evidence

  • det_port.py check: 118/120 unchanged; changed = carddemo-adminmenu, carddemo-menu; det_port.py run of both: PROVED.
  • New tests (generator layer, both facade shapes; XCTL with COMMAREA, LINK and no transfer are unchanged); they fail without the fix.
  • pr_gates --fast 6/6, --ratchets 8/8. No golden bless (no parser change).

Cross-repo: none.

🤖 Generated with Claude Code

…DTO (Part of #5291)

An XCTL with no COMMAREA (CardDemo COMEN01C, COADM01C) may transfer to a program whose RETURN passes a wide COMMAREA as
bytes (#4695). Its facade kept the raw answer; it now reads those bytes through its own DTO (wideAnswer), falling back to
the previous answer when no layout reads them. Only the two ports move; both re-proved.

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 17, 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 17, 2026 15:40
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 15:40
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 55d84b7 into main Oct 17, 2026
73 checks passed
@squid-protocol
squid-protocol deleted the churn/5291-xctl-wide-answer branch October 17, 2026 16:03
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