Appearance
Daedalus Operation Migration Final Report (2026-04-10)
Objective
Unify CAD mutation entry points around document operations and adapter-driven history commands without breaking current UI behavior.
Work Completed
- Expanded operation model for layer/layout/viewport/title updates.
- Expanded history adapter mappings to preserve undo/redo consistency.
- Connected D_Daedalus layout interactions to operation-based history execution.
- Reduced duplication by introducing a shared layout history-command execution helper.
Major Integrated Flows
- Layer visibility/lock/printable and presets.
- Active space and active layout switching.
- Viewport update/add/remove and pointer-up commit for move/resize.
- Viewport lock toggle.
- Title block selection and title field updates.
Safety Strategy Used
- Keep legacy executeLayoutCommandEntry and direct update fallbacks in place when command generation returns null.
- Keep live preview mutations during pointer move outside committed history until pointer up.
Validation
- Diagnostics check on modified files: no errors.
- Full build not executed in this phase by request.
Deliverables
- docs/daedalus-cad-inventory-2026-04-10.md
- docs/daedalus-ribbon-configuration-design-2026-04-10.md
- docs/daedalus-final-report-2026-04-10.md
Known Follow-ups
- Add targeted tests for operationHistoryAdapter layout mappings.
- Continue migration for remaining direct updateCadLayout write paths that are not live-preview only.
