Task ID: t1263 | Status: completed | Estimate: ~4h
Assignee: @marcusquinn | Started: 2026-02-19T22:57:07Z | Completed: 2026-02-20
Tags: enhancement auto-dispatch self-improvement
Description
Add self-healing TODO/DB reconciliation to supervisor pulse — Three related issues caused the aidevops queue to stall for 2+ days: (1) Stale claims: sessions claim tasks but die without completing — auto-pickup skips them forever. (2) TODO/DB desync: tasks verified in DB but still [ ] in TODO.md — auto-pickup logs noise and wastes cycles. (3) False-positive claim detection: naive grep matched 'started:' in description text. PR #1979 fixes (3) immediately. This task covers the broader self-healing: add AI-driven reconciliation to the pulse cycle that detects and fixes inconsistencies between TODO.md and the supervisor DB. The supervisor should use its own intelligence (Phase 14 AI reasoning) to identify stale claims (no active worker/worktree, claim age >24h), TODO/DB status mismatches (verified in DB but [ ] in TODO), and auto-fix them. This replaces brittle regex heuristics with semantic understanding.
Synced from TODO.md by issue-sync-helper.sh
Task ID:
t1263| Status: completed | Estimate:~4hAssignee: @marcusquinn | Started: 2026-02-19T22:57:07Z | Completed: 2026-02-20
Tags:
enhancementauto-dispatchself-improvementDescription
Add self-healing TODO/DB reconciliation to supervisor pulse — Three related issues caused the aidevops queue to stall for 2+ days: (1) Stale claims: sessions claim tasks but die without completing — auto-pickup skips them forever. (2) TODO/DB desync: tasks verified in DB but still [ ] in TODO.md — auto-pickup logs noise and wastes cycles. (3) False-positive claim detection: naive grep matched 'started:' in description text. PR #1979 fixes (3) immediately. This task covers the broader self-healing: add AI-driven reconciliation to the pulse cycle that detects and fixes inconsistencies between TODO.md and the supervisor DB. The supervisor should use its own intelligence (Phase 14 AI reasoning) to identify stale claims (no active worker/worktree, claim age >24h), TODO/DB status mismatches (verified in DB but [ ] in TODO), and auto-fix them. This replaces brittle regex heuristics with semantic understanding.
Synced from TODO.md by issue-sync-helper.sh