ModelConnector/crates/model-connector
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens d6f9792f39 connector-spend: one function decides the charge; a bound result is billed its true cost whatever else is malformed (s4.bound-malformed-overrun-undercharged, s4.binding-identity-unpinned)
Ruling spend-bills-on-identity-not-validity: ProviderCall::charge is the only charge decision; complete no longer routes billing through validate_against. Tests: malformed bound overruns reach the ceiling; each identity field alone sends a result to the reservation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 18:13:14 +01:00
..
src connector-spend: one function decides the charge; a bound result is billed its true cost whatever else is malformed (s4.bound-malformed-overrun-undercharged, s4.binding-identity-unpinned) 2026-10-28 18:13:14 +01:00
tests connector-spend: a caller held in a future window by a behind clock is refused with a named ClockBehindAdmissionWindow, not SpendCeiling 2026-10-28 17:32:16 +01:00
Cargo.toml connector-spend (B3c): reserve-then-settle spend in the replay record, cost derived on the receipt 2026-10-28 15:12:56 +01:00