Skip to content

crucible: answered COMMAREA bytes compared by the runtime page, not as EBCDIC (Part of #5053) - #5061

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5053-20261013T2122Z
Oct 13, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5053-20261013T2122Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5053.

Fix: the java-facade run's lastAnswerBytes() bytes are in the runtime's record page (a det port writes CobolRecords.charset()); the expected logs are CCSID 037 (PC-STEP X'31' vs X'F1'). _with_answered_bytes now converts them with cc.to_ebcdic(RawArea(data, page), layout) (DISPLAY through the page, COMP/COMP-3 kept), and run_java declares the page via -Dgitgalaxy.data.charset (RUNTIME_PAGE, latin-1) instead of inheriting the forge default. No DTO or text fallback.

Class: byte comparison that never names its page. Covered: FieldArea COMMAREA answered bytes.

Tests: page conversion (ASCII digits, blanks, mixed, cp037 identity, empty, COMP-3/COMP layout, wrong byte, wrong-page mutant), run_java declares the page; cics_crucible + facade tests 264 pass. pr_gates --fast 5/5, --ratchets 7/7.

Not run: the PCWIZ det port end to end through the crucible (no equivalence case builds a det port for a crucible program).

Sibling gaps: LINK/XCTL and caller_commarea bytes (no handleLink byte overload); PCCONF det holes; pc-return-immediate; RawArea (String/byte[]) COMMAREAs and RETURN IMMEDIATE bytes not answered-bytes-proven.

Cross-repo: none.

🤖 Generated with Claude Code

… before the comparison (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 13, 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 13, 2026 21:35
@squid-protocol
squid-protocol enabled auto-merge (squash) October 13, 2026 21:35
@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 merged commit 31c16ff into main Oct 13, 2026
32 checks passed
@squid-protocol
squid-protocol deleted the churn/5053-20261013T2122Z branch October 13, 2026 22:17
squid-protocol added a commit that referenced this pull request Oct 22, 2026
…Part of #5053) (#6086)

PCWIZ's det port passes every java-facade scenario (e2e re-run) and its mutant fails them; the page conversion landed in #5061/#4965. This adds the unit guard: ASCII-page X'31' equals the log's X'F1' only through the page, wrong text/binary bytes still differ, an EBCDIC page is the identity.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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