Skip to content

Split the CICS terminal family out of the forge's CicsTask (Part of #5274) - #7634

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5274-20261103T2315Z
Nov 4, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5274-20261103T2315Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5274 (slice 3 of 4, after #7611 counters and #7630 storage).

Moves the CICS terminal span of CICS_TASK_JAVA (RECEIVE MAP, the task's terminal input, the unformatted / NOTRUNCATE RECEIVE, CONVERSE, SEND CONTROL, the Received record) out of cobol_to_java_transaction_forge.py into gitgalaxy/tools/cobol_to_java/cics_task_terminal.py (TERMINAL_JAVA), moved verbatim by script and spliced back where it sat. CICS_TASK_JAVA sha256 is identical before and after (checked by importing the forge on main and on this branch), so no emitted Java, golden master or port changes.

Files (hand-written, 5): cics_task_terminal.py (new), cobol_to_java_transaction_forge.py (span removed, splice + import), test_cics_family_split.py (splice-position test: once, after the COMMAREA accessors, followed by FILECONTROL_JAVA, method list), test_evidence_components.py (stale-after pair), det_sweep_plan.py (GENERATOR entry).

Class / Sibling gaps

Class: the CicsTask Java text still held inline in the transaction forge's CICS_TASK_JAVA, split by command family into cics_task_*.py modules. Already split: conditions, containers, counters, faults, filecontrol, storage, taskcontrol, tdqueues, time, tsqueues, web. This PR: terminal (RECEIVE MAP, RECEIVE, CONVERSE, SEND CONTROL).

Sibling gaps (not here, different mechanism: they are interleaved with state fields in the 237-958 head literal, so a splice-in-place needs the field block split first):

  • UCTRANST / terminal-check methods (inquireUctranst, setUctranst, mapInputAfterUctranstSet, inputAfterUctranstSet; head literal ~598-690): status: still inline. Source: forge file.
  • Terminal state fields (terminalInput, terminalRead, terminalRest, endOfChain, termidStated): declared in the head literal, still inline; TERMINAL_JAVA reads them through root().
  • withTermid / termid() / TWA / TCTUA / CWA accessors (after TIME_JAVA): still inline.

Remaining slices

Slice 4 of 4 (issue #5274): the head literal's remaining families (UCTRANST + terminal state fields, termid/TWA/TCTUA/CWA accessors, association/ODFACILTYPE table), one new module each, after splitting the head literal at the family boundaries. Files: forge, new module(s), test_cics_family_split.py, test_evidence_components.py, det_sweep_plan.py.

Evidence

  • CICS_TASK_JAVA sha256 before == after (script check, /tmp/gitgalaxy-scratch/claude/t3).
  • pytest on test_cics_family_split.py, test_evidence_components.py, test_sweep_plan.py, test_change_classifier.py, test_ci_critical_path_split.py, test_source_reads.py: 256 passed.
  • pr_gates.py --fast: lint, audits, secrets, xray, gen-docs, derived, workflows, gauntlet, affected all PASS. --ratchets not run (emitted text byte-identical; goldens untouched), so not a pass.

Cross-repo

None: engine-only, no companion PRs.

🤖 Generated with Claude Code

…ND CONTROL) out of the forge's CicsTask (Part of #5274)

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

squid-shepherd Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 3, 2026 23:32
@squid-shepherd

squid-shepherd Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 3, 2026 23:34
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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