Resume work from a handoff document with context analysis and state verification
Resume work from a handoff document with context analysis and state verification. Use when continuing projects from previous sessions to verify changes and maintain continuity.
/plugin marketplace add astrosteveo/claude-code-plugins/plugin install superharness@astrosteveo-plugins<path to handoff document>You are tasked with resuming work from a handoff document. Handoffs contain critical context, learnings, and next steps from previous sessions that need to be understood and continued.
I'll help you resume work from a handoff document.
Which handoff would you like to resume from? Please provide the path.
Tip: List recent handoffs with:
- Feature handoffs: `ls -lt .harness/*/handoff.md`
- General handoffs: `ls -lt .harness/handoffs/`
Or invoke directly: `/superharness:resume .harness/003-auth/handoff.md`
Wait for user input.
Read handoff document COMPLETELY:
Read referenced critical documents:
Verify current state by spawning focused research tasks:
Task 1 - Verify Recent Changes:
Check that changes mentioned in the handoff still exist:
1. Read files listed in "Recent Changes"
2. Verify the described modifications are present
3. Check for any newer changes since the handoff
Use tools: Read, Grep, Bash (git commands)
Return: Status of each change (present/modified/missing)
Task 2 - Verify Phase Progress:
Check git log for phase completion trailers:
1. Run: git log --format=%B | grep "phase("
2. Count completed phases
3. Compare to handoff's claimed progress
Return: Verified phase completion status
Wait for ALL sub-tasks to complete
Present comprehensive analysis to the user:
I've analyzed the handoff from [date]. Here's the current situation:
**Phase Progress (Verified via Git):**
- Phase 1: Complete (phase(1): complete found in git)
- Phase 2: Complete (phase(2): complete found in git)
- Phase 3: In Progress (no completion trailer yet)
**Original Tasks:**
- [Task 1]: [Status from handoff] -> [Current verification]
- [Task 2]: [Status from handoff] -> [Current verification]
**Key Learnings (Still Valid):**
- [Learning with file:line reference] - [Verification status]
- [Pattern discovered] - [Still applicable]
**Recent Changes Status:**
- [Change 1] - [Verified present / Missing / Modified since handoff]
- [Change 2] - [Status]
**Recommended Next Actions:**
Based on the handoff's action items and current state:
1. [Most logical next step]
2. [Second priority]
3. [Additional tasks if discovered]
**Potential Issues Identified:**
- [Any conflicts found between handoff state and current state]
- [Missing dependencies or unexpected changes]
Shall I proceed with [recommended action 1], or would you like to adjust the approach?
Get confirmation before proceeding.
Use TodoWrite to create task list:
Present the plan:
I've created a task list based on the handoff:
[Show todo list]
Ready to begin with: [first task description]
Proceed?
/superharness:handoff/superharness:create-plan/superharness:research