route_agent_seat
Routes a worker role to a cost tier and validates planned spend against a budget snapshot, failing closed for unknown roles, modes, or malformed accounting values.
Instructions
Route a worker role to a cost tier and admit its planned spend against the budget snapshot. Fails closed on unknown roles, modes, or malformed accounting values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | read-only (default) or workspace-write. | |
| role | Yes | Worker role. auditor is always read-only. | |
| budget | Yes | Accounting snapshot for the admission decision. All values are supplied by the caller and must be finite. |