fix: #114 #123 #132 + circuit breaker stats — 4 HIGH from dual-audit v2.0.88-90
- client.js: cascadeHistoryBudget default 200k→400k, add truncation note for trimmed history so model doesn't ask user to repeat - handlers/chat.js: add IP-rate-limit circuit breaker for non-stream and stream paths, record policy blocked + rate limited events - handlers/messages.js: defensive startMessage() in finish() prevents event ordering violation when message stops before it starts - dashboard/stats.js: track policyBlockedCount and rateLimitedCount, persist to stats.json for dashboard visibility
D
dwgx committed
7f9d74fd17f0d461b905553d2c03583b2e0a9fdf
Parent: c1acab6
Committed by dwgx <143298346+dwgx@users.noreply.github.com>
on 5/7/2026, 5:28:55 AM