buddymon/hooks-handlers
pyr0ball 9b13150d1b feat: UserPromptSubmit hook for encounter announcements
Bash PostToolUse additionalContext is silently dropped by CC — encounters
are written to state but never surfaced. Fix with a two-phase approach:

- PostToolUse (Bash): detects error, writes encounter with announced:false
- UserPromptSubmit: fires on next user message, checks for unannounced
  encounter, surfaces it once, marks announced:true so dedup loop breaks

Removes debug scaffolding and the format_encounter_message call from the
Bash hook (announcement is now fully owned by user-prompt-submit.py).
2026-04-01 23:08:57 -07:00
..
post-tool-use.py feat: UserPromptSubmit hook for encounter announcements 2026-04-01 23:08:57 -07:00
session-start.sh fix: correct hook output schemas and marketplace registration 2026-04-01 21:45:59 -07:00
session-stop.sh fix: correct hook output schemas and marketplace registration 2026-04-01 21:45:59 -07:00
user-prompt-submit.py feat: UserPromptSubmit hook for encounter announcements 2026-04-01 23:08:57 -07:00