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: CALL to a sibling program in the same member (PAYMAIN → PAYCALC / literal-ID PAYRPT) resolves to nothing #4447
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
Found by the estate-crucible gate's re-score of main (83756783c) against v0.4.0, for the CI gate in PR #4446. Horrors are 60/60, but 2 call-site facts fail:
apps/PAYR/cobol/PAYMAIN.cbl L42 CALL 'PAYCALC': the key expects it to resolve to the sibling program in the same member; the engine resolves it to nothing.
PAYMAIN.cbl holds several programs. PAYRPT is declared with a literal PROGRAM-ID (PROGRAM-ID. 'PAYRPT'.), which is horror H-0029 (#4242 / D041). Since #4242 the engine records PAYRPT as a program, so H-0029 reads PASS. But the CALLs that depends_on H-0029 still don't resolve: a CALL to a program declared later in the same source member finds no target. Check whether this is specific to literal PROGRAM-IDs (PAYRPT) or applies to every sibling program (PAYCALC as well).
Do
Reproduce with a minimal multi-program member: one plain and one literal PROGRAM-ID sibling, each CALLed by the first program.
Fix the narrowest layer (invocation resolution across the programs of one member). Add regression tests, and confirm both call-site facts pass in the estate scorecard.
Side note for the scorer: a horror reads PASS even while facts that depends_on it fail. Consider showing a horror's dependent facts in its verdict, so a cascade like this is visible.
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
Activity
test: estate crucible baseline records PAYMAIN sibling calls passing (#…
test(completeness): DBB program calls 7 -> 18 of 19 after #4447
fix: a CALL to a sibling program in the same source member resolves t…