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 and answer key read only the first program's DATA DIVISION in a multi-program source #4245
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginedata-integrityIssues relating to RAM state or SQLite database fidelityera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)priority: mediumscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
On DBB MortgageApplication zBuilder/MortgageApplication/cobol/epscsmrd.cbl @ ce2c1be58eb049e000c6627bd8273263fef0c606 (4,052 lines, 13 PROGRAM-IDs), the engine's record_data has 65 rows, the last at line 138, and tests/tools/cobol_answer_key.py_data_items(Source(path)) returns the same 65 items, last line 138. The first program ends well before line 334, where EPSCSMRF begins; the other 12 programs' DATA DIVISIONs are never read. _data_items takes the first DATA DIVISION match to the first PROCEDURE DIVISION.
Evidence
Reproduced on origin/main by scanning the file and calling _data_items. Both readers share the one-program assumption.
Acceptance criteria
Each program's DATA DIVISION is read (engine record_data and key _data_items), with the owning program recorded or derivable
Records of sibling programs with the same names do not collide
Fixture with two programs, each with a WORKING-STORAGE item
The horror also records 4 more missing WORKING-STORAGE items (01 WS-I, 01 WS-GROSS, ...).
Found by estate-crucible v0.2.0 (#4317); planted in squid-protocol/estate-crucible, scored by tests/tools/estate_crucible.py on main (#4337 has the full scorecard). The horror flips to pass when this is fixed.
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginedata-integrityIssues relating to RAM state or SQLite database fidelityera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)priority: mediumscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
Fix #4242: record a quoted PROGRAM-ID (`PROGRAM-ID. 'EPSCSMRD'.`)
Fix #4242: record a quoted PROGRAM-ID (`PROGRAM-ID. 'EPSCSMRD'.`) (#4285
squid-protocol commentedon Oct 4, 2026
Confirmed on a planted multi-program member (estate-crucible horror H-0031, a nested program plus a sibling in one source):
PAYCALC's and the sibling'PAYRPT''s WORKING-STORAGE entries are not in record_data: only the first program's DATA DIVISION window is read.CALL 'PAYCALC'/CALL 'PAYRPT'into the same member resolve to nothing, andcall_site_data.dst_file_idis NULL.The horror also records 4 more missing WORKING-STORAGE items (
01 WS-I,01 WS-GROSS, ...).Found by estate-crucible v0.2.0 (#4317); planted in squid-protocol/estate-crucible, scored by
tests/tools/estate_crucible.pyon main (#4337 has the full scorecard). The horror flips to pass when this is fixed.COBOL record_data: read every program's DATA DIVISION in a multi-prog…
det ports: re-prove carddemo-menu + 3 mortgage ports; det sweep in CI (…
Det sweep speed-up: shards, affected-cases-only, COBOL cache (#4463 f…