Area: backend · Effort: M
What: Add a platform-level circuit breaker that an admin can trigger to halt all deposits and withdrawals across all vaults simultaneously during a critical incident.
Why: When a security incident or smart contract exploit is detected, the operator needs to stop all financial activity instantly across the entire platform, not vault by vault.
Acceptance Criteria:
POST /admin/platform/circuit-breaker/open halts all deposits and withdrawals globally
- All affected endpoints return a
503 with a message explaining the maintenance window
POST /admin/platform/circuit-breaker/close restores normal operation
- Circuit breaker state changes are logged in the audit trail with the actor's identity
Hints:
- Store circuit breaker state in Redis for instant cross-instance propagation
- Add a guard that checks the circuit breaker state on every deposit/withdrawal endpoint
- Implement the circuit breaker as a platform feature flag
Area: backend · Effort: M
What: Add a platform-level circuit breaker that an admin can trigger to halt all deposits and withdrawals across all vaults simultaneously during a critical incident.
Why: When a security incident or smart contract exploit is detected, the operator needs to stop all financial activity instantly across the entire platform, not vault by vault.
Acceptance Criteria:
POST /admin/platform/circuit-breaker/openhalts all deposits and withdrawals globally503with a message explaining the maintenance windowPOST /admin/platform/circuit-breaker/closerestores normal operationHints: