/gsd undo-task
Resets a single task to its pre-completion state. Clears the task’s completion record from the SQLite database and unchecks its markdown checkbox. More targeted than /gsd undo (which reverts the last completed unit regardless of type) or /gsd reset-slice (which resets an entire slice).
/gsd undo-task <task-id>The task ID follows the standard format (e.g., T01, T02).
What Gets Reset
Section titled “What Gets Reset”- The task’s completion record in the database
- The markdown checkbox in the plan file (
[x]→[ ]) - The task summary file is not deleted — it remains on disk for reference
When to Use
Section titled “When to Use”- A task was marked complete but the implementation needs rework
- You want to re-execute a specific task with auto-mode
- The task completed with issues that weren’t caught during verification
Related Commands
Section titled “Related Commands”/gsd undo— revert the most recently completed unit (any type)/gsd reset-slice— reset an entire slice and all its tasks