Step-by-step answer
Stretch 90 min7 stepsAudit hook and retention policy in eve
An eve hook that writes one hash-chained SQLite row per settled tool call, approval request and approval decision, keyed by stream position so a replay adds nothing. An eval approves one send and denies another, with a scripted mock model, and checks the rows, including who cleared or refused each call.
Back to the exercise