diff --git a/contracts/rfcs/004-budgets-allocate-enforce.md b/contracts/rfcs/004-budgets-allocate-enforce.md new file mode 100644 index 0000000..827e6a7 --- /dev/null +++ b/contracts/rfcs/004-budgets-allocate-enforce.md @@ -0,0 +1,11 @@ +# RFC 004: Budget allocate and enforce + +## Problem + +- Spec `BudgetPolicy` used for both request and response with client-supplied `budgetId`. +- Platform allocate: server-generated `budgetId`, `ttlSeconds`, `maxCostUsd`, usage counters on response. +- Spec `enforceBudget` uses tier `ModelRoutingPolicy`; platform uses `budgetId` + `fallbackModel`. + +## Proposal + +Split allocate request/response schemas; document enforce operation for budget-bound routing.