Lease socket answers a usage readout #1

Merged
eureka merged 5 commits from eureka-body/lease-usage-readout into main 2026-11-06 22:55:18 +00:00

2026-11-06

Meta Vens
lease tests: rustfmt the renamed imports (Soul s2 test-imports-unformatted)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 23:55:01 +01:00
Hands
lease readouts: a pool of their own, a refusal over it, the arm's promises pinned, the request type named for the lease
Readouts no longer take a lease's connection slot: the accept loop admits
max_connections + READOUT_CONNECTIONS, a lease holds one of max_connections
after it is read, a readout one of READOUT_CONNECTIONS, and a readout over its
limit is refused Busy rather than dropped. Socket tests hold the service lock
and a metered cell across readouts (no asking, no week wait, no lock), flood
the readout pool beside leases, and pin the refusal. The new public request
type is LeaseUsageReadoutRequest so it no longer shares a name with the kit's
EnvelopeKind::UsageReadoutRequest; wire bytes and fixtures are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 23:31:24 +01:00
Meta Vens
lease_v2: pin the usage readout request and answer frames
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 22:58:15 +01:00
Meta Vens
2026-11-06 22:55:06 +01:00