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
det translator: accepted-but-ignored CICS options and swallowed parse errors must REFUSE, not translate silently #4411
bugUnintended behavior or logic failure in the engineera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: highCore feature broken, but workarounds existscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
The det translator accepts some constructs without honouring them. The port compiles, but its behaviour differs from the COBOL with no warning. For a one-shot translation claim that is worse than a refusal: a refusal is a visible hole, a silent divergence is a wrong port.
Found by the coverage census and the #4378 front-end bake-off:
READ GTEQ / READ GENERIC; STARTBR / READNEXTGENERIC, KEYLENGTH, REQID: accepted, options ignored. READ/WRITE KEYLENGTH (18 programs) is harmless only when it equals the full key.
LINK SYNCONRETURN (10 programs, one repo): accepted, ignored.
ASSIGN: only APPLID, SYSID, ABCODE, PROGRAM and INVOKINGPROG are implemented, and other options are not refused.
det/stmt.py silently ignores tree-sitter ERROR nodes nested inside a statement. Examples: ENTRY … USING in DBUNLDGS, PAUDBLOD and PAUDBUNL, and CRECUST.
Acceptance criteria
Each option above is either implemented and proven, or makes the translator refuse the program by name (like other unsupported constructs), with a test per option.
Any ERROR node inside a statement the translator emits causes a refusal (or a typed error), never silent omission.
Existing proven ports are unaffected (re-prove; evidence records stay "proven" or show why not).
An audit test that fails if a CICS option the parser recognises is neither handled nor refused.
Source: the CICS/SQL coverage census of 2026-10-05: 131 COBOL CICS programs and 56 COBOL SQL programs from the pinned corpora, the language-crucible and 9 added public repos (commands counted automatically). "Non-burned" means repos without det ports.
bugUnintended behavior or logic failure in the engineera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: highCore feature broken, but workarounds existscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
fix(det): NOHANDLE where no condition is raised; named counters keep …
fix(det): annotate the unparsed WHEN body (mypy no-redef) (#4411)
Merge origin/main into fix/4411-det-refusals (keep both #4411 and #4430…
fix(det): refuse accepted-but-ignored CICS options and swallowed pars…
fix(det): re-wrap joined continuation lines to fixed form for the par…
det: model EXEC CICS READ ... INTO LENGTH (#4436) (#4453)