Expand description
Pure-function policy evaluation. Mirrors guard.ts / guard.py.
Functions§
- can_
call - True iff the session’s verification state satisfies the policy.
- consume_
policy - Called after a protected tool call completes. Consumes the
fresh-verification ticket for
EachCall; no-op for other policies. - mark_
verified - Called only when the submit step succeeds. Replenishes session state.