feat: global failover + dashboard model config section
- Failover is now global (account-level, not per-channel) - Dashboard shows role model config (Owner/Reviewer/Arbiter + MoA refs) - Dashboard shows failover status when active - Auto-clear failover on successful Claude rotation - Remove per-channel lease writes from failover path
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
getTokenCount,
|
||||
markTokenHealthy,
|
||||
} from './token-rotation.js';
|
||||
import { clearGlobalFailover } from './service-routing.js';
|
||||
|
||||
// ── Types ────────────────────────────────────────────────────────
|
||||
|
||||
@@ -159,6 +160,7 @@ export async function runClaudeRotationLoop(
|
||||
|
||||
// ── Success ──
|
||||
markTokenHealthy();
|
||||
clearGlobalFailover();
|
||||
return { type: 'success' };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user