#!/usr/bin/env bash # Chatty hook: dumps unfiltered command output straight into additionalContext. # Every SessionStart this whole payload enters Claude's context (not just stdout). NOTES="$(cat ./STATE.md)" LOG="$(git log --oneline)" printf '{"hookSpecificOutput":{"hookEventName":"SessionStart","additionalContext":"%s\n%s"}}' "$NOTES" "$LOG"