Skip to content

Kill Switch

Emergency halt capability with graceful recovery.

Trigger Levels

LevelScopeEffect
L1Specific action typeBlocks one action category
L2DomainBlocks all actions in domain
L3TenantHalts all AI actions for tenant
L4GlobalEmergency 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.com

Recovery

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'
});

The AI Responsibility Layer