Files
dxdesigner-part-replacement/docs/superpowers/plans/2026-09-06-value-options-layout.md
T

1.8 KiB

Value options and serial execution implementation

Approved semantics: unchecked preserves the native target Value without creating a missing attribute; checked copies the verified target Part Number into Value. Existing Value display styling is inherited in both modes. Old in-flight queues must not silently adopt a different policy.

Work only in the isolated candidate. Do not commit, rebuild, attach to CAD, or write to the concurrently edited original project.

  1. Add failing tests for default-off task settings, SQLite persistence, explicit queue policy, and rejection of a different completed job. Implement models/store/service and quick_run, using a versioned value_mode column and a pinned job argument.
  2. Add real VBS routine tests with fake components: preserve content and style, missing Value remains missing, checked content plus style, bad readback, and changed policy on resume. Implement metadata policy binding, restoration and final verification. Native snapshot parsing accepts validated new metadata while retaining read-only legacy parsing.
  3. Wire a task-scoped checkbox and confirmation text. Freeze settings once a queue has evidence. Keep one worker/one queue item and require the expected job before writing and on receipt; do not add automatic open/save/close.
  4. Add mouse-drag, settings persistence, and checkbox UI tests. Widen splitter handles, make logs collapsible, reduce table minima, persist layout/header state to the task-center data root, and add layout reset.
  5. Run targeted tests, then UI/task-center/integration regression suites using external temp paths and no bytecode/cache. Create a unified patch and a baseline hash manifest for review, not an automatic overwrite script. Document remaining real CAD acceptance and concurrent merge boundaries.