Files
dxdesigner-part-replacement/docs/superpowers/specs/2026-10-14-single-project-ui-background-design.md
T

2.3 KiB

Single-project task UI and isolated execution

User approved this direction on 2026-10-14. This is continued V1.1.0 source development; do not build or package. Commit verified functional increments promptly.

  • New-task dialog scans a root and selects projects; every resulting task owns one immutable project. Task details contain a project summary, refresh action, rules, targets and execution controls, with no project list/select-all/filter/skip/manual-run controls.
  • Existing data is preserved. Multi-project historical tasks remain inspectable but are read-only in the new single-project UI; create project tasks through the dialog for further execution.
  • Read task context once per refresh, then compute gates locally. UI changes and table search must not reread SQLite/CAD or regenerate log content unnecessarily. A per-task service facade must be reused without mixing evidence roots.
  • Target search matches RefDes, UID, old/new part, sheet/schematic and Values case-insensitively; explicit Find filters cached table data, Enter runs Find, Next locates another match, Clear restores all. Filters never remove rows from saved plans. Bulk/select actions operate visible rows while preserving hidden rows.
  • Execution commands are Execute current task, Execute batch in order, Pause at safe boundary, Retry failed items and Reconcile interruption. Scope, pending unsaved plans, lifecycle and active worker guards must be coherent. No backup-failure bypass control in the streamlined UI.
  • Desktop isolation is an explicit research backend, not automatically enabled. It creates and owns a private desktop/process tree, validates CAD PID/project identity and reuses the existing UID/Library Wins/backup/save/readback safeguards. Never attach an unrelated CAD instance or fall back to the input desktop. No production CAD writes for validation.
  • Normal workflows retain direct mapping/target edits, custom Value and default-on editable NC, plus optional spreadsheet import draft followed by explicit save.

Architecture: service produces a frozen ProjectTaskContext; task bindings remain store-compatible. UI is separated into project summary, plan/search table and execution state presentation. Native isolated worker is an independent backend boundary with evidence and cleanup. Safety checks remain at services and native code as well as UI gates.