Policies
Rules checked before every action. They decide what runs on its own, what needs a person and what never happens.
Policies
8
1 in monitor mode
Evaluations · 24h
203.8K
Sent for approval
478
Denied
322
Approve payments over $1,000
EnforcingRefunds and ledger entries above the threshold need a finance approver.
id: payments-over-1000description: Money movement above $1,000 needs a finance approver.mode: enforceapplies_to: tools: - stripe.create_refund - internal-erp.post_journal_entryrules: - effect: allow when: args.amount <= 1000 - effect: require_approval when: args.amount > 1000 approvers: ["group:finance-controllers"] timeout: 4h on_timeout: denyTests
Example requests with the decision each one must get.
Refund of $240.00
Allowed
matched rules[0] · args.amount <= 1000
Journal entry of $3,120.00
Approval required
matched rules[1] · args.amount > 1000 → group:finance-controllers
Tests run automatically whenever a policy changes.
Decisions · 24h
2,148
evaluations
- Allowed
- 1,996
- Approval
- 149
- Denied
- 3
Details
- Applies to
- Tools · stripe.create_refund, internal-erp.post_journal_entry
- Version
- v4
- Last changed
- Changed by
- Marcus Tan
- Agents
- Payment Risk Screener, Invoice Reconciler