Skip to content

feat(automations): add Claude Code SessionStart hook, plugin bundle, and docs (#243) - #293

Open
Sanjai-Gopal wants to merge 5 commits into
secfoo-com:mainfrom
Sanjai-Gopal:feat/automations-claude-243
Open

Sanjai-Gopal wants to merge 5 commits into
secfoo-com:mainfrom
Sanjai-Gopal:feat/automations-claude-243

Conversation

@Sanjai-Gopal

Copy link
Copy Markdown
Contributor

Fixes #243

Depends on #291.

Summary

  • Add SessionStart hook support and additionalContext rendering for Claude Code.
  • Support project, local, and user scopes in automations config management, plus doctor_automations checks for disableAllHooks and allowManagedHooksOnly.
  • Add Claude plugin hook definitions (plugins/secfoo/hooks/hooks.json) and slash commands (plugins/secfoo/commands/automations.md, fix-findings.md), docs/automations.md, fixtures, and tests.

Verified

  • pytest tests/test_automations/ tests/test_plugins.py tests/test_docs_consistency.py -v (45 passed)
  • ruff check . & bandit -r src/secfoo -c .bandit -ll -q

@Sanjai-Gopal
Sanjai-Gopal requested a review from vsn411 as a code owner December 6, 2026 15:34
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.

Automations for Claude Code: hooks + plugin recipes (reference implementation)

1 participant