| name | harness-hooks |
| description | Install or respect mk-agentos portable harness hooks from settings.json. Use when install_hooks, ack_hooks, force push block, rm -rf block, or PreToolUse harness is mentioned. |
Harness hooks (M3)
Rules for agents
- Do not run
ack_hooks.py install --global unless human explicitly orders it with understanding of global Claude settings.
- Prefer project install:
./bin/ack-hooks install --settings settings.json --apply-project-claude
- If a hook denies force-push / rm -rf, treat as hard stop — propose safe alternative, do not bypass with encoding tricks.
- If a hook asks (git push / deploy / secrets path), wait for human.
- After install, keep
.mk-agentos/settings.resolved.json in sync when settings change (ack_settings.py compile).
Uninstall
./bin/ack-hooks uninstall --settings settings.json
Only when human requests.