boma/.claude/hooks
sjat 39904a778a fix(hooks): scope vault-preflight to staged ansible; catch prose exec re-asks
guard-vault-preflight: block a locked 'git commit' only when the staged set
(git diff --cached, plus -a/--all) contains ansible content matching the
pre-commit ansible-lint hook's files: scope. Docs-/config-only commits never
trigger that hook, so they no longer need the vault — fixing the false block on
docs-only commits. Fails safe to block when unsure.

guard-execution-mode-menu: widen the execution-mode arm to also catch free-form
prose re-asks of the subagent-vs-inline choice ('which execution approach?',
'subagent vs inline', ...), which the literal-menu matcher missed; the push
re-ask is intentionally left to the dont-reask-settled-defaults memory.

Consumes two 2026-06-17 signals in docs/FRICTION.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 17:49:55 +02:00
..
guard-execution-mode-menu.sh fix(hooks): scope vault-preflight to staged ansible; catch prose exec re-asks 2026-06-17 17:49:55 +02:00
guard-generated-files.sh Add PreToolUse guard hooks: generated-file + rbw vault pre-flight 2026-05-30 22:14:40 +02:00
guard-vault-preflight.sh fix(hooks): scope vault-preflight to staged ansible; catch prose exec re-asks 2026-06-17 17:49:55 +02:00