Skip to content

Epic: CICS Platform Modernization — consume engine signals in the refraction pipeline #3122

Closed
6 of 6 issues completed

Description

@squid-protocol

Overview

Closed epic #2516 gave the engine the full IBM mainframe language family — cobol, jcl, bms (#2505), pli (#2502), db2_sql (#2511), hlasm (#2503), rexx (#2504) — each with CICS command-level parity (#2990) and a validated control corpus.

The modernization suite that ships alongside it is still COBOL-only, and parses COBOL itself. A sweep of galaxy_master|galaxyscope|_galaxy_audit|LANGUAGE_DEFINITIONS|signal_processor across gitgalaxy/tools/cobol_to_java/, gitgalaxy/tools/cobol_to_cobol/ and both controllers returns only # galaxyscope:ignore pragma comments — no imports, no artifact reads. The two halves of the product share nothing.

This epic connects them: the product should consume what the engine extracts, and the per-layer transformations the language family now makes possible should exist.

The strategic case: every competing offering migrates COBOL program-by-program. But a real estate is COBOL plus the JCL that runs it, the BMS screens that front it, the DB2 that stores it, the PL/I siblings, and the REXX glue. A whole-platform mapping is the differentiated product — and the extraction for it already exists and is already validated. Scanning IBM's zopeneditor-sample yields 107 extracted units across five mainframe languages in one DB (cobol 70, jcl 25, pli 7, rexx 4, hlasm 1); the refraction pipeline can act on the cobol 70 only, and only by re-parsing them itself.

Phase 1 — Foundation (filed)

Phase 2 depends on #3120 landing first — every item below assumes the pipeline reads engine output rather than its own parser.

Phase 2 — Per-layer transformations (planned; NOT yet filed)

File each as work is scheduled. Each row maps an engine signal that already exists to its migration target.

engine signal migration target readiness
bms class_start → DFHMDI map + field names web form / Spring MVC view Highest-value first candidate — the UI layer, the most business-visible part of a migration, and nothing consumes it today. Caveat: zopeneditor-sample contains no .bms files, so this path rests on the #2505 profile plus its keyword-rosetta control shell, not yet on real-corpus evidence — a real BMS corpus is a prerequisite
ui_framework → CICS SEND MAP / RECEIVE HTTP request/response cycle signal exists
ipc_rpc_bridges → CICS LINK / XCTL / channels & containers service-to-service call boundaries signal exists
jcl DD/PGM extraction + edge_data Spring Batch step definitions / an Airflow DAG signal exists
pli func_start (+ its #2990 CICS/SQL/DLI parity) Java services PL/I programs in a CICS estate get zero migration support today
db2_sql statements JPA repositories, dialect-aware signal exists
io + PIC/COMP-3 layouts decoded entities Already built — the decoder forge (Cp1047 EBCDIC, packed-decimal → BigDecimal with scale, hex-boundary validation) and the PIC/OCCURS/REDEFINES → JPA mapping are the suite's strongest existing components. Phase 2 extends their reach, it does not rebuild them
rexx labels utility scripts / Java helpers signal exists
hlasm — Explicit non-goal, see scope notes

Scope notes

  1. hlasm is not a migration target. Assembler is a wrap-or-retire boundary. This is a deliberate scope limit, stated so it does not read as an omission.
  2. Scale is unproven. The suite's tools are 60-283 lines each, validated against sample banking applications — not a multi-million-line estate. A real-estate scale trial is its own prerequisite and should not be assumed by any phase-2 item.
  3. Not every legacy-adjacent improvement belongs here. Engine-side rule hardening stays under the language profiles' own issues (see Detection hardening: EQU-only .asm copybooks misclassify as assembly (hlasm discriminator gap) #3110 for the current example), and report-presentation work stays in the Remove the Cumulative Risk composite (unitless sum of 13 mixed-unit vectors) #3112-Documentation Surface: reframe as coverage context, not a risk driver #3114 family.

Related groundwork

#2516 (closed parent — the language additions), #2502 / #2503 / #2504 / #2505 / #2511 (the five language children), #2990 (CICS vocabulary parity across cobol/pli/hlasm), and #3117 (the detection-accuracy analogue of #3121's verification gap).

Sub-issues

Sub-issues

6 of 6 Issues completed
Loading 6 sub-issues

Activity

  1. added
    epic
    core-engine
    legacy-modernization
    priority: high
    on Sep 17, 2026
  2. added 2 commits that reference this issue on Sep 19, 2026
  3. squid-protocol commented on Sep 20, 2026

    @squid-protocol
    OwnerAuthor

    The refraction differential now has cause codes + a per-corpus unexplained gate (#3211, PR #3243), so "every delta explained" is a standing command. Two things it surfaced that belong on this epic's radar:

    Everything else the differential flags maps to already-closed issues (#3197-#3201) or by-design semantics (usage_status != reachability; DB stated-absences), so no new tickets there — the differential + its committed baseline is the living ledger.

  4. squid-protocol commented on Sep 26, 2026

    @squid-protocol
    OwnerAuthor

    Closing: the pipeline now consumes what the engine extracts.

    Never filed: the REXX helpers row of the Phase 2 table. HLASM remains an explicit non-goal. File either as a new issue if it's wanted.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    core-engineepiclegacy-modernizationpriority: high

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions