tk-logl/sentinel

Universal AI code quality enforcement plugin for Claude Code

4Stars on the repository
20Mods indexed here, across every type
5mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

UserPromptSubmit

01

tk-logl/sentinel

Hook

Runs when you submit a prompt, before the agent sees it, executing scope-guard.sh and task-scope-guard.sh via bash (2 commands). From tk-logl/sentinel.

4 5mo ago A tokens not measured copy · 61% MIT

SessionStart

02

tk-logl/sentinel

Hook

Runs when a session starts, executing session-init.sh via bash. From tk-logl/sentinel.

4 5mo ago A tokens not measured copy · 58% MIT

PreToolUse

03

tk-logl/sentinel

Hook

Runs before the agent uses a tool for Write, Edit, Bash and Task tool calls, executing pre-edit-gate.sh, deny-dummy.sh, surgical-change.sh, secret-scan.sh, scope-reduction-guard.sh, tdd-enforce.sh, pre-write-ast.sh, env-safety.sh and subagent-context.sh via bash (9 commands). From tk-logl/sentinel.

4 5mo ago A tokens not measured copy · 61% MIT

PostToolUse

04

tk-logl/sentinel

Hook

Runs after a tool call finishes for Write, Edit, Bash and TaskUpdate tool calls, executing post-edit-verify.sh, file-header-check.sh, ast-quality-gate.py, ast-quality-gate-ts.js, post-edit-lint.sh, ast-grep-gate.sh, spec-auto-test.sh, error-logger.sh, task-automark.sh and task-completion-gate.sh via bash (10…

4 5mo ago A tokens not measured copy · 55% MIT

PostToolUseFailure

05

tk-logl/sentinel

Hook

Runs when a tool call fails, executing error-logger.sh via bash. From tk-logl/sentinel.

4 5mo ago A tokens not measured original MIT

PreCompact

06

tk-logl/sentinel

Hook

Runs before the context is compacted, executing state-preserve.sh via bash. From tk-logl/sentinel.

4 5mo ago A tokens not measured copy · 58% MIT

Stop

07

tk-logl/sentinel

Hook

Runs when the agent finishes a response, executing completion-check.sh and spec-verify.sh via bash (2 commands). From tk-logl/sentinel.

4 5mo ago A tokens not measured copy · 61% MIT

SessionEnd

08

tk-logl/sentinel

Hook

Runs when a session ends, executing session-save.sh via bash. From tk-logl/sentinel.

4 5mo ago A tokens not measured copy · 55% MIT