Overview
Theresume-work command restores complete project context when starting a new session. It intelligently detects where you left off and routes you to the right next action.
Syntax
How It Works
When you runresume-work, GSD:
- Loads STATE.md (or reconstructs it if missing)
- Detects checkpoints - Looks for
.continue-here.mdfiles from mid-phase pauses - Finds incomplete work - Checks for phases with PLAN but no SUMMARY
- Presents status - Shows you where the project stands
- Routes intelligently - Suggests the right next command based on context
What Gets Restored
Project State
- Current phase and milestone
- Completed phases and work
- Roadmap and remaining phases
- Quick tasks completed
- Project goals and constraints
Work Context
.continue-here.mdcheckpoint files (mid-phase pauses)- Incomplete phases (planned but not executed)
- Recent decisions from CONTEXT.md
- Code changes since last session
Intelligent Routing
GSD checks CONTEXT.md to offer the right next step:- Has context → Suggests
/gsd:plan-phase(ready to plan) - No context → Suggests
/gsd:discuss(explore first) - Has checkpoint → Offers to continue from pause
- Has incomplete plan → Offers to execute existing plan
Usage Examples
Resume after closing your editor
Resume project with incomplete work
Resume after long break
State Reconstruction
IfSTATE.md is missing or corrupted, resume-work reconstructs it by:
- Reading
ROADMAP.mdfor phase definitions - Scanning
.planning/phases/for completed work - Parsing phase SUMMARY files for completion data
- Checking
.planning/quick/for quick tasks - Rebuilding the state file with current status
Session Continuity
GSD maintains session continuity by:- Tracking the last active phase
- Preserving in-progress work state
- Linking decisions to their phases
- Maintaining chronological work history
When to Use
Always use when
- Starting a new editor session
- Resuming after a break
- Switching between projects
- Beginning your work day
- After git pull / branch switch
Especially helpful after
- Long breaks (days/weeks)
- Context was lost (crash, reboot)
- Mid-phase pause (
.continue-here.mdexists) - Forgot where you left off
Integration with Other Commands
After pause-work
With progress
Files Read
.planning/STATE.md- Primary state file.planning/ROADMAP.md- Phase definitions.planning/CONTEXT.md- Decisions and constraints.planning/phases/**/.continue-here.md- Checkpoint files.planning/phases/**/SUMMARY.md- Completion records.planning/quick/*.md- Quick task records
Related Commands
pause-work- Create checkpoint before pausingprogress- Detailed progress and routinghealth- Validate project state integrity