Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions contracts/rfcs/004-budgets-allocate-enforce.md
Original file line number Diff line number Diff line change
@@ -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.