feat(KB-039): complete Step 2 — frontend API client and hook for usage data

This commit is contained in:
gsxdsm
2026-03-29 21:46:09 -07:00
parent 26416d4919
commit fc3742582d
9 changed files with 890 additions and 150 deletions

View File

@@ -0,0 +1,9 @@
---
"@dustinbyrne/kb": patch
---
Fix failed status badge persisting when moving tasks from in-progress to todo/triage
Previously, when a failed task was moved from "in-progress" back to "todo" or "triage" for retry, the `status: "failed"` and `error` fields were not cleared. This caused the dashboard to continue showing the red "failed" badge even though the task was ready for re-execution.
The `moveTask` function now clears `status`, `error`, `worktree`, and `blockedBy` fields when moving from "in-progress" to "todo" or "triage", consistent with the existing behavior when moving to "done".