Description
Problem
The aperture's Gate 4.3 (Machine-Generated Source Sensor, gitgalaxy/core/aperture.py:~533) excludes a BMS symbolic-map copybook that is checked into the repository. Its header comment says it is generated, for example * SYMBOLIC MAP FOR MAPSET CUSTMS -- GENERATED BY BMS ASSEMBLY.
The file never reaches file_data or record_data. A COPY CUSTMS then resolves to the mapset CUSTMS.bms, or to nothing, instead of to the copybook the program actually compiles with.
Evidence
estate-crucible v0.3.0 on main (c2883d9), excluded_artifacts:
apps/CUST/copybook/CUSTMS.cpy:Blocked (Machine-Generated Source Code Signature: 34 LOC)apps/GULF/copybook/GULFMS.cpy:Blocked (... 20 LOC)
The key's resolves_to for CUSTINQ COPY CUSTMS @13 and GULFINQ COPY GULFMS @9 is the .cpy. The checks pass today only through the key's alternatives (the .bms mapset). The symbolic map's fields are not in record_data; GalaxyIR rebuilds them from the BMS source (#3490).
Why it matters
On a real estate the generated symbolic maps are often what is checked in, sometimes without the BMS source. Then every screen field a CICS program moves is unresolved.
Acceptance criteria
- A COBOL copybook that carries a generator signature is scanned when it is a COPY member (it is source the compiler reads), as
has_intent/portalready exempt other cases - CUSTINQ / GULFINQ COPY resolves to the
.cpy(the key'sresolves_to) - Regression test
Found while: #4265 (PR for the cross-language guard)
🤖 Generated with Claude Code
Activity
fix: train -- #4306, #4330, #4365 (#4389)