Caps concurrent upstream requests and schedules goals via weighted fair queuing. When 36+ agents burst at once, excess calls wait in a bounded queue instead of triggering 429 Too Many Requests.
Hashes (tool, normalized_payload) so identical in-flight read requests share a single upstream call, and caches recent reads to eliminate redundant LLM sub-agent polling.
03 / FENCED LEASES & VERSIONED CAS STATE (locks.py · state.py)LOST WRITES: 0 · FENCED
Grants expiring leases with monotonically increasing fencing_token numbers and requires If-Match version checks on shared state so concurrent writers never overwrite each other.
Enforces per-agent tool rules (blocking read_only_agent from DELETE endpoints) and pauses high-value financial actions (`>= $100`) in pending_approval until human sign-off.