Expand description
Pure destination budget planning.
The planner never edits request data. Callers identify any host-marked prose
spans separately; everything else belongs in protected_request.
Structs§
- Budget
Input - Immutable inputs to
plan_budget. - Budget
Plan - A successful arithmetic plan. It contains no transformed request data.
- Destination
Limits - Destination limits used by the pure planner.
- Eligible
Prose Span - A contiguous prose span that trusted-host metadata has marked eligible.
- Request
Budget Contract - Immutable contract carried to the final production request boundary.
Enums§
- Budget
Outcome - Exhaustive outcome from the pure planner.
- Output
Ceiling Field - Wire field that must carry the reserved output ceiling.
- Wire
Contract - Final wire representation whose framing has been proven for counting.
Constants§
- SYNTHETIC_
EXACT_ MODEL - Synthetic destination used by deterministic request-boundary fixtures.
Functions§
- endpoint_
fingerprint - Stable, non-secret identity for an explicitly configured endpoint.
- plan_
budget - Compute
I = min(L, H, C - O - R - M)andB = I - Fwithout I/O or request mutation. - validate_
final_ count - Recount the complete final serialization and prove it fits the plan.