Commit f8262e90c515
Changed files (1)
dots
agents
skills
handoff
dots/agents/skills/handoff/SKILL.md
@@ -28,8 +28,11 @@ python3 "<path-to-skill>/scripts/create_handoff.py" --repo "." --pickup "<slug>"
1. Inspect current git context and choose a short kebab-case slug describing the work
2. Run the helper script to scaffold the handoff file with git context
3. If an existing handoff exists for this slug, read it before updating
-4. Write or update the handoff using script output and current session knowledge
-5. Tell the user where the handoff file lives
+4. Draft the handoff using script output and current session knowledge
+5. Present the proposed **Decisions** and **What Didn't Work** sections to the user for confirmation with `AskUserQuestion`
+6. Incorporate the confirmation, write or update the handoff, and tell the user where it lives
+
+Do not write an unconfirmed final handoff. An explicitly requested draft may be written without confirmation, but label its unconfirmed entries `[tentative]`.
Use `--new-copy-if-exists` to create a fresh copy even when the slug already exists.
@@ -54,6 +57,14 @@ One-sentence description of what the work aims to achieve.
### Current Progress
What has been completed, with specific file paths and commit references.
+### Decisions
+Record choices that affect subsequent work, each marked as one of:
+
+- `[decided]`: confirmed by the user.
+- `[tentative]`: agent inference or a proposal that still needs confirmation.
+
+Keep the rationale brief and include alternatives only when they matter to the next agent.
+
### What Worked
Approaches, tools, or patterns that proved successful.
@@ -66,6 +77,10 @@ Concrete, ordered list of what to do next. Be specific — file paths, commands,
### Notes for Next Agent
Context that doesn't fit elsewhere: environment quirks, gotchas, related issues, relevant documentation.
+## Length
+
+Aim for about 100 lines. This is a concision target, not a hard cap: exceed it when exact commands, paths, errors, state, or decision rationale are necessary for a safe continuation. Do not mechanically truncate the document. Instead, remove recoverable background and repetition, summarize where possible, and link to source files or session summaries for supporting detail.
+
## Storage
Handoffs are stored in `~/.local/share/ai/handoffs/<repo-name>/<slug>.md`.