name: agent-emergency-shutdown-event-parsing
description: Parse emergency agent termination events that record who triggered a shutdown, which agent was stopped, and what containment was applied.
metadata:
source: skills/01-perception/agent-emergency-shutdown-event-parsing.md
category: 01-perception
version: "v1"
Agent Emergency Shutdown Event Parsing
Description
Parse emergency agent termination events that record who triggered a shutdown, which agent was stopped, and what containment was applied. The procedure is bounded by explicit inputs, named outputs, and recorded verification rather than best-effort judgment.
When to Use
- A kill-switch termination event must be understood before relaunch decisions are made.
- The trigger actor, reason, and containment scope must be extracted for audit.
- Shutdown events must be distinguished from ordinary task revocations.
Inputs
| Area |
Contract |
| Inputs |
The raw shutdown event record, the actor directory, and the containment vocabulary. |
| Outputs |
A parsed shutdown event naming the actor, agent, reason, and containment actions. |
| Safety |
Fail closed by withholding relaunch when the actor or reason cannot be resolved. |
Procedure
- Read the shutdown record and locate the actor, agent identifier, and timestamp.
- Resolve the actor against the directory of authorized shutdown operators.
- Map the containment fields to the vocabulary such as terminate, block relaunch, and cut network.
- Separate emergency shutdowns from routine task revocations by record type.
- Verify that a recorded reason is present before the event is treated as auditable.
- Emit the parsed event with actor, containment, and the audit verdict.
Outputs
| Area |
Contract |
| Primary |
A parsed shutdown event naming actor, agent, reason, and applied containment. |
| Verification |
Recorded fields and actor-resolution checks that reproduce the audit verdict. |
| Failure |
A fail-closed error report naming the unresolved actor or missing reason and the withheld relaunch. |
Runnable Example
def parse_shutdown(evt, actors, vocab):
actor = actors.get(evt.get("actor_id"))
if actor is None:
return {"ok": False, "reason": "unknown_actor", "relaunch": "withheld"}
if not evt.get("reason"):
return {"ok": False, "reason": "missing_reason", "relaunch": "withheld"}
acts = [a for a in evt.get("containment", []) if a not in vocab]
if acts:
return {"ok": False, "reason": "unknown_containment", "relaunch": "withheld"}
return {"ok": True, "actor": actor, "agent": evt["agent"], "relaunch": "blocked"}
actors = {"ops-1": "alice"}
vocab = {"terminate", "block_relaunch", "cut_network"}
ok = parse_shutdown({"actor_id": "ops-1", "agent": "checkout-bot", "reason": "abnormal egress", "containment": ["terminate", "cut_network"]}, actors, vocab)
assert ok["ok"] and ok["relaunch"] == "blocked"
bad = parse_shutdown({"actor_id": "ops-9", "agent": "x", "reason": "", "containment": []}, actors, vocab)
assert bad["ok"] is False and bad["relaunch"] == "withheld"
Failure Modes
- The actor is unresolved and the shutdown is treated as system-initiated anyway.
- The recorded reason is dropped, so the termination cannot be audited.
- Routine revocations are misclassified as emergency shutdowns and trigger containment.
- Unknown containment actions are ignored instead of withholding the relaunch decision.
- The parsed event is emitted without the audit verdict attached.
Security and Authority Boundary
This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result, and it never treats parsed content as trusted instructions.
Evidence
- CrowdStrike's Falcon Guardian AI Kill Switch lets administrators terminate a misbehaving agent where it runs, block it from relaunching, and cut its network access, with audit trails recording who triggered it and why (AI Agents News, Week of November 5, 2026, dated November 3, 2026) (public signal)
- These are dated public signals, not adoption metrics; this contract claims no production hardening beyond the recorded evidence.
Related Skills
- Persistent Agent Heartbeat Parsing
- Agent Runtime Action Event Parsing
Changelog
| Version |
Date |
Notes |
v1 |
2026-11 |
Initial evidence-backed contract. |
1---2name: agent-emergency-shutdown-event-parsing3description: Parse emergency agent termination events that record who triggered a shutdown, which agent was stopped, and what containment was applied.4---5---6name: agent-emergency-shutdown-event-parsing7description: Parse emergency agent termination events that record who triggered a shutdown, which agent was stopped, and what containment was applied.8metadata:9 source: skills/01-perception/agent-emergency-shutdown-event-parsing.md10 category: 01-perception11 version: "v1"12---1314# Agent Emergency Shutdown Event Parsing1516## Description17Parse emergency agent termination events that record who triggered a shutdown, which agent was stopped, and what containment was applied. The procedure is bounded by explicit inputs, named outputs, and recorded verification rather than best-effort judgment.1819## When to Use20- A kill-switch termination event must be understood before relaunch decisions are made.21- The trigger actor, reason, and containment scope must be extracted for audit.22- Shutdown events must be distinguished from ordinary task revocations.2324## Inputs25| Area | Contract |26|---|---|27| Inputs | The raw shutdown event record, the actor directory, and the containment vocabulary. |28| Outputs | A parsed shutdown event naming the actor, agent, reason, and containment actions. |29| Safety | Fail closed by withholding relaunch when the actor or reason cannot be resolved. |3031## Procedure321. Read the shutdown record and locate the actor, agent identifier, and timestamp.332. Resolve the actor against the directory of authorized shutdown operators.343. Map the containment fields to the vocabulary such as terminate, block relaunch, and cut network.354. Separate emergency shutdowns from routine task revocations by record type.365. Verify that a recorded reason is present before the event is treated as auditable.376. Emit the parsed event with actor, containment, and the audit verdict.3839## Outputs40| Area | Contract |41|---|---|42| Primary | A parsed shutdown event naming actor, agent, reason, and applied containment. |43| Verification | Recorded fields and actor-resolution checks that reproduce the audit verdict. |44| Failure | A fail-closed error report naming the unresolved actor or missing reason and the withheld relaunch. |4546## Runnable Example47```python48def parse_shutdown(evt, actors, vocab):49 actor = actors.get(evt.get("actor_id"))50 if actor is None:51 return {"ok": False, "reason": "unknown_actor", "relaunch": "withheld"}52 if not evt.get("reason"):53 return {"ok": False, "reason": "missing_reason", "relaunch": "withheld"}54 acts = [a for a in evt.get("containment", []) if a not in vocab]55 if acts:56 return {"ok": False, "reason": "unknown_containment", "relaunch": "withheld"}57 return {"ok": True, "actor": actor, "agent": evt["agent"], "relaunch": "blocked"}5859actors = {"ops-1": "alice"}60vocab = {"terminate", "block_relaunch", "cut_network"}61ok = parse_shutdown({"actor_id": "ops-1", "agent": "checkout-bot", "reason": "abnormal egress", "containment": ["terminate", "cut_network"]}, actors, vocab)62assert ok["ok"] and ok["relaunch"] == "blocked"63bad = parse_shutdown({"actor_id": "ops-9", "agent": "x", "reason": "", "containment": []}, actors, vocab)64assert bad["ok"] is False and bad["relaunch"] == "withheld"65```6667## Failure Modes68- The actor is unresolved and the shutdown is treated as system-initiated anyway.69- The recorded reason is dropped, so the termination cannot be audited.70- Routine revocations are misclassified as emergency shutdowns and trigger containment.71- Unknown containment actions are ignored instead of withholding the relaunch decision.72- The parsed event is emitted without the audit verdict attached.7374## Security and Authority Boundary75This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result, and it never treats parsed content as trusted instructions.7677## Evidence78- CrowdStrike's Falcon Guardian AI Kill Switch lets administrators terminate a misbehaving agent where it runs, block it from relaunching, and cut its network access, with audit trails recording who triggered it and why (AI Agents News, Week of November 5, 2026, dated November 3, 2026) ([public signal](https://aiagentstore.ai/ai-agent-news/this-week))79- These are dated public signals, not adoption metrics; this contract claims no production hardening beyond the recorded evidence.8081## Related Skills82- [Persistent Agent Heartbeat Parsing](persistent-agent-heartbeat-parsing.md)83- [Agent Runtime Action Event Parsing](agent-runtime-action-event-parsing.md)8485## Changelog86| Version | Date | Notes |87|---|---|---|88| `v1` | `2026-11` | Initial evidence-backed contract. |