chore(KB-088): add changeset for failed status fix

- Add changeset documenting the fix for failed status persistence
- moveTask now clears status/error/worktree/blockedBy when moving from in-progress to todo/triage
- Prevents failed badge from showing on retried tasks
This commit is contained in:
gsxdsm
2026-03-29 21:47:18 -07:00
parent 63f530aac3
commit 0ed1e160e5

View File

@@ -0,0 +1,9 @@
---
"@dustinbyrne/kb": patch
---
Fix "failed" status showing on dashboard for non-failed tasks
When a task failed during execution and was moved from "in-progress" back to "todo" or "triage" for retry, the `status` and `error` fields were not being 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", matching the behavior already in place for the "done" column.