pre-config-protection
PreToolUse hook: Block modifications to linter/formatter config files. Steers agent to fix code instead of weakening configs. (matcher: Write|Edit|MultiEdit).
- Score
- Unranked
- Evidence
- No signals yet
- Last commit
- Not known
- Listed
Install
armory install pre-config-protection --cli claudewrites the file to.claude/hooks/pre-config-protectionListed as compatible
# fetches the hook script into:
.claude/hooks/pre-config-protection
# 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: Block modifications to linter/formatter config files. Steers agent to fix code instead of weakening configs. (matcher: Write|Edit|MultiEdit).
When to use it
PreToolUse hook: Block modifications to linter/formatter config files. Steers agent to fix code instead of weakening configs. (matcher: 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).