Skip to content

det cics: a LOAD PROGRAM site is a call-site edge; CALDTG (LOADed, never run) det-ports whole (Part of #6876) - #7424

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/6876-20261101T1012Z
Nov 1, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/6876-20261101T1012Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6876

Checklist: partial -- CALDTG (the LOADed, never-run program) now det-ports whole; the stale CALDTG paragraph in docs/language_status/register/X65.md is left as a remaining slice (5-file cap).

File-cap exception: the sixth path is CaldtgService.java, the det-port output for CALDTG (generated by det_port.py run, never hand-edited); the hand-written files are five.

What changed

LOAD / RELEASE were already modelled (stub #7224, det translator #7248, CALDST / CALDSX ports #7254). The one open piece was CALDTG, a bare EXEC CICS RETURN that CALDST and CALDSX LOAD and never run. The forge gave it a plain service, because the engine recorded no LOAD edge and so is_cics_program saw no CICS evidence: det translation 0/1.

  • mainframe_boundary._CICS_TRANSFER reads LOAD as well as LINK / XCTL, for COBOL hosts only (loads=True). The LOAD's LENGTH is the image's, so no COMMAREA contract is read from it.
  • galaxy_ir.navigation() emits the LOAD edge into the skeleton navigation section.
  • transaction_forge.loaded_by(): a program with an incoming LOAD edge counts as CICS. It stays out of incoming_links, so CALDTG gets no LINK handler.
  • CALDTG port committed (Statements: 1, translated 1, holes 0) and registered in tests/tools/cics_crucible_det.py.
  • Tests: the LOAD literal, data-name and multi-line forms; RELEASE is not an edge; LINK unchanged; PL/I and HLASM read no LOAD; loaded_by / is_cics_program. The Java E2E (load and PGMIDERR scenarios) passes under EQUIVALENCE_E2E=1.

What changed vs the plan

  • galaxy_ir.py was a sixth hand-written file: the edge has to reach navigation() or the forge never sees it.
  • First version recorded LOAD for PL/I and HLASM too (they share _cobol_calls(cics_only=True)), which moved 122 DSF call sites and failed the completeness and ground-truth ratchets. LOAD is now opt-in and only the COBOL host asks for it, so those answers are unchanged.

Gates

pr_gates --fast 9/9, --ratchets 9/9 with no update, crucible_check PASS on both legs (no golden change), audit_check all clear.

Class / Sibling gaps

Class: a CICS program reached only by EXEC CICS LOAD has no inbound edge, so the forge treats it as a plain program and the det port refuses it. The fix covers the COBOL LOAD edge. Siblings: (1) PL/I and HLASM LOAD edges are not recorded; no burned estate issues one, and DSF (non-burned) would move 122 sites needing ledger triage, so they are left. (2) LOAD with HOLD, ENTRY or FLENGTH stays refused (X65). (3) RELEASE is deliberately not an edge. Remaining slice: rewrite the CALDTG text in docs/language_status/register/X65.md (lines ~44-48, now stale).

🤖 Generated with Claude Code

squid-protocol and others added 2 commits November 1, 2026 05:17
…ver run) is a CICS program and det-ports whole (Part of #6876)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…nd HLASM answers stay unchanged (Part of #6876)

PL/I and HLASM share _cobol_calls(cics_only=True); their answer keys list no
LOAD site, so DSF (PL/I) moved 122 call sites. LOAD is now opt-in (loads=True)
and only the COBOL host asks for it.

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 Nov 1, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 1, 2026 10:39
@squid-shepherd

squid-shepherd Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 1, 2026 10:39
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit 76d3444 into main Nov 1, 2026
111 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6876-20261101T1012Z branch November 1, 2026 11:22
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