Skip to content

[Domain] infer imported layout and validation#71

Merged
learncold merged 1 commit into
mainfrom
codex/issue-55-layout-inference-validation
Apr 4, 2026
Merged

[Domain] infer imported layout and validation#71
learncold merged 1 commit into
mainfrom
codex/issue-55-layout-inference-validation

Conversation

@learncold
Copy link
Copy Markdown
Owner

Summary

  • build FacilityLayout2D from imported CanonicalGeometry in the domain layer
  • add import validation for missing exits, disconnected walkable areas, and narrow connections
  • preserve imported obstacles as layout barriers and infer adjacency connections while respecting wall seams
  • extend DXF and builder tests to cover happy path, disconnected layouts, adjacency inference, and wall-blocked seams

Related Issue

Area

  • Engine
  • Domain
  • Application
  • Docs
  • Build
  • Analysis
  • Chore

Architecture Check

  • I kept the dependency direction application -> domain -> engine.
  • I did not add Qt UI code to src/domain.
  • I did not add domain or application dependencies to src/engine.
  • I used src/ as the include root.

Verification

  • cmake --preset windows-debug
  • cmake --build --preset build-debug
  • ctest --preset test-debug
  • Not run (reason below)

Risks / Follow-up

  • adjacency and wall-seam inference is still heuristic geometry logic, so unusually noisy floor plans may need additional normalization rules later

@learncold learncold merged commit 5e71fd1 into main Apr 4, 2026
2 checks passed
@learncold learncold deleted the codex/issue-55-layout-inference-validation branch April 4, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task-build FacilityLayout2D inference and import validation for demo floor plans

1 participant