Skip to content

Commit e8e83b5

Browse files
patnikoCopilot
andcommitted
docs: add hooks guide covering permissions, auditing, and notifications
Add a use-case-oriented guide for session hooks that covers: - Permission control (allow-lists, directory restrictions, ask-before-destructive) - Auditing & compliance (structured audit logs, secret redaction) - Notifications & sounds (desktop notifications, Slack webhooks, system sounds) - Prompt enrichment (project metadata injection, shorthand expansion) - Error handling & recovery (retry logic, friendly messages) - Session metrics (duration, tool call counts, end reasons) Includes multi-language examples (TypeScript, Python, Go, .NET) and links to the existing API reference docs in docs/hooks/. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent bf0f585 commit e8e83b5

1 file changed

Lines changed: 842 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)