What problem does it solve?
Capture session context before ending to ensure a seamless resume by the next agent. Use when ending a session, switching contexts, or when the user runs /handoff.
Core Features & Use Cases
- Identify the active feature: If an argument is provided, use that feature; otherwise, consult specs for the most recently modified ledger.md and, if none exist, summarize the session.
- Gather session context: Document what was accomplished, what is in progress or blocked, files touched, and any non-obvious context discovered.
- Update ledger.md: Move completed items to Done; refresh Next; add new context; adjust Phase and Blocked status.
- Write handoff summary: Append to specs/<feature>/handoff.md with a structured session report including Completed, In Progress, Blocked, Critical Context, Files Touched, and Resume Command.
- Confirm the handoff is complete and ledger.md reflects the latest state.
Quick Start
Summarize the current session and append a new handoff.md under specs/<feature>/handoff.md detailing completed work, in-progress items, blockers, and critical context.