Skip to content

NA: carve movement monolith by interface (#215, partial) - #296

Merged
arniber21 merged 1 commit into
mainfrom
issue-215-carve-na-monoliths
Jul 17, 2026
Merged

NA: carve movement monolith by interface (#215, partial)#296
arniber21 merged 1 commit into
mainfrom
issue-215-carve-na-monoliths

Conversation

@arniber21

Copy link
Copy Markdown
Owner

Partially fixes #215.

Splits movement.rs (1799 LOC) into 6 focused submodules + extracts shared geometry predicates. Public API stable. All 101 quon_na tests pass.

Compaction.rs and zoned.rs splits remain as follow-up work — the existing monoliths still compile and pass tests unchanged.

Split movement.rs (1799 LOC) into focused submodules:
- movement/types.rs (~240 LOC): MovementParams, errors, MoveSpec
- movement/geometry.rs (~310 LOC): R1-R3 predicates, AOD legality
- movement/bank.rs (~230 LOC): bank origin/detection, pair packing
- movement/duals.rs (~220 LOC): generate_duals, pack_legs_greedy
- movement/emit.rs (~645 LOC): EmitCtx, layer helpers
- movement/plan.rs (~260 LOC): plan_aod_movement orchestrator
- geometry.rs: shared euclidean_um, ordered_pair predicates

Public API stable. All 101 quon_na tests pass.

Compaction and zoned splits remain (not blocking — monoliths still work).
@arniber21 arniber21 added the ready-for-human Requires human implementation label Jul 16, 2026
@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
quon Ready Ready Preview, Comment Jul 16, 2026 10:11am

@arniber21
arniber21 merged commit e26e8ce into main Jul 17, 2026
16 of 18 checks passed
@arniber21
arniber21 deleted the issue-215-carve-na-monoliths branch August 5, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Requires human implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NA: Carve movement / zoned / compaction monoliths by interface

1 participant