AIB Agent Lifecycle & Kill-Switch Runbook
Version: 1.0 | Status: Draft | Date: 2026-06-12 Owner: CRO / ARB | Parent: AI & Model Risk Charter
1. Purpose
An agent in a regulated bank is a controlled change to the bank's operating model, not a script someone can spin up and forget. This runbook governs the full lifecycle of every Paperclip agent in the Agent Register — from the first onboarding proposal through every modification and retrain to eventual decommission — and provides the operational kill-switch runbook for taking a misbehaving agent out of production fast and safely.
Every lifecycle transition is a row in the agent_change_request table (migration
0004_agent_ops). That table is the single source of truth for "what state is this
agent in, who asked, who decided, and on what evidence." No agent enters, changes, or
leaves production except through an agent_change_request. This makes the agent fleet
auditable as a change-managed system and satisfies the
AI & Model Risk Charter §1
precondition that no agent goes live without documented model-risk sign-off.
The runbook upholds Architecture Principle P11: agents propose, humans dispose.
A lifecycle change is itself proposed (requested_by) and disposed (arb_decision,
status) by accountable humans — never self-actuated by the agent.
2. Lifecycle states & the agent_change_request model
A change request carries: agent_id, change_type
(onboard / modify / retrain / suspend / decommission), description,
requested_by, arb_decision (pending / approved / rejected / deferred),
model_validation_ref (the MOD-* / SIM-AIS-* evidence), ai_act_tier
(high / material / assistive / limited), status
(draft / in_review / approved / rejected / implemented), created_at, and
decided_at.
arb_decision records the governance verdict (did the Architecture Review Board /
Model Risk Committee approve?); status records the workflow position of the request
itself. A request can be approved (arb_decision) yet still in_review (status)
until the access grant and register update are completed and it flips to implemented.
change_type | Trigger | Gate |
|---|---|---|
onboard | New agent proposed for a building block | ARB + model-risk sign-off + shadow mode |
modify | Skill/scope/prompt change, owner change | ARB review; re-validation if material |
retrain | agent_eval breach or drift (eval doc §7) | Model Risk Committee; re-validation mandatory |
suspend | Eval red, incident, regulator demand | CRO/CISO/owner; reversible |
decommission | Agent retired or replaced | ARB; access revoked, register row closed |
3. Onboarding flow
A new agent moves from idea to production through a fixed gate. It never receives any data access before model-risk sign-off, and never reaches production before a successful shadow run.
Steps:
- Propose. The sponsoring function opens an
agent_change_requestwithchange_type = 'onboard',status = 'draft',requested_by, and adescriptionof the agent's bounded domain and building block (e.g.ABB-AMLforaib-cco). - ARB review. The Architecture Review Board
checks scope, building-block fit, the named human owner, and separation of duties
against the Data Ownership Matrix. On
approval,
arb_decision = 'approved',status = 'in_review'. - Model-risk sign-off. Per the
AI & Model Risk Charter §1 and
the Model Validation Charter:
intended use, provenance, bias, explainability, robustness, failure modes, kill-switch.
model_validation_ref(MOD-*/SIM-AIS-*) andai_act_tierare written here. - Access grant. The human owner's authorisation is granted via an
app_user_rolerow (role_code= the owner's role, e.g.CCO); the agent is added as a row in the Agent Register. Note: the grant authorises the human disposer, not a standing write credential for the agent — agents hold none (P11). - Shadow mode. The agent runs against live (mock) data and proposes only; outputs are scored against the golden set (Evaluation doc §3) but are not committed. The owner reviews shadow proposals for a defined window.
- Production. When shadow KPIs clear threshold,
status = 'implemented'and the agent enters production at its access tier (Propose / query-only, or Approval-gated foraib-paymentsdual-auth, or Read-only foraib-audit).
4. Modify & retrain
Modify (change_type = 'modify') covers a skill change, scope/building-block change,
prompt revision, or owner change. ARB reviews; if the change is material (per the
Model Validation Charter "major update" trigger — new features, >10% output change), it
requires full re-validation before status = 'implemented'.
Retrain (change_type = 'retrain') is the canonical downstream action of agent
evaluation. When an agent_eval row is written with breached = 1, or a drift monitor
trips, the Model Risk Committee directs a retrain change request (see
Agent Evaluation & Monitoring §7).
Re-validation is mandatory for retrain — the new model version is treated as a new
model for validation purposes, and model_validation_ref is updated. A retrained agent
re-enters shadow mode (§3 step 5) before returning to production unless the Committee
records an explicit, justified exception.
5. Suspend & decommission
Suspend (change_type = 'suspend') is the reversible stop. The agent stops proposing;
its open agent_proposal rows are frozen pending human handling; the human fallback
(§6) takes over the function. Suspension is invoked by the kill-switch runbook (§6) and
is intended to be temporary — the agent returns to production only when the restoration
criteria are met and the Committee records arb_decision = 'approved' on the re-entry.
Decommission (change_type = 'decommission') is the irreversible retirement. On
implementation: the agent's enabling access is revoked, its row in the
Agent Register is closed, any associated
app_user_role grant created solely for the agent's workflow is revoked
(active = 0, revoked_at set), and the building block it served is reassigned or
retired through Phase H change management. The full agent_change_request history and
all of the agent's audit_log rows are retained 10 years — the agent leaves, its record
does not.
6. KILL-SWITCH RUNBOOK (operational)
When an agent must be stopped now, follow this runbook. It is the fast path; the
agent_change_request and rcsa_risk_event paperwork is completed in parallel, not as a
precondition.
6.1 Trigger conditions
| Trigger | Source | Example |
|---|---|---|
| Eval red breach | agent_eval.breached = 1 | aib-cco recall falls below the AML floor; hallucination_rate red on MOD-007 |
| Security incident | CISO / PROC-010 (DORA) | Prompt-injection, credential exposure, anomalous query volume |
| Regulator demand | FMA / supervisory request | FMA directs the bank to halt an automated decision |
| Model failure | Inference outage / corrupt output | OpenRouter gateway SIM-AIS-001 returns malformed or unsafe output |
6.2 Who can pull it
| Role | May suspend |
|---|---|
| CRO | Any agent |
| CISO / CTO | Any agent (security or model-failure trigger) |
| Named human owner | Their own agent(s) — see Agent Register |
A single authorised individual can suspend; no quorum is required to stop. Restarting requires the §6.5 governance step.
6.3 Mechanism — step by step
- Disable the agent in the Paperclip workspace (AIB project): set the agent inactive so it stops emitting proposals immediately.
- Revoke the enabling authorisation. Where the agent's workflow depends on a role
grant, set the relevant
app_user_rolerow(s)active = 0and stamprevoked_at. Because agents hold no standing write credential (P11), this plus step 1 fully severs the agent's ability to affect operational data. - Stop the proposal stream. Any
agent_proposalrows the agent has open are left instatus = 'open'and frozen — they are routed to the human fallback for manual disposition rather than auto-expired, so nothing in flight is silently lost. - Open the record. Create an
agent_change_requestwithchange_type = 'suspend',requested_by= the person who pulled the switch,description= trigger + timestamp,arb_decision = 'pending',status = 'in_review'. - Raise the risk event.
aib-riskproposes anrcsa_risk_event(and, if a DORA ICT incident, followPROC-010); commit on CRO approval perP11.
6.4 Human fallback
Suspension must never create an operational gap. The moment an agent is suspended, the
named human owner's team resumes the function manually — the same humans who today
dispose the agent's proposals already hold the authority and the screens to do the work
without it. The bank operated these functions before the agent existed; it can operate
them without it. Deadline-bound functions are prioritised: STR filing (PROC-002,
5-day), payment dual-auth (PROC-008), settlement (PROC-009).
6.5 Notification
- Immediately: CRO, CCO, the agent's human owner, CISO (if security trigger).
- Per the Escalation SOP: a regulatory violation escalates to CCO + Board within 4 hours; a confirmed security breach to CTO + CCO + Board within 1 hour; a DORA major incident to CTO + FMA within 4 hours.
- FMA: where the suspended agent supports a regulated decision, the FMA Liaison notifies the supervisor.
6.6 Restoration criteria
An agent returns to production only when all hold:
- Root cause identified and remediated (logged on the suspend
agent_change_request). - Re-validation passed per the
Model Validation Charter
(mandatory if the trigger was eval/model failure);
model_validation_refupdated. - A successful shadow-mode re-run (§3 step 5) against the current golden set.
- Model Risk Committee / ARB records
arb_decision = 'approved'on the re-entry request;status = 'implemented'. - FMA informed of restoration where it was informed of suspension.
No agent self-restores; no owner restarts an agent suspended for a regulatory or security trigger without the §6.5 sign-off.
7. Cross-references
- Architecture Principle P11 (Architecture Principles)
- AI & Model Risk Charter — §1 preconditions, model-risk sign-off
- Model Validation Charter — validation triggers, MRC
- Agent Evaluation & Monitoring — breach → retrain trigger (§7)
- Agent Register — owners, tiers, escalation paths
- ARB Charter — change approval authority
- Escalation SOP — notification SLAs
- FMA Liaison Charter — supervisory notification
- Tables:
agent_change_request,app_user_role,agent_proposal,rcsa_risk_event,audit_log(migration0004_agent_ops) - Process refs:
PROC-002(AML/STR),PROC-008(payment dual-auth),PROC-009(settlement recon),PROC-010(DORA incident)
References
- agentAgent — CCO — Chief Compliance Officer (agent:aib-cco)
- agentAgent — Payments Officer (agent:aib-payments)
- ServiceAIB Audit Service API
- ServiceAIB Risk Service API
- ProcessPROC-002: AML Investigation & STR Filing
- ProcessPROC-008: Payment & Dual Authorization Workflow
- ProcessPROC-009: Settlement Reconciliation & Exception Handling
- ProcessPROC-010: DORA Incident Reporting (4h/72h/1m Cadence)
- GovernanceAIB Agent Register
- GovernanceAIB AI & Model Risk Governance Charter
- Tableagent_change_request
Referenced by
- agentAgent — CEO (agent:aib-ceo)
- agentAgent — CIO — Chief Investment Officer (agent:aib-cio)
- agentAgent — CLO (agent:aib-clo)
- agentAgent — CRO (agent:aib-cro)
- agentAgent — RM — HNW (agent:aib-rm-hnw)
- agentAgent — RM — UHNW (agent:aib-rm-uhnw)
- GovernanceAgent Definition Standard (ADS v2)
- GovernanceAIB Agent Evaluation & Monitoring