Skip to content

Split the CICS UCTRANST family out of the forge's CicsTask head literal (Part of #5274) - #7638

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

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5274-20261104T0005Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5274 (slice 4 of 4, after #7611 counters, #7630 storage, #7634 terminal). Slice 4 is split by the 5-file cap: this PR is its first self-contained part (UCTRANST).

Moves the UCTRANST span out of the 237-958 head literal of CICS_TASK_JAVA (withUctranst, the CVDA table, terminalCheck, inquireUctranst, setUctranst, and the two RECEIVE guards mapInputAfterUctranstSet / inputAfterUctranstSet, with their state fields uctranst / uctranstSet) into gitgalaxy/tools/cobol_to_java/cics_task_uctranst.py (UCTRANST_JAVA), moved verbatim by script. The head literal is split at the family boundary and the module spliced back where the span sat. CICS_TASK_JAVA sha256 is identical before and after (1c80378f...86f6), so no emitted Java, golden master, port or evidence changes.

Files (hand-written, 5): cics_task_uctranst.py (new), cobol_to_java_transaction_forge.py (span removed, splice + import), test_cics_family_split.py (splice-position test: once, after withScreen, followed by the BIF DEEDIT condition; 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, terminal, time, tsqueues, web. This PR: uctranst.

Sibling gaps (not here: the 5-file cap, each needs the same module + three bookkeeping edits):

  • termid / TWA / TCTUA / CWA accessors (withTermid, withTermidIfStated, termid, withTwaSize, withTctua, withCwa, twaHandle, tctuaHandle, cwaHandle; the literal after TIME_JAVA): status: still inline. Their fields (termid, termidStated, twa, tctua, cwa) are read by terminalCheck and TERMINAL_JAVA through root().
  • Association / ODFACILTYPE table (origin, FACILTYPE_CVDAS, Origin, withOrigin, inquireAssociation; head literal): status: still inline.
  • Terminal state fields (terminalInput, terminalRead, terminalRest, endOfChain) and uctranst / uctranstSet stay declared in the head field block: Java fields can be declared anywhere in the class, but moving them is a separate, riskier span (the block is interleaved with unrelated fields). UCTRANST_JAVA carries its own two fields.

Remaining slices

Slice 4b: termid/TWA/TCTUA/CWA accessors, one module, splice after TIME_JAVA. Slice 4c: association / ODFACILTYPE, one module. Each: forge, new module, test_cics_family_split.py, test_evidence_components.py, det_sweep_plan.py.

Evidence

  • CICS_TASK_JAVA sha256 before == after (importing the forge on main and on this branch).
  • pytest: 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, test_cics_spec.py, test_generated_branch.py: 344 passed.
  • ruff format --check on the 5 changed files: clean. pr_gates.py --fast: 9/9 gates 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

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 4, 2026 00:16
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 00:16
@github-actions

github-actions Bot commented Nov 4, 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