Skip to content

/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).

  • 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
  • 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
  • /gsd undo — revert the most recently completed unit (any type)
  • /gsd reset-slice — reset an entire slice and all its tasks