ModelConnector/crates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens a98594ed39 meter: driven by the connector's own lease state, not the brake store (findings brake-store-broken-reads-as-held, braked-bounce-unobserved, rejected-reading-backs-off-six-hours, meter-failure-kind-read-by-nobody)
The meter reads the week only while a lease is held or was asked for less
than a staleness period ago. A held swarm brake stops the units, so a braked
or quiet swarm spends nothing; the brake path, the duplicate brake type, the
store read, the frozen store fixture and the chrono serde feature are gone.
A request is noted by the QuotaCell for as long as it lives (a 4 h lease
counts) and wakes the meter. A lease asked of a metered cell with no weekly
reading (every restart) waits up to 10 s for the meter's first read before it
is lent, so it is not lent unobserved for its whole life.

A call is a miss only if it left the reading unrefreshed: a rejected turn
that reports its windows and then errors is no miss, so a rejected reading is
kept fresh every period. The failure kind is logged on change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:45:21 +01:00
..
claude-connector meter: driven by the connector's own lease state, not the brake store (findings brake-store-broken-reads-as-held, braked-bounce-unobserved, rejected-reading-backs-off-six-hours, meter-failure-kind-read-by-nobody) 2026-11-03 12:45:21 +01:00
model-connector connector-usage-only: regenerate v4 goldens and schemas, format, fix tests 2026-10-31 04:51:05 +01:00