pre-governance-capture
PreToolUse hook: Capture governance events (secrets, policy violations, approval requests). Enable with ECC_GOVERNANCE_CAPTURE=1 (matcher: Bash|Write|Edit|MultiEdit).
- Score
- Unranked
- Evidence
- No signals yet
- Last commit
- Not known
- Listed
Install
armory install pre-governance-capture --cli claudewrites the file to.claude/hooks/pre-governance-captureListed as compatible
# fetches the hook script into:
.claude/hooks/pre-governance-capture
# then register it in your settings.json "hooks" block.↳ Add the hook entry to settings.json, then restart the harness.
Needs the armory CLI · not on npm yet, build it from cli/ in the repository
What it is
PreToolUse hook: Capture governance events (secrets, policy violations, approval requests). Enable with ECC_GOVERNANCE_CAPTURE=1 (matcher: Bash|Write|Edit|MultiEdit).
When to use it
PreToolUse hook: Capture governance events (secrets, policy violations, approval requests). Enable with ECC_GOVERNANCE_CAPTURE=1 (matcher: Bash|Write|Edit|MultiEdit).
How to install / invoke
Vendored from affaan-m/ecc (hooks). See the source: https://github.com/affaan-m/ecc/blob/main/hooks/hooks.json
Notes
Ingested from the affaan-m/ecc harness library (MIT).