Skip to content

Layout mode defaults to engine in dry_run and det_survey (Part of #5649) - #7731

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5649. Slice A of retiring the translator's own layout check mode (v2.12.0, which contains #5656, is tagged).

dry_run and det_survey now take the engine's record layouts in "engine" mode by default instead of "check" (engine layouts plus the translator's own computation compared beside them). Check mode itself stays for now; slice B deletes it.

Class / Sibling gaps

Class: callers that default to the translator's "check" layout mode, which keeps the translator's own layout computation running beside the engine's. Handled here: dryrun.dry_run (default and fallback), det_survey.survey_program and its --layouts flag (default engine, check still accepted). Sibling gaps, all slice B because they sit on EngineLayouts' own default, which det_port, equivalence_java, cics_case_ports, cics_crucible_det and port_runner use: engine_layout.py (MODES, differences, the mode="check" defaults), tests/tools/equivalence_common.engine_layouts default. None needs a burned-estate program beyond what is already proven.

Facts checked

  • det/layout.py cannot be deleted: it is the record parser and Item model imported by about 15 modules, and layout() is still the fallback for translator-defined records (BMS maps, GG-* registers, EIB/DIB; fact_ownership.md:82, decision). Only check mode is deletable.
  • det_survey --corpus cics-genapp --no-compile: survey.json with --layouts check and --layouts engine are byte-identical.
  • test_det_survey, test_assess_translate, test_det_engine_layout, test_det_system_member_layout: 58 passed. audit_check.py: all clear.
  • ruff format --check flags two pre-existing spots in det_survey.py / test_det_survey.py (same on origin/main); not touched.

Remaining slices

B (5 files): det/engine_layout.py (delete check mode, differences, make engine the default), tests/tools/equivalence_common.py default, test_det_engine_layout.py and test_det_system_member_layout.py (drop check-mode tests), docs/language_status/fact_ownership.md line 82. det/program.py docstring (lines 439-440) is a sixth file: fold into B if a file is freed, else a doc-only tail.

Checklist: partial -- check mode still exists in engine_layout.py

🤖 Generated with Claude Code

@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 20:08
@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

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 20:11
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

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