Repository navigation
Closed
Labels
claim:melekcore-engineModifications to the central physics and parsing engineenhancementNew feature, sensor, or structural signaturepriority: highCore feature broken, but workarounds existscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Description
Why
docs/language_status/fact_ownership.md:82 (record layouts / offsets) left a follow-up: "revisit having the translator consume engine layouts once #4457 / #4458 are fixed and POINTER width is a parameter: the engine would then match the translator everywhere on these corpora." #4457 and #4458 closed on 2026-10-05; the follow-up was never picked up. Today both sides compute every record layout; the translator uses its own (gitgalaxy/tools/cobol_to_java/det/layout.py), the engine's go to analysis (record_data, via GalaxyIR).
Where the two sides still differ (fact cross-check ledger tests/cobol_mainframe/fact_crosscheck_ledger.json, 2026-10-19)
586 offsets disagreements, all definitional, no engine-wrong layout left:
- 380
translator-uses-mq-stand-ins(Epic: IBM MQ runtime — MQI calls (MQOPEN/GET/PUT/CLOSE…) and MQ structures #4892): the translator expands its shipped IBM MQ stand-in copybooks (CMQV, CMQODV, CMQMDV, CMQGMOV, ...); the engine doesn't see them. - 210
pointer-width: POINTER is 4 bytes on z/OS (engine, answer keys) and 8 in the GnuCOBOL storage the proofs run on (oracle_assumptions.mdC9).
Plus small definitional ones elsewhere (translator-uses-stand-in-copybookCEEIGZCT det: a stand-in for LE's CEEIGZCT (feedback codes for CEEDAYS) so CBSA CRECUST translates whole #4884, refusals by name).
Work
- POINTER width as a parameter of the engine's layout computation (default z/OS 4; the translator asks for its storage's width), so one computation serves both.
- Stand-in copybooks as a shared library: the engine resolves the same shipped stand-ins (MQ, CEEIGZCT) the translator uses, through
core/copy_libraries.py, flagged as stand-ins in the facts. - Translator consumes engine layouts (through GalaxyIR / the port ticket, like COPY resolution since det translator: take COPY resolution from the engine (ownership per #4273), replacing the first-hit directory search #4468) for offsets, lengths, OCCURS strides, REDEFINES; keep the translator's own computation behind a check mode for one release so any difference fails loudly.
- Update
fact_ownership.md: layouts owned and computed by the engine; the gate keeps checking until the translator's copy is deleted.
Acceptance
- Fact cross-check:
offsetsdisagreements for the two causes above go to 0 (ledger lowered in the same PR, per its two-way ratchet). - Re-proof: every CICS / estate / golden crucible port and equivalence case passes byte-for-byte with the translator on engine layouts.
- Builds on the shared preprocessor (Shared COBOL preprocessor in gitgalaxy/core: one layout/continuation/COPY/REPLACING/conditional expander with a line map, used by both the scanner and the COBOL→Java translator #5648) if it has landed (the expanded text both sides lay out should be the same text); can start with steps 1-2 before it.
Part of the CICS→Java path (Training Montage).
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
claim:melekcore-engineModifications to the central physics and parsing engineenhancementNew feature, sensor, or structural signaturepriority: highCore feature broken, but workarounds existscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
#5649: lower the fact cross-check ledger (724 -> 138); CardDemo data …
#5649: read stand-in copybooks through read_source (#3813 source-read…
Engine record layouts: POINTER width as a parameter, shared stand-in …
squid-protocol commentedon Oct 20, 2026
Siblings: 5694 (record-layout gaps left by PR #5693)
det translator takes the engine's record layouts, with a check mode (…
fact_ownership: record layouts are engine-owned, the translator consu…
19 remaining items
cics_case_ports: det overlays take the engine record layouts too (Par…
squid-protocol commentedon Nov 4, 2026
Churn run
5649-20261104T1449Z(host nyx) ended without a PR. no PR: waits for a release tag newer than v2.11.0squid-protocol commentedon Nov 4, 2026
Owner 2026-11-04: moved from lane:nyx to melek; it runs first, before the census mock trial #7709 (its T0 re-survey waits on this).
squid-protocol commentedon Nov 4, 2026
Claimed by promoter-bot host
melek, lease renewed 2026-11-04T22:32Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove theclaim:meleklabel.Fingerprint core/copy_libraries.py as a translator input (Part of #5649)
Engine lays out the five shipped system members (Part of #5649) (#7713)
Engine attaches stand-ins for a bare section-opening COPY (Part of #5649
Layout mode defaults to engine in dry_run and det_survey (Part of #5649…
gap_prevalence: drop the "layout differs" refusal pattern the deleted…
Delete the translator layout check mode; layouts default to engine (P…
squid-protocol commentedon Nov 4, 2026
Acceptance met: POINTER width and shared stand-ins landed (#5998, #7713, #7726), the translator consumes engine layouts everywhere (#5693...#7731), the mq-stand-in and pointer-width offsets entries are gone from the fact cross-check ledger, and #7737 deleted the check mode. Closing.