session-recovery
// Detect and recover previous planning sessions, reconstructing lost context from persistent planning files.
$ git log --oneline --stat
stars:384
forks:73
updated:March 4, 2026
SKILL.mdreadonly
Session Recovery
Detect and recover previous planning sessions, reconstructing lost context from persistent planning files.
Agent
Session Manager - pwf-session-manager
Workflow
- Check project path for existing planning files
- Check ~/.claude/projects/ for session data
- Find last planning file update timestamp
- Extract post-update conversation context (lost context)
- Build catchup report summarizing accomplished work
- Merge recovered state into current session
Inputs
projectPath- Root path for planning filessessionId- Session identifier for recoverypreviousSessionPath- Path to previous session (optional)
Outputs
- Recovery report with completed phases and lost context estimate
- Merged session state with preserved checkboxes
- Catchup summary for manual sync
Process Files
planning-orchestrator.js- Session recovery at startupplanning-session.js- Full recovery pipeline