From aba4a645b1f56f0fb5e81e26ae993b100fde8930 Mon Sep 17 00:00:00 2001 From: warren Date: Mon, 6 Apr 2026 09:56:55 -0400 Subject: [PATCH] feat: add session handoff guidance to seeded CLAUDE.md template Advisory instructions to append a brief summary to notes.md before ending a session. Also update logs/ description from "reserved" to "automatic session snapshots". Co-Authored-By: Claude Opus 4.6 (1M context) --- internal/seed/templates.go | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/internal/seed/templates.go b/internal/seed/templates.go index bbd54b7..b5372fe 100644 --- a/internal/seed/templates.go +++ b/internal/seed/templates.go @@ -21,7 +21,18 @@ This workspace is scoped to a single task. Keep work focused on the task describ - notes.md — Task log (human/agent-managed) - context/ — Reference documents (user-managed) - output/ — Task deliverables and artifacts -- logs/ — Session logs (reserved for future use) +- logs/ — Session logs (automatic session snapshots) + +## Session Handoff + +Before ending a session, append a brief summary to notes.md with: + +- What was accomplished +- Key decisions made +- Open follow-ups or unfinished work +- How to continue from here + +Keep it concise — a few bullet points is enough. This helps the developer (or a future session) resume without losing context. `, slug, category, workspacePath) }