{
  "name": "session-wrap",
  "description": "Capture shutdown context and summarize it at the next interactive session",
  "trigger": { "kind": "hook", "event": "session_shutdown", "once": "per_session" },
  "prompt": "Summarize the previous session from the deferred shutdown transcript above:\n1. What was accomplished (2-3 bullets)\n2. Key decisions made (if any)\n3. What's unfinished / next steps\n\nSave to Engram with a title using the previous session end date shown above and type 'learning'. If Engram is unavailable, write a dated file under ~/.pi/routines/logs/ instead.\n\nKeep it under 200 words.",
  "quiet": false
}
