You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mainframe call graph: no edges for COBOL CALL, CICS LINK/XCTL or JCL EXEC PGM=, and unresolved CALL targets are recorded nowhere #3200
core-engineModifications to the central physics and parsing engineenhancementNew feature, sensor, or structural signaturelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forging
Found by the #3120 differential. The engine graph has no program-to-program edges for the mainframe family, so the refraction pipeline cannot take its call graph from the DB.
COBOL CALL is only counted (ipc_rpc_bridges → arch_ipc), never captured as a target. This covers both static CALL 'PROG' and the common idiom of calling through a working-storage literal: zopeneditor SAM1.cbl:304 CALL SAM2 USING … with 05 SAM2 PIC X(8) VALUE 'SAM2'. at :122, where SAM2.cbl is in the repo.
CICS LINK PROGRAM(…) / XCTL PROGRAM(…): the same, count only.
JCL EXEC PGM=X is not captured. _dependency_capture takes INCLUDE MEMBER=, JCLLIB ORDER= and DSN= only, so a job never links to the program it runs.
Unresolved targets (a CALL to a program not in the repo, or a CALL through a non-literal variable) are recorded nowhere. The old pipeline's unresolved_calls has no DB equivalent.
edge_data.edge_kind was built for this ("the column exists so another relation (calls, …) can share the table later", record_keeper.py). A call / exec edge kind would give #3122's Phase-2 JCL→Spring Batch and CICS LINK→service-boundary rows their graph.
Design questions for the implementer:
whether call edges feed PageRank/blast radius or stay a separate kind;
how far to resolve a CALL through a WS literal (same-program VALUE clause only?);
core-engineModifications to the central physics and parsing engineenhancementNew feature, sensor, or structural signaturelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forging
Activity
feat(mainframe): named call graph and dataset boundary (#3200, #3201) (…
fix(#3199): resolve an ambiguous COPY target instead of dropping the …
refactor(mainframe): shared per-file fact-channel helpers + onboardin…
feat(llm): optional Named System Facts section in the LLM brief (#3200/…
feat(mainframe): extract COBOL DATA DIVISION items & FD record layouts (
Engine: COMMAREA contract fact -- LINK/XCTL/RETURN COMMAREA to callee…
Engine: COMMAREA contract fact -- LINK/XCTL/RETURN COMMAREA to callee…
Docs: mainframe call/exec edges are in the graph since #3237
Graph: resolved mainframe call/exec edges join the dependency graph (#…