Skip to content

Engine attaches stand-ins for a bare section-opening COPY; translator-defined records stated (Part of #5649) - #7726

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5649-20261104T1905Z
Nov 4, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5649-20261104T1905Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5649.

What

galaxy_ir._attach_stand_ins now also takes members from EngineFile.copy_statements (the copy_statement_data rows, #5618), so a bare COPY DFHAID. that opens its section with no data entry above it gets its flagged stand-in# file. The translator then takes the engine's layout for it. A program whose only COPYs are bare is no longer skipped. fact_ownership.md states which records stay translator-defined and why, with the measured counts.

Class / Sibling gaps

Class: records the translator lays out alone (EngineLayouts.own) or synthesises. Closed here: a bare section-opening COPY of any shipped member (the five system members, CEEIGZCT, CMQ*). Decided, not changed: GG-RETURN-CODE, GG-SORT-RETURN, INDEXED BY index items, EIB and DIB are translator-defined (no source line the engine reads, appended after apply). Generated BMS symbolic maps are translator-defined (written outside the scanned tree).
Sibling gaps: none left in the engine-side attach path. The det_survey counts below are the remaining translator-laid records, all BMS-map users (CBSA 9 programs, GenApp 5, DBB 2); no burned program needs them engine-side.

Remaining slices

  1. After a release tag newer than v2.11.0: delete the translator's own layout and check mode (det/layout.py, det/engine_layout.py, det/program.py).

Facts checked

  • det_survey --layouts check --no-compile on CardDemo, CBSA, GenApp, zECS, DBB, cicsdev async: translator-laid records CardDemo 0, CBSA 18, GenApp 60, zECS 49 (assembler), DBB 4, async 0; no layout refusal.
  • The new tests fail on the base (21 failures) and pass with the change; burned pins and test_det_engine_layout.py pass (49 passed).
  • pr_gates --fast 9/9; pr_gates --ratchets 9/9 (fact-crosscheck, ground-truth, estate, ports ...). Golden not re-blessed: record_data is untouched.

Lessons for agents

  • A bare section-opening COPY is in copy_statements, not in any item's copy_members; a file with only bare COPYs has no data_items.

Checklist: partial -- translator-side layout deletion waits on the next release tag

🤖 Generated with Claude Code

)

The engine reads a bare COPY from copy_statement_data; _attach_stand_ins
now takes those members too, so the translator consumes the engine layout.
Records the translator still lays out alone are measured and stated.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 4, 2026 19:26
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 19:26
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant