fix(models): make tier-change listener registration non-destructive

This commit is contained in:
William Valentin
2026-02-15 21:58:55 -08:00
parent 8709c3c9b4
commit c314e0f067
4 changed files with 32 additions and 1 deletions
@@ -14,6 +14,7 @@ Scope: Production-risk-first audit of bugs, code improvements, and feature oppor
- ✅ F-012 addressed: synthetic repeated-tool nudge no longer emits invalid `tool_result.tool_use_id`; nudge is injected as plain user text guidance.
- ✅ F-009 addressed: gateway now enforces per-connection WebSocket ingress rate limits with deterministic throttle errors and close-on-repeated-violation behavior.
- ✅ F-008 addressed: WhatsApp Chromium launch is now sandboxed by default; no-sandbox mode is behind explicit `whatsapp.no_sandbox: true` opt-in.
- ✅ F-014 addressed: `ModelRouter.setOnTierChange` now preserves existing listeners instead of replacing them, removing destructive listener-setter behavior.
## Executive Summary