Skip to content

Split the CICS task / interval control family out of the det translator (Part of #5274) - #5738

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5274-20261020T1134Z
Oct 20, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5274-20261020T1134Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5274. Third command family (after containers/channels and file control): the det translator half of task / interval control. START, RETRIEVE, RUN TRANSID, FETCH, FREE CHILD, DELAY, POST, WAIT EVENT, CONVERSE, CANCEL and SEND CONTROL move from det/cics.py (2624 -> ~2350 lines) into det/cics_taskcontrol.py (TaskControlCommands, a base class of Cics), the shape of cics_filecontrol.py. Method bodies are unchanged; Cics.command / command_key stay the registry. The module imports the spec through det/cics (not gitgalaxy.standards.cics), so IMPORTERS is unchanged.

Tests: test_cics_family_split.py (the methods live in the mixin, not Cics; every spec command whose translator is one of them still resolves), test_det_translate.py (the options-honoured scan reads the new module), test_evidence_components.py (the module stales what its host does).

Evidence

  • det_port.py check: 143/143 ports unchanged.
  • 1589 CICS/det/evidence/crucible tests pass (tests/cobol_mainframe CICS subset, tests/cics_crucible, tests/core_engine/test_cics_spec.py).
  • audit_check.py: all clear. No golden, ledger or evidence change.

Remaining slices

Same family, other layers, one PR each: forge CicsTask Java (cics_task_taskcontrol.py), ggcics.c (ggcics_taskcontrol.c), equivalence_cics.py (equivalence_cics_taskcontrol.py). Then TS/TD queues, program control, web/document, storage/ASSIGN across all four layers.

Cross-repo

None.

Lessons for agents

  • A lazy from gitgalaxy.standards.cics... inside a family module counts as a spec importer (test_only_the_listed_consumers_import_the_spec): take SPEC/NEEDS_ARGUMENT from det.cics.
  • A pytest over all of tests/cobol_mainframe exceeds 10 min: run the CICS subset.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 20, 2026 07:40
…or (Part of #5274)

START, RETRIEVE, RUN TRANSID, FETCH, FREE CHILD, DELAY, POST, WAIT EVENT, CONVERSE, CANCEL and SEND CONTROL move
from det/cics.py into det/cics_taskcontrol.py (TaskControlCommands, a base class of Cics), as file control did.
Behaviour-preserving: the method bodies are unchanged.

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 20, 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 20, 2026 12:22
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 12:47
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 727605e into main Oct 20, 2026
90 checks passed
@squid-protocol
squid-protocol deleted the churn/5274-20261020T1134Z branch October 20, 2026 14:17
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.

2 participants