1.9 KiB
1.9 KiB
DSH task lifecycle implementation
The user approved conversational task management, execution preflight and execution control. Extend the existing native Harness integration, retaining natural intent inference through function schemas and the existing CAD service boundaries.
- Add Qt-free lifecycle reads, previews and atomic confirmed edits. List real task IDs, patch task metadata and existing mapping rules, archive to the recycle bin, and copy configuration through the existing project-selection dialog. Include all batch-rule members in previews and stale-state checks. Persist mutation receipts to prevent replay.
- Add execution preflight based on saved task contexts, interrupted state, project availability, enabled scope and pending resources. Report actual blockers without claiming a CAD connectivity check. Freeze execution plan hashes and check them inside the existing task-queue lease before any executor runs.
- Add a bounded parent-process request/result bridge and native lifecycle controller. Native dialogs show affected tasks, fields and execution scope. Start/continue use the existing serial task queue; pause uses the active StopControl. Return actual queue results and distinguish paused, failed, completed and no-match outcomes.
- Expose catalog, preflight, management and execution schemas to interactive sessions. Automatic incident sessions remain snapshot-only. Keep business prompts free of tool routing. Show lifecycle state in the existing right-hand native slot.
- Write failing domain/UI tests before implementation, then verify atomicity, stale previews, cancellation, copy, execution and pause. Extend CLI policy probes and run a real-model Qt/CDP acceptance using fixture engineering files and a controlled executor. Run relevant regressions and record validation limits.
Implementation is inline in this already-authorized session. No deployment, release binary or real engineering mutation is included.