Skip to content

feat: add hooks system (Claude Agent SDK-inspired)#46

Merged
SonicBotMan merged 1 commit into
mainfrom
feat/hooks-system
May 28, 2026
Merged

feat: add hooks system (Claude Agent SDK-inspired)#46
SonicBotMan merged 1 commit into
mainfrom
feat/hooks-system

Conversation

@SonicBotMan
Copy link
Copy Markdown
Owner

Add hooks system inspired by Claude Agent SDK. Lifecycle hooks for policy enforcement. Audit logging. 5 new tests, 129 total passing.

- HooksManager: lifecycle hooks for policy enforcement
- HookPoint: PreToolUse, PostToolUse, Stop, SessionStart/End
- HookContext: rich context for hooks
- Audit logging with filtering
- Predefined hooks: log, audit, permission_check
- 5 new tests (129 total passing)
@SonicBotMan SonicBotMan merged commit 82028da into main May 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant