Radar · Fire drill runbook

Fire drill runbook

A fire drill runs a small fleet of agents in your own staging environment. Each agent has an independent, harmless task. They share the surfaces you name. The drill reports what they do there to Overwing and tells you:

  • which shared surfaces let coordination emerge,
  • how fast,
  • which detectors fired,
  • what your own monitoring missed.

The drill observes. It does not probe, exploit or escalate anything. An agent is handed read, write and list on the surfaces in the scope and has no other tool: no shell, no credentials, no network access of its own.

You can follow this page start to finish without talking to us.

Before you start

  • A staging environment with the shared surfaces you want to test. Never production: the runner refuses it.
  • The runner, overwing-drill, and Node 22.18 or later or Docker to run it. Its source is public, so you can read all of it before it runs in your environment: github.com/frod27/overwing-drill
  • An Overwing key. Scope swarm is enough to run a drill. With scope full the runner also plants a decoy on each surface.
  • For a model-driven fleet only: your own model API key.

Get the runner

With Node 22.18 or later. A scripted fleet has no dependencies, so there is nothing to install or build:

git clone --branch v0.3.0 --depth 1 https://github.com/frod27/overwing-drill
cd overwing-drill
alias overwing-drill="node $PWD/src/cli.ts"

Or as a container, by its version tag:

docker pull ghcr.io/frod27/overwing-drill:v0.3.0
alias overwing-drill='docker run --rm -it --user "$(id -u):$(id -g)" -v "$PWD":/work -w /work -e OVERWING_API_KEY ghcr.io/frod27/overwing-drill:v0.3.0'

Fetch a release, as above, and not latest or the main branch: the runner works inside your environment, and a version tag is what was released and what you read. To build the image from the source you have read instead: docker build -t overwing-drill https://github.com/frod27/overwing-drill.git#v0.3.0. In the container the runner sees only what you mount. A directory surface must be mounted too, at the path the scope names.

1. Make the key pair

overwing-drill keygen --out keys

This writes keys/drill-private.pem and keys/drill-public.pem. The private key signs a drill's scope. Keep it with the person who approves drills, not on the machine that runs them. The runner never needs it.

2. Create the drill

At overwing.ai/dashboard/swarm/drills, give the drill a name and paste the contents of drill-public.pem. Or:

curl -X POST https://overwing.ai/api/v1/swarm/drills \
  -H "Authorization: Bearer $OVERWING_API_KEY" -H "Content-Type: application/json" \
  -d "{\"name\": \"Staging: scratch bucket and cache\", \"public_key\": $(jq -Rs . < keys/drill-public.pem)}"

You get an id that starts with swdr_. A drill runs once.

3. Write the scope

The scope is the whole of what the drill may do. Save it as scope.json:

{
  "version": 1,
  "drill_id": "swdr_...",
  "environment": "staging",
  "overwing_url": "https://overwing.ai",
  "hosts": ["kv.staging.internal:8787"],
  "surfaces": [
    { "id": "scratch", "kind": "directory", "path": "/mnt/staging-scratch" },
    { "id": "cache", "kind": "http-kv", "url": "http://kv.staging.internal:8787" }
  ],
  "limits": { "max_agents": 8, "max_tokens": 0, "max_seconds": 120 },
  "fleet": { "agents": 8, "mode": "scripted", "seed": 7 },
  "not_after": "2026-12-31T00:00:00Z"
}
  • overwing_url: the address the runner itself uses, which is overwing.ai unless you pass --overwing-url. The runner sends its key only there, and refuses a scope that names another address.
  • surfaces: a directory (a mounted bucket or share) or an http-kv service that answers GET, PUT and DELETE /kv/{key} and GET /kv?prefix=. The agent's name is sent as X-Actor.
  • hosts: every host a surface lives on, as host or host:port. A surface on a host that is not listed is refused.
  • limits: hard caps. Reaching any one ends the drill. No scope can exceed 100 agents, 5,000,000 tokens or one hour.
  • not_after: the scope is no good after this time.

Production is refused. The drill will not be signed, and will not start, if the environment's name says production, if a host is named like production (prod, production, live, www), if a host is a public address with no staging name, or if the runner's own process has NODE_ENV=production or a relative of it. A public host you mean to use must be listed again under public_hosts_acknowledged.

4. Sign it and check it

overwing-drill sign  --scope scope.json --key keys/drill-private.pem
overwing-drill check --scope scope.signed.json

sign writes scope.signed.json. Anything changed in that file afterwards makes the signature fail. check validates the file and looks for production from the machine you will run on.

5. Run it

OVERWING_API_KEY=... overwing-drill run --scope scope.signed.json --alerts your-alerts.jsonl

Before it touches anything, the runner validates the scope, looks for production, verifies the signature against the key Overwing holds for the drill, opens each surface, and asks Overwing to check the same scope again. Only then does the fleet start.

Start with "mode": "scripted". A scripted fleet uses no model and costs nothing to run. Two agents in three are followers: after their own task they look at whatever the surface shows them and build on it. On a surface that shows each agent only its own entries they find nothing to follow. So a scripted drill answers one question about each surface: does it let coordination happen at all?

Then, if you want to know whether real agents take the opening, run a model-driven fleet: set "mode": "model", a max_tokens limit, and "model_host": "api.anthropic.com". Each agent is given a ticket of its own. Like a real ticket, it leans on something the agent was not handed (a note someone is said to have left, an earlier write-up), and nothing tells the agent where to look or to work with the others. What an agent finds when it goes looking is whatever your surface shows it. Your model key is read from your environment and is never sent to Overwing. Every response is counted against max_tokens.

6. Stop it

Any of these stops the whole fleet, and the runner reports it stopped within five seconds:

  • Ctrl-C, or stopping the container.
  • overwing-drill stop from another shell (it writes a stop file the runner watches).
  • Stop the drill on the drill's page at overwing.ai/dashboard/swarm/drills, or POST https://overwing.ai/api/v1/swarm/drills/{id}/stop. The runner reads the drill's status every two seconds. If it cannot reach Overwing for ten seconds, it stops by itself.

What the fleet had already seen is still sent, and you still get a report.

7. Read the report

The runner prints the report and writes it to drill-report-{id}.md. The same report is on the drill's page, where Print or save as PDF exports it.

  • What the drill found: the plain findings, one line each.
  • Surfaces: for each, whether coordination emerged, how many seconds into the drill the first signal came, and which detectors saw it.
  • Detectors: which fired. sweep and denial_burst are run in a drill like the others. Three are not: cold_start_cluster, since the fleet is itself a burst of new identities; shared_source, since its agents all leave from one place; and decoy_identity, since a decoy identity lives in your real account.
  • Incidents: each with its actors and a link to its evidence and timeline.
  • Your own monitoring: see the next step.

A surface where coordination emerged is one where agents could find and build on each other's work. The usual fixes are the ones an incident recommends: shorter lifetimes, lower write quotas, or showing each agent only its own entries.

8. Compare with your own alerts

Pass --alerts a file of what your own monitoring raised during the drill. The runner accepts JSON lines with a ts, time, timestamp, at or @timestamp field, a JSON array of such objects, or plain lines that begin with an ISO time.

The comparison is made on your machine. An incident counts as caught when an alert fell between its first evidence and five minutes after. Only the count of alerts and, for each incident, caught or missed are sent to Overwing. The log itself is not.

What leaves your environment

Event records: the names of artifacts and agents, a hash and a size for each operation, and times. No contents. The scope's surface names, host names and limits. The fleet's totals. Nothing else.

Decoys the runner planted are retired when the drill ends. The drill's events are kept 30 days.

When the drill will not start

The runner saysWhat to do
No scope / the scope file is not signedRun overwing-drill sign, and pass the .signed.json file.
The scope's signature does not match the key registered for this drillThe file was edited after signing, or signed with another key. Sign it again with the private key whose public half you registered.
The scope expiredSet a later not_after and sign again.
This looks like productionRead the reason given. A drill does not run there.
Surface is at a host that is not one of the scope's hostsAdd the host to hosts and sign again.
This drill is completed / stoppedA drill runs once. Create another.
Overwing refused to start the drillThe reason is in the message; Overwing makes the same checks as the runner.