feat(dsh): intervene on blocking states and verify resource recovery
Core regression / Python core and release configuration (push) Successful in 18s
Core regression / JavaScript syntax (push) Successful in 2s
Core regression / Python core and release configuration (pull_request) Successful in 16s
Core regression / JavaScript syntax (pull_request) Successful in 3s

This commit is contained in:
阿白叔 committed 2026-11-04 23:39:33 +08:00
1 parent 389fc917b9
commit de9cb2908d
21 files changed
+1557 -46

No files matched your search

@@ -0,0 +1,8 @@
# DSH blocking-state intervention
User authorization: include BOM validation failures, pending/failed resource release and inspection, preflight rejection, and operations with no progress in the existing AI intervention switch.
1. Add one Qt blocker coordinator (`ui/dsh_blockers.py`) for ongoing-state deduplication and worker-progress observation. Report each blocking episode once; clear its identity when healthy. The toggle controls admission and rechecks current blockers when enabled. Preserve original task ownership.
2. Connect BOM result reports, resource status/cleanup results, task execution preflight, and worker progress. Include bounded redacted failure rows, pending resources, preflight blockers and progress age as trigger evidence. Do not classify cancellation or waiting for human confirmation as a stuck operation.
3. Extend existing incident runner/automation: persist trigger evidence, permit read-only diagnostics while original work is stuck using its cached event snapshot, and preserve the original execution controls. Add one owned-resource cleanup attempt when requested by AI, independently verify resources are released, and never equate resource cleanup with successful CAD execution. Existing task retry authorization remains intact.
4. Write failing regressions for each source and switch/dedup/progress/cleanup interaction, implement, run focused then relevant regression suites. Use actual Harness model replies and real Qt clicks with controlled resource/worker fixtures; keep remote issue publication disabled during acceptance. Independently review before updating PR #19. No new EXE build.