Resume an interrupted subagent execution
Resumes interrupted subagent execution using the Task tool's resume parameter.
/plugin marketplace add glittercowboy/get-shit-done/plugin install get-shit-done@get-shit-done[agent-id]gsd/When a session ends mid-execution, subagents may be left in an incomplete state. This command allows users to continue that work without starting over.
Uses the agent ID tracking infrastructure from execute-phase to identify and resume agents. </objective>
<execution_context> @~/.claude/get-shit-done/workflows/resume-task.md </execution_context>
<context> Agent ID: $ARGUMENTS (optional - defaults to most recent)Load project state: @.planning/STATE.md
Load agent tracking: @.planning/current-agent-id.txt @.planning/agent-history.json </context>
<process> 1. Check .planning/ directory exists (error if not) 2. Parse agent ID from arguments or current-agent-id.txt 3. Validate agent exists in history and is resumable 4. Check for file conflicts since spawn 5. Follow resume-task.md workflow: - Update agent status to "interrupted" - Resume via Task tool resume parameter - Update history on completion - Clear current-agent-id.txt </process> <usage> **Resume most recent interrupted agent:** ``` /gsd:resume-task ```Resume specific agent by ID:
/gsd:resume-task agent_01HXYZ123
Find available agents to resume:
Check .planning/agent-history.json for entries with status "spawned" or "interrupted".
</usage>
<error_handling> No agent to resume:
Agent already completed:
Agent not found:
Resume failed:
<success_criteria>