Skip to content

fix: train -- #4457, #4458 - #4471

Merged
squid-protocol merged 9 commits into
mainfrom
train/train-4457-4458
Oct 5, 2026
Merged

squid-protocol merged 9 commits into
mainfrom
train/train-4457-4458

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

#4457 -- section-level COPY ... REPLACING

Broken: COPY INQACC REPLACING INQACC-COMMAREA BY DFHCOMMAREA. (CBSA), COPY SORTCODE REPLACING ==SORTCODE== BY ==LITERAL-SORTCODE==., and COPY CUSTCOPY REPLACING ==:TAG:== BY ==CUST== (zopeneditor SAM1/SAM2) were not applied: records kept the copybook's names, or (templates) did not exist.
Fix: the extractor records the REPLACING COPYs no entry carries (new copy_statement_data table, section_copies in extract_boundary); GalaxyIR materializes the replaced records into EngineFile.records (entries in copied_items, data_items unchanged), also for COPYs moved by #4330, and hides the unreplaced copybook records from that program.
After: DFHCOMMAREA / LITERAL-SORTCODE / CUST-REC (387) / CUST-CONTACT-REC (69) exist with offsets. 9 regression tests.

#4458 -- continuation double-count

Broken: COTRN02C CSUTLDTC-PARM 158 bytes (should be 100); the leaf-closing check in _expanded_children read only copy_members, but #4330 had moved the COCOM01Y COPY to section_copies.
Fix: the check also reads section_copies. 3 tests (synthetic shape 95 -> 63 bytes, nearest negative included).

Evidence

Closes #4457
Closes #4458

🤖 Generated with Claude Code

https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz

squid-protocol and others added 7 commits October 5, 2026 10:44
…the 01 before the COPY (#4458)

A COPY after the last entry of a nested group whose member opens its own 01 was moved to
section_copies (#4330), which the leaf-closing check in _expanded_children did not read, so the
continuation was counted under the preceding 01 as well as the copied record.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
…01 records (#4457)

The extractor now records the COPY ... REPLACING statements no entry carries (copy_statement_data);
GalaxyIR materializes the replaced records of those, and of the ones an entry carried that open their
own 01 (#4330), as program records (EngineFile.records, with copied_items), and hides the unreplaced
copybook records from that program.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

…InqaccDfhcommarea); record re-proven

#4457 materializes INQACC's section-level COPY ... REPLACING, so the record is
DFHCOMMAREA and the generated DTO is InqaccDfhcommarea. Pure rename in the
model-written port (5 occurrences, no logic change), approved by the owner as
the precedent cb9408f did for lgapvs01: the sanctioned regeneration path is
blocked by #4476 (porting_loop --reuse). Re-proven with evidence.py prove:
runTask passes; java-facade 13/14 is the failure baselined in #4455 for #4465
(ABNDPROC is a det stub). All 45 committed ports compile.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant