Skip to content

Aperture excludes checked-in BMS symbolic-map copybooks as machine-generated #4365

Closed

Description

@squid-protocol

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/port already exempt other cases
  • CUSTINQ / GULFINQ COPY resolves to the .cpy (the key's resolves_to)
  • Regression test

Found while: #4265 (PR for the cross-language guard)

🤖 Generated with Claude Code

Activity

  1. added a commit that references this issue on Oct 5, 2026
  2. added
    scope:core
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions