Skip to content

feat(automations): add Kiro and Cline hook adapters, debounce, and config writers (#251) - #301

Open
Sanjai-Gopal wants to merge 5 commits into
secfoo-com:mainfrom
Sanjai-Gopal:feat/automations-kiro-cline-251
Open

Sanjai-Gopal wants to merge 5 commits into
secfoo-com:mainfrom
Sanjai-Gopal:feat/automations-kiro-cline-251

Conversation

@Sanjai-Gopal

Copy link
Copy Markdown
Contributor

Fixes #251

Depends on #291.

Summary

  • Add src/secfoo/automations/hosts/kiro.py (PreToolUse, FileSave, AgentStop, SessionStart) and manager.py config writer for .kiro/hooks/secfoo-<recipe>.json plus should_run_debounced(...) for file-save triggers.
  • Add src/secfoo/automations/hosts/cline.py (PreToolUse, PostToolUse supporting both .toolName and .tool, TaskComplete) and executable .clinerules/hooks/<Event> script writer with Hooks-tab activation note.
  • Add docs/KIRO_CLINE_AUTOMATIONS.md, fixtures, and tests/test_automations/test_kiro_cline_automations.py.

Verified

  • pytest tests/test_automations/ tests/test_docs_consistency.py -v (31 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:36
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 Kiro and Cline: file-save and tool hooks

1 participant