Resume
npx claude-code-templates@latest --command orchestration/resume Content
Orchestration Resume Command
Resume work on existing task orchestrations after session loss or context switch.
Usage
/orchestration/resume [options]Description
Restores full context for active orchestrations, showing current progress, identifying next actions, and providing all necessary information to continue work seamlessly.
Basic Commands
List Active Orchestrations
/orchestration/resumeShows all orchestrations with active (non-completed) tasks.
Resume Specific Orchestration
/orchestration/resume --date 03_15_2024 --project auth_systemLoads complete context for a specific orchestration.
Resume Most Recent
/orchestration/resume --latestAutomatically resumes the most recently active orchestration.
Output Format
Orchestration List View
Active Task Orchestrations
==========================
1. 03_15_2024/authentication_system
Started: 3 days ago | Progress: 65% | Active Tasks: 3
└─ Focus: JWT implementation, OAuth integration
2. 03_14_2024/payment_processing
Started: 4 days ago | Progress: 40% | Active Tasks: 2
└─ Focus: Stripe webhooks, refund handling
3. 03_12_2024/admin_dashboard
Started: 1 week ago | Progress: 85% | Active Tasks: 1
└─ Focus: Final testing and deployment
Select orchestration to resume: [1-3] or use --date and --projectDetailed Resume View
Resuming: authentication_system (03_15_2024)
============================================
## Current Status Summary
- Total Tasks: 24 (12 completed, 3 in progress, 2 on hold, 7 todos)
- Time Elapsed: 3 days
- Estimated Remaining: 2 days
## Tasks In Progress
┌──────────┬────────────────────────────┬───────────────┬──────────────┐
│ Task ID │ Title │ Agent │ Duration │
├──────────┼────────────────────────────┼───────────────┼──────────────┤
│ TASK-003 │ JWT token validation │ dev-backend │ 2.5h │
│ TASK-007 │ OAuth provider setup │ dev-frontend │ 1h │
│ TASK-011 │ Integration tests │ test-dev │ 30m │
└──────────┴────────────────────────────┴───────────────┴──────────────┘
## Blocked Tasks (Require Attention)
- TASK-005: User profile API - Blocked by TASK-003 (JWT validation)
- TASK-009: OAuth callback handling - Waiting for provider credentials
## Next Available Tasks (Ready to Start)
1. TASK-013: Password reset flow (4h, frontend)
Files: src/auth/reset.tsx, src/api/auth.ts
2. TASK-014: Session management (3h, backend)
Files: src/services/session.ts, src/middleware/auth.ts
## Recent Git Activity
- feature/jwt-auth: 2 commits behind, last commit 2h ago
- feature/oauth-setup: clean, last commit 1h ago
## Quick Actions
[1] Show TASK-003 details (current focus)
[2] Pick up TASK-013 (password reset)
[3] View dependency graph
[4] Show recent commits
[5] Generate status reportContext Recovery Features
Task Context
/orchestration/resume --task TASK-003Shows:
- Full task description and requirements
- Implementation progress and notes
- Related files with recent changes
- Test requirements and status
- Dependencies and blockers
File Context
/orchestration/resume --show-filesLists all files mentioned in active tasks with:
- Last modified time
- Current git status
- Which tasks reference them
Dependency Context
/orchestration/resume --depsShows dependency graph focused on active tasks.
Working State Recovery
Git State Summary
## Git Working State
Current Branch: feature/jwt-auth
Status: 2 files modified, 1 untracked
Modified Files:
- src/auth/jwt.ts (related to TASK-003)
- tests/auth.test.ts (related to TASK-003)
Untracked:
- src/auth/jwt.config.ts (new file for TASK-003)
Recommendation: Commit current changes before switching tasksLast Session Summary
## Last Session (2 hours ago)
- Completed: TASK-002 (Database schema)
- Started: TASK-003 (JWT validation)
- Commits: 2 (feat: add user auth schema, test: auth unit tests)
- Next planned: Continue TASK-003, then TASK-005Filtering Options
By Status
/orchestration/resume --show in_progress,on_holdBy Date Range
/orchestration/resume --since "last week"By Completion
/orchestration/resume --incomplete # < 50% done
/orchestration/resume --nearly-done # > 80% doneIntegration Features
Direct Task Pickup
/orchestration/resume --pickup TASK-013Automatically:
- Shows task details
- Moves to in_progress
- Shows relevant files
- Creates feature branch if needed
Status Check Integration
/orchestration/resume --with-statusIncludes full status report with resume context.
Commit History
/orchestration/resume --commits 5Shows last 5 commits related to the orchestration.
Quick Resume Patterns
Morning Standup
/orchestration/resume --latest --with-statusPerfect for daily standups - shows what you were working on and current state.
Context Switch
/orchestration/resume --save-stateSaves current working state before switching to another orchestration.
Team Handoff
/orchestration/resume --handoffGenerates detailed handoff notes for another developer.
Examples
Example 1: Quick Continue
/orchestration/resume --latest --pickup-where-left-offResumes exactly where you stopped, showing the in-progress task.
Example 2: Monday Morning
/orchestration/resume --since friday --show-completedShows what was done Friday and what's next for Monday.
Example 3: Multiple Projects
/orchestration/resume --all --summaryQuick overview of all active orchestrations.
State Persistence
The command reads from:
- EXECUTION-TRACKER.md for progress metrics
- TASK-STATUS-TRACKER.yaml for current state
- Task files for detailed context
- Git for working directory state
Best Practices
- Use at Session Start: Run
/orchestration/resumewhen starting work - Save State: Use
--save-statebefore extended breaks - Check Dependencies: Review blocked tasks that may now be unblocked
- Commit Regularly: Keep git state aligned with task progress
Notes
- Automatically detects uncommitted changes related to tasks
- Suggests next actions based on dependencies and priorities
- Integrates with git worktrees if in use
- Preserves task history for full context