All definitions
Refund workflow (internal agent) — refund_processedAction contract
The agent may refund an order only when the order is eligible and the amount is within the limit. A successful refund must show up as a refund in the payment system, a cancelled order in the order system, a note on the customer record, and a customer notification — all within 15 minutes. A second refund for the same order, or a refund above the limit, is forbidden.
- Contract ID
- refund_workflow
- Source
- internal://policies/refunds
- Retrieved
- 2026-09-28
- Notes
- Template values. Replace with your policy document URL and the limits your finance team signed off.
What the contract checks
Each block is evaluated against read-only facts from the systems of record. The agent's own report is never used as evidence.
Contract YAML
The machine-readable action contract: allowed action, required inputs, preconditions, limits, expected and forbidden effects, window. Sign in to select it for your tenant or fork it.