feat(gatekeeper): thin pre-tool hook adapter, integration tests, and architecture alignment #4
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/gatekeeper-hook-adapter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements the thin Hermes pre_tool_call adapter and aligns documentation with Colibri canonical ownership:
Translation-Only Hook Adapter (
scripts/clawdie-gatekeeper-hook.py):pre_tool_callJSON to Colibriclawdie.gatekeeper-eval.v1request.colibri-gatekeeper evalvia stdin/stdout IPC.allow->{}(proceed);require_tokenandblock->{"decision": "block", "reason": "..."}.Integration Test Suite (
tests/test_clawdie_gatekeeper_hook.py):colibri-gatekeeperbinary (safe commands allowed, destructive commands blocked without token, unknown commands blocked fail-closed, valid bound grants allowed, and grant action mismatch attacks blocked).Documentation Realignment (
docs/security/clawdie-gatekeeper.md):