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
COBOL engine: entries continuing a COPYed record are still double-counted under the preceding 01 (CardDemo COTRN02C, after #4279) #4458
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginedata-integrityIssues relating to RAM state or SQLite database fidelitylegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: mediumscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Entries that continue a COPYed record are still double-counted when the COPY follows a separate 01 in the program: they land in the copied record (right, via _copy_extension) and under the preceding program 01 (wrong). #4279 fixed the case where the COPY closes a nested group; this one survives.
GalaxyIR.record_layout(COTRN02C, CSUTLDTC-PARM) = 158 bytes, with CDEMO-CT02-TRNID-FIRST @100 ... CDEMO-CT02-TRN-SELECTED @142. The same six fields also appear, correctly, in CARDDEMO-COMMAREA (COCOM01Y + extension) at 160..202. CSUTLDTC-PARM is 100 bytes (the det translator, which compiled and proved this program against GnuCOBOL, has 100). The experiment of 2026-10-03 (#4273, bug 3) found exactly this record.
Impact on a real estate
A wrong record size and phantom fields for CSUTLDTC-PARM: the parameter block COTRN02C passes to CSUTLDTC. Any CALL-interface or layout consumer gets 158 bytes.
Acceptance criteria
Entries after a section-level COPY that continue the copied record are not children of the 01 before the COPY (CSUTLDTC-PARM = 100 bytes).
The cross-check ledger cause engine-copy-continuation-double-count loses its 7 entries.
Found during: #4273 engine-vs-translator fact cross-check (PR #4456)
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginedata-integrityIssues relating to RAM state or SQLite database fidelitylegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: mediumscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
fix: train -- #4457, #4458 (#4471)
[experiment A] fix(crosscheck): read replaced records of section COPY…