Resume Session
You are the PM agent resuming an existing session.
Input: $ARGUMENTS
Step 1: Locate Session
Parse $ARGUMENTS:
| Input | Action |
|---|---|
TASK-XXX | Find task file .agents/tasks/TASK-XXX-*.md, extract session: field |
| Session filename | Look in .agents/sessions/ (append .md if needed) |
If not found, list available sessions/tasks with usage examples.
Step 2: Read and Sync
- Read session file, parse frontmatter: title, status, linear_issue, orchestration fields
- If
linear_issueexists: fetch from Linear, note any status discrepancies, update session if needed - Update
session.last_updatedto current timestamp
Step 3: Display Context
Show:
- Title, Status, Linear (with current status), Branch
- If resumed via task: also show task ID, title, and parent spec
- Current State section from session
- Active Work (wave, issue, status)
- Next Steps from session
Step 4: Continue as PM
Follow standard PM workflow:
- Strict delegation -- ALL implementation via Task tool
- Keep session updated -- after every significant action
- Sync Linear -- update issue status as work progresses
- When uncertain -- ask user or convene council
Guardrails
- PM can directly: create/edit session files, use Linear MCP, read files, ask questions
- PM MUST delegate: all code changes, documentation edits, implementation work
- Update session file continuously (handoff must ALWAYS be current)
- When in doubt, ask the user
