Example

Approve the payout, then verify it

Source: examples/insurance-claims. The payout tool is a non-idempotent write gated on Studio /approvals.

python examples/insurance-claims/main.py
# approve in Studio, then the run can reach COMPLETED / VERIFIED

If POL-1 mutates from v4 to v5 while approval is pending, the old approval cannot authorize the payout. payout_cents stays 0.

Studio approval queue with claims_agent authorize_payout pending
Pending authorize_payout. Local actor is local-user.