Kill Switch
Emergency halt capability with graceful recovery.
Trigger Levels
| Level | Scope | Effect |
|---|---|---|
L1 | Specific action type | Blocks one action category |
L2 | Domain | Blocks all actions in domain |
L3 | Tenant | Halts all AI actions for tenant |
L4 | Global | Emergency halt across all tenants |
Triggering
typescript
await sovr.killswitch.trigger({
level: 'L2',
scope: 'finance',
reason: 'Suspicious trading pattern detected',
triggeredBy: 'risk_monitor@company.com'
});Automatic Triggers
yaml
triggers:
- name: anomaly_halt
condition:
risk_score_gt: 90
consecutive_count: 3
action:
level: L2
notify:
- security@company.comRecovery
typescript
const status = await sovr.killswitch.status();
// { active: true, level: 'L2', scope: 'finance' }
await sovr.killswitch.recover({
recoveredBy: 'cto@company.com',
comment: 'Investigation complete, false positive'
});