Skip to content

det: untyped COMMAREA no longer a hole (PCCONF); pc-return-immediate det ports (Part of #5053) - #5081

Merged
squid-protocol merged 4 commits into
mainfrom
churn/5053-20261014T0106Z
Oct 14, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
churn/5053-20261014T0106Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5053.

Boxes

  • PCCONF det port: 2 holes. Closed the IBM way, not refused. RETURN TRANSID('PC03') COMMAREA(WS-STATE) (lines 84, 97) is the COMMAREA of a program whose DFHCOMMAREA is PIC X(30), so the generated stub says Object request; Generated read Object as a DTO class (no generated dto/contract class Object). It is now untyped (det/cics.py _typed: contract, links, xctl, target_contract), and the record's own DTO carries it with its bytes. PCCONF 47/47, PCWIZ 39/39, 0 holes.
  • pc-return-immediate. Its java-ported cells failed 4/4 for one reason: there was no committed port ("no port of any of its programs"; no engine defect). The four programs translate with 0 holes and are committed as det ports (tests/cics_crucible/ports/pc-return-immediate, backend: det, no model; cobolrt once, in PCIMMA's overlay). Re-proved at the pin: 12/12 cells (cobol-stub, java-ported, java-facade). Baseline, coverage and the crucible report updated.
  • LINK / XCTL COMMAREA bytes: left unticked, blocked until the forge adds a byte overload of handleLink.
  • det-port page-aware bytes: crucible: answered COMMAREA bytes compared by the runtime page, not as EBCDIC (Part of #5053) #5061.

Not done: PCCONF's det port is not committed

With the holes closed the port compiles, but pc-wizard's java-ported cells fail 4/6: det RECEIVE MAP does not apply the field's DFHMDF JUSTIFY (AMT is JUSTIFY=(RIGHT,ZERO); the COBOL side right-justifies and zero-fills), and the generated ScreenField record carries no JUSTIFY to apply. The model ports stay. Nothing was loosened.

Class

A COMMAREA no generated DTO types. Same mechanism, fixed here: the contract of a program entered with Object, LINK / XCTL targets typed Object (links, xctl, target_contract), and a det program entered with another program's DTO (DetCics.layoutBytes through toCommarea, #4449; emitted only for untyped programs).

Verification

test_det_untyped_commarea_5053.py; tests/cics_crucible, test_det_translate, test_evidence, test_proof_reach (782 passed); pr_gates --fast 6/6, --ratchets 7/7. det_port.py check: 91 of 105 ports "changed", each only by DetCics.java +11 lines (a helper nothing else calls); no service moved, so no re-proof. Evidence records for the new ports say not-proven: proof_reach counts det's runProgram / in_X helpers as ported-unproven.

Cross-repo: none (no crucible pin or corpus change).

🤖 Generated with Claude Code

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 14, 2026 01:49
@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 01:49
@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.

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