Add outcome contracts for v0.9

This commit is contained in:
Felipe Domingues 2026-07-22 13:56:34 -03:00
parent b312f18251
commit bb581ab7f8
23 changed files with 1107 additions and 95 deletions

View file

@ -0,0 +1,14 @@
{
"$schema": "../schemas/vibeflow-config.schema.json",
"outcomeContracts": {
"Issue refund": {
"impact": "money",
"approvalNode": "Approve refund",
"auditNode": "Record refund audit",
"failureNotificationNode": "Notify refund failure",
"amountGuard": { "node": "Limit refund amount", "maximum": 500, "currency": "USD" },
"counterpartyGuard": { "node": "Allow refund account", "allowed": ["merchant-primary"] },
"recovery": { "strategy": "compensate", "node": "Compensate transaction" }
}
}
}