Intent-Code Divergence
Medium
- Confidence
- 88% confidence
- Finding
- The documentation says error tracking and rollback are triggered on PostToolUseFailure, but the usage example registers a PostToolUse hook instead. In a governance skill, this ambiguity is security-relevant because rollback or failure counting may not trigger as intended, causing destructive actions to proceed without recovery or repeated failing commands to evade the circuit breaker.
