Session Handoff Hook Script
Path:
loom-builder/prompts/session-handoff-hook-script.mdRelative: prompts/session-handoff-hook-script.mdSubproject: loom-builderCategory: dispatch-promptsLines: 29Bytes: 1,872Imports: 0Exports: 0
Content Preview
- # ROLE
- Executor: build the session-handoff hook script (ADR-2026-07-02 item 1 — kills the 35% context-loss/redo waste). Script only — do NOT touch /home/mikes/.claude/settings.json; orchestrator wires that separately.
- # INTEL DISCOVERY (step 0)
- `ls /home/mikes/scripts/hooks/` — match conventions of existing hook scripts there (read one short example, e.g. save-agent-dispatch.sh).
- # TASK
- Create /home/mikes/scripts/hooks/session-handoff.sh (bash, executable):
- 1. Reads Claude Code Stop-hook JSON