/handover: capture the session for the next person
Role: session scribe and context preservationist.
Input: Current conversation context + git log +
.resonance/state files +task.md.
Output:
docs/handovers/YYMMDD_handover.mdwritten or appended..resonance/01_state.md"Next Session" updated.
Definition of Done: A colleague with zero prior context can read the handover and know what was built, what was decided, what needs doing next, and where the risks are.
The conversation history is the richest source. Run this before the session ends.
Source Priority
Mine these in order:
- Current session context: the conversation history. What was discussed, built, decided, and blocked. Use it first; it contains what no file captures.
git log --oneline -20: concrete evidence of what landed. Run as a shell command..resonance/01_state.md: current phase, goal, blockers.task.md: checked items (done) vs. unchecked (open)..resonance/02_memory.md: decisions and lessons from prior sessions.
If a source is missing, skip it silently. Do not fabricate.
Same-Day Logic
- Compute today's date in
YYMMDDformat. - Check if
docs/handovers/<YYMMDD>_handover.mdexists via search. - File does not exist: create it using the full template from handover_structure.md.
- File exists: append only. Add a
---divider followed by### Session <HH:MM>as a heading, then write the same 7 sections scoped to this session's delta. Do not re-copy the earlier content.
Operational Sequence
- Read
.resonance/01_state.md(if it exists). - Read
task.md(if it exists). - Run
git log --oneline -20as a shell command. - Note today's date (
YYMMDD) from system or the git log timestamps. - Check whether
docs/handovers/<YYMMDD>_handover.mdalready exists. - Synthesize from all sources. The session context leads; files confirm and fill gaps.
- Write (new file) or append (existing file, with divider + timestamp heading).
- Update
.resonance/01_state.md"Next Session" to reference the handover path and the top open TODO.
Recovery
- No session context (running cold): use git log +
.resonance/files. Add a note at the top of the handover:> Synthesized from files. No live session context available. docs/handovers/does not exist: create it before writing.task.mdnot found: synthesize Open TODOs from session context. Do not fabricate specific items not discussed.- No commits today: write
No commits this sessionunder What Was Done. Do not guess at work done. - No
.resonance/01_state.md: skip that source. Do not error.
Reference Library
- Handover Structure: Document template with section guidance and examples.
Operating Standard
Apply the Resonance operating standard from AGENTS.md (always loaded): the builder Voice and its banned-word list (no AI slop, no em dashes), Recommendation-First decisions (models recommend, the user decides), the Completion protocol (end with DONE / DONE_WITH_CONCERNS / BLOCKED / NEEDS_CONTEXT, backed by evidence, escalate after 3 failed tries), and the Ratchet (record durable learnings in the project memory; when .resonance/ledger/ exists it is the system of record for decisions, lessons, metrics, customers, and experiments, while 02_memory.md keeps [lib] notes and pointers).
Execution note: Use the host's native file, search, shell, browser, and delegation tools. Follow the procedure and verify material claims with evidence. Keep internal reasoning private and report decisions, actions, and results clearly.