Skip to content

Pin SYNC alignment between the engine's layouts and the translator (Part of #5694) - #6117

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5694-20261023T0138Z
Oct 23, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5694-20261023T0138Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5694. Checklist: done [c:bdcb5557]

What

The engine lays out SYNC slack (#4266); the translator's own det/layout.py models none. engine_layout.adopt already takes the engine's offsets in engine mode and check mode refuses a difference by name, but nothing pinned it for SYNC. New test test_sync_slack_is_the_engines_and_check_mode_refuses_what_the_translator_does_not_model covers:

  • level-01 SYNC items (the only burned shape: genapp lgwebst5, async credit-card SEQPNT / ASYNCPNT): no slack, translator and engine agree;
  • mid-record SYNC binary and POINTER SYNC at the z/OS width (4) and the translator's (8): engine mode takes the slack offsets, groups follow;
  • check mode refuses the record naming the item (S-B engine @2+2, translator @1+2).

engine_layout.py changes only its docstring (the SYNC contract). No parser change, so no golden bless.

Facts checked

  • Burned corpora SYNC declarations: only the three level-01 items above; no burned POINTER SYNC, no mid-record SYNC. So nothing to prove on a burned program; this is a pin of behaviour.
  • The test passed on first run: no engine or adopt fix was needed. Plain pytest from an unrelated cwd: 10 passed. ruff format clean; ruff_audit.py --ci no new findings.

Sibling gaps

  • DFHAID / DFHBMSCA / DFHEIBLK / SQLCA / SQLDA system members ([c:10702107]): CardDemo COCRDUPC, COUSR01C, COTRN02C and CBSA UPDACC need them (core).
  • Translator-side SYNC modelling in det/layout.py (check mode would then agree rather than refuse): no burned program needs it (frontier).

Cross-repo

None.

🤖 Generated with Claude Code

…art of #5694)

The engine lays out SYNC slack; the translator's own layout does not. Test the
level-01 SYNC shape every burned estate uses (no slack, agrees), mid-record slack
and POINTER SYNC at both widths in engine mode, and the check-mode refusal by name.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 01:45
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 01:52
@squid-protocol
squid-protocol merged commit e50aecf into main Oct 23, 2026
86 checks passed
@squid-protocol
squid-protocol deleted the churn/5694-20261023T0138Z branch October 23, 2026 02:10
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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