carlos / platform Public

docs: fleet alerts Luna docs pass, R-44 and the deferred Task 11 minors

Applies the Luna docs result (R-43) to the README alerting section,
docs/site/cli.md and the roll notes, with three README rows corrected
where the rewrite no longer matched the code: a source that stops
reporting leaves its incidents (not keeps them open), a test no longer
lifts an unsubscribe (R-37), and a message says how much time there is to
act. R-44: the witness creates one incident, and the roll notes open by
asking to reconfirm every account, region, box and profile. Task 11
minors: the overlong README line, the em dash at Config surface, the disk
peak stated as 84.1% at most at a 50 GiB volume, the before-state newline,
and neutral wording for the other console and the dev boxes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 03178af13f11d7ea8c34fff66748cfb96892575a parent a7a181a
4 files changed, +217 −161
  • README.md +68 −66
  • docs/site/cli.md +4 −5
  • docs/superpowers/notes/LUNA-DOCS-RESULT-fleet-alerts-1.md +52 −0
  • docs/superpowers/notes/roll-fleet-alerts-1.md +93 −90
diff --git a/README.md b/README.md
index 44aeabcaa..559ad7d4b 100644
--- a/README.md
+++ b/README.md
@@ -794,7 +794,7 @@ A route added this way is described by no bucket record, so nothing converges
it: its channel and environment are box-local until an instance record adopts
it. A provisioned route's channel is repointed through the record, not here.
-**Config surface** — every env var this feature reads, gathered here since
+**Config surface**: every env var this feature reads, gathered here since
no single reader owns the whole contract:
- `CARLOS_STATUS_BUCKET` / `CARLOS_STATUS_PREFIX` / `CARLOS_STATUS_REGION`
@@ -920,27 +920,26 @@ for the full design.
written only when a rule changes. The console's alert engine reads it
every minute (see [Fleet alerts](#fleet-alerts)).
-**Which rules a box sends itself.** The box's own sinks (the webhook and the
-SNS topic below) carry only the incident-level rules the console cannot see
-for itself: `disk` (the disk is full now) and `engine_silent` (the console's
-alert engine has stopped). Every other rule, the disk forecast, memory,
-CPU, mail relay lag and the location database among them, still goes into
-`alerts/boxes/<box>.json` with every fire and clear, and reaches people
-through the console's alert engine, grouped and with its noise rules. So the
-box's sinks are the backstop for when the console is down, not the main
-channel. `disk` and `engine_silent` go into the alert object too, so while
-the console is up they reach people twice: at once from the box's sinks,
-and again through the engine.
+**Rules sent by the box.** The box's own sinks, the webhook and SNS topic
+below, carry only the incident-level rules the console cannot deliver when it
+is down: `disk` (the disk is full now) and `engine_silent` (the console's
+alert engine has stopped). Every other rule, including the disk forecast,
+memory, CPU, mail relay lag and location database, still goes into
+`alerts/boxes/<box>.json` on every fire and clear. The console's alert engine
+groups those rules and sends them to operators. The box's sinks are a
+backstop, not the main channel. When the console is up, `disk` and
+`engine_silent` reach people through both the box's sinks and the alert
+engine.
**Config surface**, read by the box agent from `/etc/carlos/host.env`:
- `CARLOS_ALERT_WEBHOOK`: optional. The agent POSTs here when `disk` or
`engine_silent` fires or clears. A Slack incoming-webhook URL (https on
`hooks.slack.com`) gets Slack's own `{"text": ...}` body, carrying the
- same words as the email, because Slack refuses any other body. So
- pointing a box at a Slack channel is this one line. Any other URL gets the
- alert event as JSON. Redirects are not followed. Unset skips the webhook
- channel.
+ same words as the email, because Slack refuses any other body. Set this
+ variable to send those alerts to a Slack channel. Any other URL receives
+ the alert event as JSON. Redirects are not followed. Unset skips the
+ webhook channel.
- `CARLOS_ALERT_SNS_TOPIC_ARN`: optional. The agent publishes each `disk`
and `engine_silent` fire and clear to this SNS topic as a plain-text
email-sized message, signed with the box's instance role (which needs
@@ -989,16 +988,16 @@ and again through the engine.
running as root does not check it at all, because the file is the
console's to write, and `carlos status --live` says `engine-beat=off
(agent runs as root, so the backstop is off)`. A watching agent shows
- `engine-beat=on`. A relative path is refused the same way. Unset (every
- box but the console's) shows nothing.
+ `engine-beat=on`. A relative path is refused too. When it is unset, the
+ other boxes show no `engine-beat` field.
**Console surfaces:**
- `GET /fleet/metrics`: operator-only dashboard, with per-box needles and
48-hour sparklines, a per-box per-unit table (ordered by CPU, busiest
first), and active alerts at the top.
-- `GET /fleet/alerts` and `/fleet/alerts/history`: operator-only, where
- fleet alerts go and what has fired (see [Fleet alerts](#fleet-alerts)).
+- `GET /fleet/alerts` and `/fleet/alerts/history`: operator-only pages for
+ current and past fleet alerts (see [Fleet alerts](#fleet-alerts)).
- A "Resources" section on each app's own page: owner-facing, scoped to
that app's own instances only (current CPU and memory plus 48-hour
sparklines); never host-level totals or other tenants' units.
@@ -1010,18 +1009,16 @@ renders them yet — they are the history a later trend view will read.
The console runs an alert engine. Once a minute it reads every box's alert
state and heartbeat, groups what is firing into incidents, and sends each
-incident to the connectors operators have set up on `/fleet/alerts`. It
-replaced the old alert watcher, which mailed every box alert to every
-operator one by one. The design is
+incident to the connectors operators have set up on `/fleet/alerts`. The
+engine replaces the old watcher, which mailed each box alert to each
+operator separately. The design is
`docs/superpowers/specs/2026-10-30-fleet-alerts-and-traffic-design.md`.
-**One console runs it.** The engine runs on a console started without host
-claims, which is every console today: like every console worker, it assumes
-one console per deployment. A host-claim console does not start it and logs
-why. The operator dashboard lists the engine as the "Alert checks" job. Two
-problems show as a note on that job rather than a failure: a connector key
-that cannot be read (see below), and an operator no usable connector
-reaches.
+**One console runs it.** The engine runs on one console per deployment. It
+starts only on a console without host claims, which is every console today. A
+host-claim console logs why it did not start. The operator dashboard lists it
+as the "Alert checks" job. A connector key it cannot read and an operator
+with no usable connector appear as notes on that job, not as failures.
**Rules.** Each rule is one thing to watch across the fleet:
@@ -1041,18 +1038,18 @@ reaches.
Box rules keep their thresholds in each box's `host.env`; the page shows
them read-only with the variable's name. Each rule is on or off. A rule
-that is off still records incidents in History but sends nothing. Each rule
-sends to every confirmed connector unless the operator ticks a subset, and
-the page shows how often it fired in the last 30 days and how often it
-cleared within 10 minutes, so a noisy rule is easy to spot.
-
-Something that stops being reported at all, such as a box silent for over a
-day or a service gone from the fleet summary, leaves its open incidents. An
-incident left with nothing in it closes as "no further reports" rather than
+that is off still records incidents in History but sends nothing. Each
+enabled rule sends to every confirmed connector unless the operator selects
+a subset. The page shows how often it fired in the last 30 days and how
+often it cleared within 10 minutes, which helps identify noisy rules.
+
+If a source stops reporting, such as a box silent for over a day or a service
+gone from the fleet summary, it leaves its open incidents. When an incident
+has nothing left in it, it closes as "no further reports" rather than
"cleared".
-**Connectors** are where alerts go. Each kind is proved before it gets
-anything but its confirmation:
+**Connectors** are where alerts go. Each connector is verified before it
+receives anything beyond its confirmation:
- **Slack**: an incoming-webhook URL on `https://hooks.slack.com/`. The
console posts a test message carrying a confirm link. Opening the link
@@ -1060,19 +1057,19 @@ anything but its confirmation:
channel saw it.
- **Email**: an address. The console sends a confirm link, valid for 7
days, and nothing else goes to the address until it is used. Email goes
- through Keymail first and SES after, like the console's other mail.
+ through Keymail first and then SES, like the console's other mail.
- **Webhook**: an https URL on port 443. The console sends a signed test
when it is added, and the connector is on once a test gets a 2xx answer.
Every email and Slack alert carries an unsubscribe link that turns that
connector off, and nothing else.
-Confirmation messages are limited to 5 an hour and 20 a day, and test sends
-to 10 an hour for each connector. Each operator also gets an email connector
-for their sign-in address, already confirmed, the first time the engine sees
-them as an operator. That happens once: an operator who deletes theirs keeps
-it deleted. Revoking an operator removes theirs and stops anything queued
-for it, and granting the role again seeds a new one.
+Confirmation messages are limited to 5 per hour and 20 per day. Test sends
+are limited to 10 per hour for each connector. The first time the engine sees
+an operator, it creates an already-confirmed email connector for that
+operator's sign-in address. A deleted connector stays deleted. Revoking an
+operator removes the connector and stops anything queued for it. Granting the
+role again creates a new connector.
Slack and webhook URLs are secrets. The console seals them at rest and
never shows them again: the page shows the host and the last four
@@ -1084,14 +1081,18 @@ most 1 KiB of the answer is read, and a send gives up after 5 seconds. A
failed send is recorded as a category (timeout, refused, TLS, status 500
and so on), never with its URL.
-A connector that fails is retried after 1 minute, then at doubling
-intervals up to 12 hours. One that has failed for 24 hours is suspended and
-the operators are told once. A test that gets through turns a suspended or
-unsubscribed connector back on.
+A connector that fails is retried after 1 minute, then at doubling intervals
+up to 12 hours. A connector that has failed for 24 hours is suspended, and
+the operators are told once. A successful test reactivates a suspended
+connector. A connector its recipient unsubscribed stays off until the
+recipient opens a confirm link sent after the unsubscribe: a Slack
+connector's test carries one, and an email connector gets one from "Send a
+new confirm link".
-**Messages.** Every message says what is wrong, how long there is, and what
-to do, and links to the incident and to a snooze page (1 hour, 1 day or 1
-week, for that rule on that box, service or host). The noise rules:
+**Messages.** Every message says what is wrong, how much time there is to
+act, and what to do. It links to the incident and to a snooze page for that
+rule on that box, service or host. Snooze periods are 1 hour, 1 day or 1
+week. The noise rules:
- The first message waits until the incident is 5 minutes old and lists
everything affected so far, so one rule firing on several boxes is one
@@ -1103,7 +1104,8 @@ week, for that rule on that box, service or host). The noise rules:
- Nothing repeats while a condition holds, except one reminder a day for an
incident open over 24 hours. A clear sends one message.
- A rule that fires 3 times in an hour on one box becomes one open incident
- marked as flapping, until an hour passes with no firing.
+ marked as flapping. It stays marked as flapping until an hour passes with
+ no firing.
The links in messages go to `/alerts/confirm/<token>`,
`/alerts/unsubscribe/<token>` and `/alerts/snooze/<token>`. The token is the
@@ -1117,23 +1119,23 @@ nothing. Snooze links last 30 days.
`members`, `what`, `how_long`, `what_to_do`, `at`, `incident_url` and
`snooze_url`. Each request carries the header
`Carlos-Signature: t=<unix seconds>,ed25519=<base64>`, an Ed25519 signature
-over `carlos-alert`, a newline, `t`, a newline and the body. The label means a mail event can never
-pass as an alert. The public key is on `/fleet/alerts` and served as bare
-base64 text at `GET /alerts/signing-key`, so receivers outside CARLOS can
-check it.
+over `carlos-alert`, a newline, `t`, a newline and the body. The
+`carlos-alert` label prevents a mail event from passing as an alert. The
+public key is on `/fleet/alerts` and served as bare base64 text at
+`GET /alerts/signing-key`, so receivers outside CARLOS can check it.
**Delivery is at least once.** Each incident change and the messages it
queues are committed in one SQLite transaction, so a console that dies
mid-pass loses nothing. A console that dies after a send but before
recording it sends that one message again when it comes back. Webhook
-receivers drop the repeat by `delivery_id`; Slack and email can't, and a
-rare duplicate is the cost.
+receivers drop repeats by `delivery_id`. Slack and email do not deduplicate
+them, so a rare duplicate can occur.
**The connector key and restores.** The seal key is a 32-byte AES-256-GCM
key in its own 0600 file beside console.db, `alert-connectors.key`
(`/data/console/alert-connectors.key` by default). It is kept out of the
database on purpose: console.db is replicated to the bucket, and a replica
-or backup alone must not reveal a Slack URL. So back the key file up
+or backup alone must not reveal a Slack URL. Back up the key file
separately. The console creates it on its first pass, and only when the
path does not exist at all. After a restore from the replica alone, the
console makes a fresh key, every Slack and webhook connector shows "Enter
@@ -1146,10 +1148,10 @@ on every pass.
**When the engine took over** it read what the old watcher had already
mailed, so a rule that was already firing was not announced a second time.
-**Not yet.** No SMS, and no account or app alerts: this is the operators'
-fleet scope only. The console's one-off pages (moves recovery, egress
-conflict, lifetimes, claim loss) still go through `alerting.Page`, which is
-armed only on host-claim consoles, as before.
+**Current scope.** The engine sends no SMS, account alerts or app alerts. It
+covers operator fleet alerts only. The console's one-off pages (moves
+recovery, egress conflict, lifetimes, claim loss) still go through
+`alerting.Page`, which is armed only on host-claim consoles, as before.
## App capabilities
diff --git a/docs/site/cli.md b/docs/site/cli.md
index 4399a7e76..1529bde05 100644
--- a/docs/site/cli.md
+++ b/docs/site/cli.md
@@ -2457,12 +2457,11 @@ sink configured. `alerts=sns-unavailable` means a topic is set but the box
could not build its SNS client, so nothing is delivered through it. A dash
means the box runs an older binary and did not say.
-On the box that runs the console, with `CARLOS_ALERT_ENGINE_BEAT` set in its
-`host.env`, the column goes on: ` engine-beat=on` when the agent is watching
-the console's alert engine, and ` engine-beat=off (...)` with the reason when
-it will not, for example
+For the console box, if `CARLOS_ALERT_ENGINE_BEAT` is set in its `host.env`,
+the column also shows ` engine-beat=on` while the agent watches the console's
+alert engine, or ` engine-beat=off (...)` with the reason. For example,
`engine-beat=off (agent runs as root, so the backstop is off)`. Boxes without
-the setting show nothing more.
+the setting show no additional field.
```sh
carlos status --live
diff --git a/docs/superpowers/notes/LUNA-DOCS-RESULT-fleet-alerts-1.md b/docs/superpowers/notes/LUNA-DOCS-RESULT-fleet-alerts-1.md
new file mode 100644
index 000000000..3b0eabc7c
--- /dev/null
+++ b/docs/superpowers/notes/LUNA-DOCS-RESULT-fleet-alerts-1.md
@@ -0,0 +1,52 @@
+No files were modified. The worktree is clean.
+
+| file | the exact current sentence or line | new | why |
+|---|---|---|---|
+| `README.md:923` | `**Which rules a box sends itself.**` | `**Rules sent by the box.**` | More direct heading. |
+| `README.md:924-926` | `The box's own sinks (the webhook and the SNS topic below) carry only the incident-level rules the console cannot see for itself: \`disk\` (the disk is full now) and \`engine_silent\` (the console's alert engine has stopped).` | `The box's own sinks, the webhook and SNS topic below, carry only the incident-level rules the console cannot deliver when it is down: \`disk\` (the disk is full now) and \`engine_silent\` (the console's alert engine has stopped).` | Defines the operational reason more clearly. |
+| `README.md:926-929` | `Every other rule, the disk forecast, memory, CPU, mail relay lag and the location database among them, still goes into \`alerts/boxes/<box>.json\` with every fire and clear, and reaches people through the console's alert engine, grouped and with its noise rules.` | `Every other rule, including the disk forecast, memory, CPU, mail relay lag and location database, still goes into \`alerts/boxes/<box>.json\` on every fire and clear. The console's alert engine groups those rules and sends them to operators.` | Removes a long sentence and vague phrasing. |
+| `README.md:930` | `So the box's sinks are the backstop for when the console is down, not the main channel.` | `The box's sinks are a backstop, not the main channel.` | Shorter and calmer. |
+| `README.md:931-933` | `` `disk` and `engine_silent` go into the alert object too, so while the console is up they reach people twice: at once from the box's sinks, and again through the engine. `` | `` When the console is up, `disk` and `engine_silent` reach people through both the box's sinks and the alert engine. `` | Removes filler and clarifies the duplicate delivery. |
+| `README.md:940-942` | `So pointing a box at a Slack channel is this one line. Any other URL gets the alert event as JSON.` | `Set this variable to send those alerts to a Slack channel. Any other URL receives the alert event as JSON.` | Removes casual and vague wording. |
+| `README.md:992-993` | `A relative path is refused the same way. Unset (every box but the console's) shows nothing.` | `A relative path is refused too. When it is unset, the other boxes show no \`engine-beat\` field.` | Fixes the dangling subject. |
+| `README.md:1000-1001` | `` `GET /fleet/alerts` and `/fleet/alerts/history`: operator-only, where fleet alerts go and what has fired (see [Fleet alerts](#fleet-alerts)). `` | `` `GET /fleet/alerts` and `/fleet/alerts/history`: operator-only pages for current and past fleet alerts (see [Fleet alerts](#fleet-alerts)). `` | States what each page is for. |
+| `README.md:1011-1015` | `It replaced the old alert watcher, which mailed every box alert to every operator one by one.` | `The engine replaces the old watcher, which mailed each box alert to each operator separately.` | Uses present tense and removes awkward wording. |
+| `README.md:1018-1024` | `**One console runs it.** The engine runs on a console started without host claims, which is every console today: like every console worker, it assumes one console per deployment. A host-claim console does not start it and logs why. The operator dashboard lists the engine as the "Alert checks" job. Two problems show as a note on that job rather than a failure: a connector key that cannot be read (see below), and an operator no usable connector reaches.` | `**One console runs it.** The engine runs on one console per deployment. It starts only on a console without host claims, which is every console today. A host-claim console logs why it did not start. The operator dashboard lists it as the "Alert checks" job. A connector key it cannot read and an operator with no usable connector appear as notes on that job, not as failures.` | Fixes the grammar and removes the unclear comparison. |
+| `README.md:1045-1047` | `Each rule sends to every confirmed connector unless the operator ticks a subset, and the page shows how often it fired in the last 30 days and how often it cleared within 10 minutes, so a noisy rule is easy to spot.` | `Each enabled rule sends to every confirmed connector unless the operator selects a subset. The page shows how often it fired in the last 30 days and how often it cleared within 10 minutes, which helps identify noisy rules.` | Makes the off-state exception explicit. |
+| `README.md:1049-1052` | `Something that stops being reported at all, such as a box silent for over a day or a service gone from the fleet summary, leaves its open incidents. An incident left with nothing in it closes as "no further reports" rather than "cleared".` | `If a source stops reporting, such as a box silent for over a day or a service gone from the fleet summary, its open incidents remain open. When an incident has no further reports, it closes as "no further reports" rather than "cleared".` | Replaces vague wording with a direct condition. |
+| `README.md:1054-1055` | `**Connectors** are where alerts go. Each kind is proved before it gets anything but its confirmation:` | `**Connectors** are where alerts go. Each connector is verified before it receives anything beyond its confirmation:` | “Kind is proved” is awkward. |
+| `README.md:1061-1063` | `Email goes through Keymail first and SES after, like the console's other mail.` | `Email goes through Keymail first and then SES, like the console's other mail.` | Fixes the phrasing. |
+| `README.md:1070-1075` | `Confirmation messages are limited to 5 an hour and 20 a day, and test sends to 10 an hour for each connector. Each operator also gets an email connector for their sign-in address, already confirmed, the first time the engine sees them as an operator. That happens once: an operator who deletes theirs keeps it deleted. Revoking an operator removes theirs and stops anything queued for it, and granting the role again seeds a new one.` | `Confirmation messages are limited to 5 per hour and 20 per day. Test sends are limited to 10 per hour for each connector. The first time the engine sees an operator, it creates an already-confirmed email connector for that operator's sign-in address. A deleted connector stays deleted. Revoking an operator removes the connector and stops anything queued for it. Granting the role again creates a new connector.` | Removes ambiguity and jargon. |
+| `README.md:1087-1090` | `A connector that fails is retried after 1 minute, then at doubling intervals up to 12 hours. One that has failed for 24 hours is suspended and the operators are told once. A test that gets through turns a suspended or unsubscribed connector back on.` | `A connector that fails is retried after 1 minute, then at doubling intervals up to 12 hours. A connector that has failed for 24 hours is suspended, and the operators are told once. A successful test reactivates a suspended or unsubscribed connector.` | Removes the dangling pronoun and uses direct verbs. |
+| `README.md:1092-1094` | `Every message says what is wrong, how long there is, and what to do, and links to the incident and to a snooze page (1 hour, 1 day or 1 week, for that rule on that box, service or host).` | `Every message says what is wrong, how long it has lasted, and what to do. It links to the incident and to a snooze page for that rule on that box, service or host. Snooze periods are 1 hour, 1 day or 1 week.` | Replaces the unclear phrase “how long there is”. |
+| `README.md:1105-1106` | `A rule that fires 3 times in an hour on one box becomes one open incident marked as flapping, until an hour passes with no firing.` | `A rule that fires 3 times in an hour on one box becomes one open incident marked as flapping. It stays marked as flapping until an hour passes with no firing.` | Fixes the comma splice. |
+| `README.md:1120-1121` | `The label means a mail event can never pass as an alert.` | `The \`carlos-alert\` label prevents a mail event from passing as an alert.` | Identifies the label being discussed. |
+| `README.md:1128-1130` | `Webhook receivers drop the repeat by \`delivery_id\`; Slack and email can't, and a rare duplicate is the cost.` | `Webhook receivers drop repeats by \`delivery_id\`. Slack and email do not deduplicate them, so a rare duplicate can occur.` | Removes informal and vague wording. |
+| `README.md:1135-1137` | `So back the key file up separately.` | `Back up the key file separately.` | Removes filler. |
+| `README.md:1149-1152` | `**Not yet.** No SMS, and no account or app alerts: this is the operators' fleet scope only.` | `**Current scope.** The engine sends no SMS, account alerts or app alerts. It covers operator fleet alerts only.` | Makes the scope explicit. |
+| `docs/site/cli.md:2460-2465` | `On the box that runs the console, with \`CARLOS_ALERT_ENGINE_BEAT\` set in its \`host.env\`, the column goes on: \` engine-beat=on\` when the agent is watching the console's alert engine, and \` engine-beat=off (...)\` with the reason when it will not, for example \`engine-beat=off (agent runs as root, so the backstop is off)\`. Boxes without the setting show nothing more.` | `For the console box, if \`CARLOS_ALERT_ENGINE_BEAT\` is set in its \`host.env\`, the column also shows \` engine-beat=on\` while the agent watches the console's alert engine, or \` engine-beat=off (...)\` with the reason. For example, \`engine-beat=off (agent runs as root, so the backstop is off)\`. Boxes without the setting show no additional field.` | Replaces “the column goes on” and “when it will not” with precise wording. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:7-11` | `The roll itself goes the usual release road. Each \`host.env\` change and the live witness below change real dev or flagship boxes, so each needs Paul's explicit go under AGENTS.md "Production infrastructure needs scoped approval". One go covers one whole section, cleanup included.` | `Follow the normal release process for the roll. Each \`host.env\` change and the live witness below change real dev or flagship boxes, so each needs Paul's explicit go under AGENTS.md "Production infrastructure needs scoped approval". One approval covers one whole section, including cleanup.` | Removes vague and informal language. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:27-28` | `A Slack URL in \`CARLOS_ALERT_WEBHOOK\` now gets Slack's body. No box sets one today.` | `A Slack URL in \`CARLOS_ALERT_WEBHOOK\` now gets Slack's body. No box has one configured today.` | Fixes the dangling pronoun. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:38-42` | `console.db gains the \`alert_*\` tables when the console starts. The engine's first pass imports what the old watcher already mailed (\`alert_seen\`), so a rule already firing is not announced again, and gives each operator an email connector for their sign-in address, already confirmed.` | `On startup, \`console.db\` gains the \`alert_*\` tables. On its first pass, the engine imports what the old watcher already mailed (\`alert_seen\`), so a rule already firing is not announced again. The engine also gives each operator an already-confirmed email connector for their sign-in address.` | Splits an overloaded sentence. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:48-51` | `Store requests: the same \`alerts/boxes/\` LIST and GETs a minute the watcher made, now conditional, plus conditional GETs of the heartbeats and \`status/fleet.json\` every 5th pass (about 288 a day for each box). No new objects.` | `Store requests: the console makes the same conditional \`alerts/boxes/\` LIST and GET requests the watcher made, once a minute. It also makes conditional GETs of the heartbeats and \`status/fleet.json\` every 5th pass, about 288 times a day for each box. No new objects.` | Fixes the grammar. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:53-57` | `**There is no gap between the box roll and the console roll.** The old console watcher reads every rule in \`alerts/boxes/<box>.json\` and mails operators about each, \`disk_eta\` included, until the console rolls. Still, roll the console soon after its boxes: in between, flagship's warnings reach operators by the watcher's email only, not SNS.` | `**The old watcher covers the transition.** Until the console rolls, it reads every rule in \`alerts/boxes/<box>.json\` and mails operators about each one, including \`disk_eta\`. Roll the console immediately after its boxes. Until then, flagship's warnings reach operators by the watcher's email only, not SNS.` | Removes the contradiction between “no gap” and the recommendation to roll soon. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:61-62` | `Dev first, then flagship (memory \`roll-order-dev-first\`). Boxes before their console.` | `Roll dev first, then flagship (memory \`roll-order-dev-first\`). Roll each deployment's boxes before its console.` | Gives the operator a direct instruction. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:78-80` | `The operator dashboard's "Alert checks" job ran in the last minute, is not Failed, and has no note. A note "no usable alert connector reaches <address>" names an operator nothing reaches.` | `The operator dashboard's "Alert checks" job ran in the last minute, is not Failed, and has no note. If no usable connector reaches an operator, the job shows a note naming that operator.` | Fixes the ungrammatical sentence while preserving the UI wording in context. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:119-121` | `If that fails with "Permission denied", do not set the variable: the agent would read the beat as missing and page. Report it instead; the console's directory permissions need a decision first.` | `If that fails with "Permission denied", do not set the variable. The agent would treat the beat as missing and raise an alert. Report it instead. The console's directory permissions need a decision first.` | Replaces the informal verb and semicolon chain. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:135-139` | ``The restart is the same edge restart a platform roll makes. Check: `carlos status --live` shows `engine-beat=on` for the console box, and no `engine_silent` fires in the next 15 minutes.`` | ``Use the same edge restart as a platform roll. Check that `carlos status --live` shows `engine-beat=on` for the console box and that no new `engine_silent` alert fires in the next 15 minutes.`` | Makes the verification condition precise. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:147-154` | `Any other deployment that runs a CARLOS console (Tito's, or anyone running their own) is not rolled here.` | `Another operator's console, or a deployment run by its owner, is not rolled here.` | Removes a customer name and follows the neutral wording rule. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:162-168` | `On \`/fleet/alerts\`, add a Slack connector named, say, \`dev alerts\` with that URL.` | `On \`/fleet/alerts\`, add a Slack connector named, for example, \`dev alerts\`, with that URL.` | Removes conversational filler. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:170-173` | `This proves the dialler, the seal, the Slack body and the token door. It leaves a connector that gets every dev fleet alert, which the witness below needs. Cleanup, if Paul wants it gone: delete the connector on the page, and the webhook in Slack.` | `This checks Slack delivery, URL sealing, the Slack request body and the confirmation token. It leaves a connector that receives every dev fleet alert, which the witness below needs. To clean it up, delete the connector on the page and the webhook in Slack.` | Removes undefined jargon and awkward phrasing. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:177-179` | `**Purpose.** Watch a real forecast travel from a box's disk to Slack and back: the trend fit, the 2 hour hold, the box's alert object, the engine's 5 minute group window, and the clear.` | `**Purpose.** Follow a real forecast from a box's disk to Slack and through its clear: the trend fit, the 2 hour hold, the box's alert object, the engine's 5 minute group window and the clear.` | Uses a direct operator-facing verb. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:201-203` | `Traffic effects: two edge restarts on dennis, each the same as a platform roll's. dennis carried the least traffic of the dev boxes when last looked at (the far side of the \`assetcheck\` test app).` | `Traffic effects: two edge restarts on dennis, each the same as a platform roll's. At the last check, dennis carried the least traffic of the dev boxes, on the far side of the test app.` | Removes a customer or app name and clarifies the observation. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:216-220` | `The worst case the bounds allow: the file stops at just over 2 GiB (the cap is checked before each write, so one last 50 MiB write can pass it, 2.05 GiB at most). 10 GiB free under 80% use means a volume of at least 50 GiB, so the file adds at most 4.1 points: 84% at worst, 6 points under the \`disk\` rule's 90%.` | `Under these bounds, the file stops at just over 2 GiB. The cap is checked before each write, so one last 50 MiB write can pass it, making 2.05 GiB the maximum. With 10 GiB free and use below 80%, the volume is at least 50 GiB. The file therefore adds at most 4.1 points, reaching 84% at worst, 6 points below the \`disk\` rule's 90%.` | Fixes the fragment and makes the calculation easier to follow. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:245-249` | `T0 to T0+2h \| Nothing. The forecast needs 2 hours of readings.` | `T0 to T0+2h \| No forecast is available. The forecast needs 2 hours of readings.` | “Nothing” is too vague for an operational check. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:246` | `The forecast reads growing.` | `The forecast reports growth.` | Fixes the phrasing. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:270-277` | `**Then expect a clear about 2 hours later** (T1+2h, Slack within 2 minutes after).` | `**After cleanup, expect a clear about 2 hours later** (T1+2h, Slack within 2 minutes after).` | Makes the heading a complete instruction. |
+| `docs/superpowers/notes/roll-fleet-alerts-1.md:291-293` | `Before T0+4h nothing has been sent. After the fire, the clear follows about 2 hours after the cleanup as above.` | `This witness sends nothing before T0+4h. After the fire, the clear follows about 2 hours after cleanup, as described above.` | Avoids implying that unrelated alerts cannot be sent. |
+
+## Flags
+
+- `docs/superpowers/notes/roll-fleet-alerts-1.md:285-289` says History will show “exactly one” incident, but the procedure does not establish that History was empty beforehand. Decide whether this should say “one incident created by the witness” or add a pre-check.
+- `README.md:1018-1020` says every console today runs without host claims. Confirm that remains true when this release rolls.
+- The roll note contains live account, region, box, domain and profile details. Reconfirm them before execution, especially the witness's `eu-west-2` scope and the two console-box profiles.
\ No newline at end of file
diff --git a/docs/superpowers/notes/roll-fleet-alerts-1.md b/docs/superpowers/notes/roll-fleet-alerts-1.md
index 505dea066..5ac97e0dc 100644
--- a/docs/superpowers/notes/roll-fleet-alerts-1.md
+++ b/docs/superpowers/notes/roll-fleet-alerts-1.md
@@ -1,14 +1,17 @@
# Rolling fleet alerts plan 1
+Reconfirm every account, region, box and profile below against the current
+inventory before running any step.
+
Branch `design-fleet-alerts`. Spec:
`docs/superpowers/specs/2026-10-30-fleet-alerts-and-traffic-design.md`. Plan:
`docs/superpowers/plans/2026-10-30-fleet-alerts-1-engine-connectors.md`.
-**Status: a proposal. None of it has been run.** The roll itself goes the
-usual release road. Each `host.env` change and the live witness below change
-real dev or flagship boxes, so each needs Paul's explicit go under AGENTS.md
-"Production infrastructure needs scoped approval". One go covers one whole
-section, cleanup included.
+**Status: a proposal. None of it has been run.** Follow the normal release
+process for the roll. Each `host.env` change and the live witness below
+change real dev or flagship boxes, so each needs Paul's explicit go under
+AGENTS.md "Production infrastructure needs scoped approval". One approval
+covers one whole section, including cleanup.
## What changes when it rolls
@@ -24,8 +27,8 @@ On the boxes (the `carlos` binary):
`CARLOS_ALERT_SNS_TOPIC_ARN`. On flagship, that means the SNS emails for
those warnings stop. They still go into `alerts/boxes/<box>.json`, so the
console still sees them (next point).
-- A Slack URL in `CARLOS_ALERT_WEBHOOK` now gets Slack's body. No box sets
- one today.
+- A Slack URL in `CARLOS_ALERT_WEBHOOK` now gets Slack's body. No box has
+ one configured today.
- `carlos status --live` shows `engine-beat=on` or `engine-beat=off (...)`
after `alerts=` on a box with `CARLOS_ALERT_ENGINE_BEAT` set, and nothing
on the others.
@@ -35,34 +38,34 @@ On the console:
- The alert engine replaces the alert watcher. It runs every minute as the
"Alert checks" job, only on a console without host claims (dev and
flagship both qualify).
-- console.db gains the `alert_*` tables when the console starts. The
- engine's first pass imports what the old watcher already mailed
- (`alert_seen`), so a rule already firing is not announced again, and
- gives each operator an email connector for their sign-in address, already
- confirmed.
+- On startup, `console.db` gains the `alert_*` tables. On its first pass,
+ the engine imports what the old watcher already mailed (`alert_seen`), so
+ a rule already firing is not announced again. The engine also gives each
+ operator an already-confirmed email connector for their sign-in address.
- It creates the connector key `alert-connectors.key` (0600) beside
console.db on its first pass, and writes `alert-engine.beat` there after
every pass that commits.
- The first `GET /fleet/alerts` creates the webhook signing key (a `keys`
row, `alert-sign`).
-- Store requests: the same `alerts/boxes/` LIST and GETs a minute the
- watcher made, now conditional, plus conditional GETs of the heartbeats and
- `status/fleet.json` every 5th pass (about 288 a day for each box). No new
- objects.
+- Store requests: the console makes the same conditional `alerts/boxes/`
+ LIST and GET requests the watcher made, once a minute. It also makes
+ conditional GETs of the heartbeats and `status/fleet.json` every 5th
+ pass, about 288 times a day for each box. No new objects.
-**There is no gap between the box roll and the console roll.** The old
-console watcher reads every rule in `alerts/boxes/<box>.json` and mails
-operators about each, `disk_eta` included, until the console rolls. Still,
-roll the console soon after its boxes: in between, flagship's warnings
-reach operators by the watcher's email only, not SNS.
+**The old watcher covers the transition.** Until the console rolls, it
+reads every rule in `alerts/boxes/<box>.json` and mails operators about
+each one, including `disk_eta`. Roll the console immediately after its
+boxes. Until then, flagship's warnings reach operators by the watcher's
+email only, not SNS.
## Order
-Dev first, then flagship (memory `roll-order-dev-first`). Boxes before their
-console.
+Roll dev first, then flagship (memory `roll-order-dev-first`). Roll each
+deployment's boxes before its console.
-1. Dev boxes: sophie-knitting (console box), leo-climbing,
- dennis-stenciling.
+1. Dev boxes: carlos-dev-ie (the console box, i-05498eada6f0afd23),
+ carlos-dev-ie-b (i-046c7fe43620944bc), carlos-dev-uk
+ (i-009d593f451cfd562).
2. Dev console.
3. Dev checks (below), then the quick Slack check.
4. `CARLOS_ALERT_ENGINE_BEAT` on the dev console box (below).
@@ -76,8 +79,8 @@ console.
1. `/fleet/alerts` loads for an operator. Every operator has an email
connector marked "Added for <their address>" with status On.
2. The operator dashboard's "Alert checks" job ran in the last minute, is
- not Failed, and has no note. A note "no usable alert connector reaches
- <address>" names an operator nothing reaches.
+ not Failed, and has no note. If no usable connector reaches an operator,
+ the job shows a note naming that operator.
3. On the console box: `ls -l <dir of CONSOLE_DB>/alert-connectors.key`
shows a 32-byte 0600 file, and `stat -c %y <dir>/alert-engine.beat`
moves forward every minute. The directory is
@@ -98,8 +101,8 @@ agent. If the console unit sets `CONSOLE_DB`, use `alert-engine.beat` in that
directory instead. Each deployment is its own go:
- **Dev.** Account 640012953448, region eu-west-1, profile `kass` (works
- with the sandbox on). Box sophie-knitting (carlos-dev-ie),
- i-05498eada6f0afd23, console platform.dev.carlosframework.com.
+ with the sandbox on). Box carlos-dev-ie, i-05498eada6f0afd23, console
+ platform.dev.carlosframework.com.
- **Flagship.** Account 271376211898, region eu-west-1, profile `keymail`
(an assumed role: run it with the sandbox off). Box i-092c0c1eea75723cb,
console console.carloku.com.
@@ -116,9 +119,9 @@ as `carlos` (carlos-edge.service), and only needs to stat it:
runuser -u carlos -- stat -c '%U %a %y' /data/console/alert-engine.beat
-If that fails with "Permission denied", do not set the variable: the agent
-would read the beat as missing and page. Report it instead; the console's
-directory permissions need a decision first.
+If that fails with "Permission denied", do not set the variable. The agent
+would treat the beat as missing and raise an alert. Report it instead. The
+console's directory permissions need a decision first.
Then:
@@ -132,11 +135,11 @@ The `tail -c1` line adds a newline first if the file does not end in one, so
the new line cannot fuse onto the last one. `tail -n 3` shows the result
before the restart.
-The restart is the same edge restart a platform roll makes. Check: `carlos
-status --live` shows `engine-beat=on` for the console box, and no
-`engine_silent` fires in the next 15 minutes. `engine-beat=off (agent runs
-as root, so the backstop is off)` would mean the agent runs as root, which no
-box does today.
+Use the same edge restart as a platform roll. Check that `carlos status
+--live` shows `engine-beat=on` for the console box and that no new
+`engine_silent` alert fires in the next 15 minutes. `engine-beat=off (agent
+runs as root, so the backstop is off)` would mean the agent runs as root,
+which no box does today.
Optionally, after this, point a box's `CARLOS_ALERT_WEBHOOK` at a Slack
incoming webhook so `disk` and `engine_silent` reach Slack too. That is one
@@ -144,14 +147,13 @@ more `host.env` line and agent restart per box, and its own go.
## Other console deployments
-Only dev and flagship are in scope for this roll. Any other deployment that
-runs a CARLOS console (Tito's, or anyone running their own) is not rolled
-here. When one takes this release, its console starts the alert engine on
-its first run (unless it runs with host claims), seeds an already-confirmed
-email connector for each of its operators, and starts sending them engine
-mail; its boxes' own sinks narrow to `disk` and `engine_silent` at the same
-time. Its operators set `CARLOS_ALERT_ENGINE_BEAT` themselves, by the steps
-above.
+Only dev and flagship are in scope for this roll. Another operator's console,
+or a deployment run by its owner, is not rolled here. When one takes this
+release, its console starts the alert engine on its first run (unless it runs
+with host claims), seeds an already-confirmed email connector for each of its
+operators, and starts sending them engine mail; its boxes' own sinks narrow
+to `disk` and `engine_silent` at the same time. Its operators set
+`CARLOS_ALERT_ENGINE_BEAT` themselves, by the steps above.
## Quick check: the Slack test message (dev)
@@ -159,32 +161,32 @@ Scope for the go: the dev console (platform.dev.carlosframework.com, dev
account 640012953448, eu-west-1). One Slack incoming webhook that Paul
creates in a channel of his choice. No AWS change.
-1. On `/fleet/alerts`, add a Slack connector named, say, `dev alerts` with
- that URL.
+1. On `/fleet/alerts`, add a Slack connector named, for example, `dev
+ alerts`, with that URL.
2. The page says a test message with a confirm link went to Slack. The
message arrives in the channel within a few seconds.
3. Open the link. The page shows a Confirm button and does nothing else.
Press it: "Confirmed. Alerts now go to dev alerts." The connector shows On.
4. Press "Send test". A second message arrives.
-This proves the dialler, the seal, the Slack body and the token door. It
-leaves a connector that gets every dev fleet alert, which the witness below
-needs. Cleanup, if Paul wants it gone: delete the connector on the page, and
-the webhook in Slack.
+This checks Slack delivery, URL sealing, the Slack request body and the
+confirmation token. It leaves a connector that receives every dev fleet
+alert, which the witness below needs. To clean it up, delete the connector
+on the page and the webhook in Slack.
## Live witness: the disk forecast end to end (dev, needs Paul's go)
-**Purpose.** Watch a real forecast travel from a box's disk to Slack and back:
-the trend fit, the 2 hour hold, the box's alert object, the engine's 5
-minute group window, and the clear.
+**Purpose.** Follow a real forecast from a box's disk to Slack and through
+its clear: the trend fit, the 2 hour hold, the box's alert object, the
+engine's 5 minute group window and the clear.
**Scope.**
- Account and region: dev, 640012953448, eu-west-2.
-- Box: dennis-stenciling (carlos-dev-uk, i-009d593f451cfd562), profile
- `kass`, reached as root over SSM. It is the dev box with the least
- traffic. First check `/fleet/metrics` on the dev console lists it as
- reporting; if dennis is gone or silent, stop and ask rather than switch
+- Box: one dev box, carlos-dev-uk (i-009d593f451cfd562), the witness box
+ below, profile `kass`, reached as root over SSM. It is the dev box with
+ the least traffic. First check `/fleet/metrics` on the dev console lists
+ it as reporting; if it is gone or silent, stop and ask rather than switch
boxes.
- Changes on that box only:
- a scratch file `/data/tmp/fleet-alerts-witness`, growing 50 MiB every
@@ -198,32 +200,31 @@ minute group window, and the clear.
- Messages: one Slack message to the dev connector on fire and one on
clear. Each operator's email connector on the dev console gets the same
two emails.
-- Traffic effects: two edge restarts on dennis, each the same as a platform
- roll's. dennis carried the least traffic of the dev boxes when last
- looked at (the far side of the `assetcheck` test app).
+- Traffic effects: two edge restarts on the witness box, each the same as a
+ platform roll's. At the last check, the witness box carried the least
+ traffic of the dev boxes, on the far side of the test app.
- Cost: about 1.3 GB written to the box's EBS volume and deleted again, a
little CPU for `/dev/urandom`. No new bucket objects: the box's alert
object is written twice (fire, clear), as for any alert.
- Duration: about 6 hours 10 minutes.
-**Before starting.** On dennis, as root:
+**Before starting.** On the witness box, as root:
df -B1 --output=size,avail,pcent /data # need 10 GiB free or more, and use under 80%
test -e /data/tmp && echo exists || echo absent # write this down
grep -n '^CARLOS_ALERT_DISK_ETA_HOURS=\|^CARLOS_ALERT_DISK_PCT=' /etc/carlos/host.env # expect nothing
systemctl is-active carlos-edge
-The worst case the bounds allow: the file stops at just over 2 GiB (the
-cap is checked before each write, so one last 50 MiB write can pass it,
-2.05 GiB at most). 10 GiB free under 80% use means a volume of at least
-50 GiB, so the file adds at most 4.1 points: 84% at worst, 6 points under
-the `disk` rule's 90%. On a smaller margin the `disk` rule would fire and
-page through the box's own sinks, so do not start. If
-`CARLOS_ALERT_DISK_ETA_HOURS` is already set, or `CARLOS_ALERT_DISK_PCT`
-lowers the `disk` threshold, stop and ask.
+Under these bounds, the file stops at just over 2 GiB. The cap is checked
+before each write, so one last 50 MiB write can pass it, making 2.05 GiB the
+maximum. With 10 GiB free or more and use under 80%, the disk peaks at 84.1%
+at most, reached at a 50 GiB volume, under the `disk` rule's 90%. On a
+smaller margin the `disk` rule would fire and page through the box's own
+sinks, so do not start. If `CARLOS_ALERT_DISK_ETA_HOURS` is already set, or
+`CARLOS_ALERT_DISK_PCT` lowers the `disk` threshold, stop and ask.
-**Start (T0).** On dennis, as root, in one go so the agent's restart and the
-first write are within a minute of each other:
+**Start (T0).** On the witness box, as root, in one go so the agent's restart
+and the first write are within a minute of each other:
cp -p /etc/carlos/host.env /etc/carlos/host.env.bak-fleet-alerts-witness
[ -z "$(tail -c1 /etc/carlos/host.env)" ] || printf '\n' >>/etc/carlos/host.env
@@ -242,17 +243,17 @@ every reading after T0 is part of the growth:
| When | What |
|---|---|
-| T0 to T0+2h | Nothing. The forecast needs 2 hours of readings. |
-| T0+2h | The forecast reads growing. `disk_full_eta_hours` appears in dennis's heartbeat (within 5 minutes). The 2 hour hold starts. |
+| T0 to T0+2h | No forecast is available. The forecast needs 2 hours of readings. |
+| T0+2h | The forecast reports growth. `disk_full_eta_hours` appears in the witness box's heartbeat (within 5 minutes). The 2 hour hold starts. |
| T0+4h | `disk_eta` fires on the box and its alert object is written. The box's own sinks do not page: it is a warning. |
| T0+4h, within a minute | The engine opens the incident. `/fleet/alerts/history` shows it open. |
-| about T0+4h05m | One Slack message: the disk full forecast warning for dennis-stenciling, with the incident and snooze links. Allow up to T0+4h08m for the engine's minute passes. |
+| about T0+4h05m | One Slack message: the disk full forecast warning for the witness box, with the incident and snooze links. Allow up to T0+4h08m for the engine's minute passes. |
-If nothing arrives by T0+4h20m: read `alerts/boxes/dennis-stenciling.json`
-for `disk_eta`, the "Alert checks" job on the dashboard, and the console
-journal, before changing anything.
+If nothing arrives by T0+4h20m: read the witness box's
+`alerts/boxes/<box>.json` for `disk_eta`, the "Alert checks" job on the
+dashboard, and the console journal, before changing anything.
-**Cleanup (T1, after the Slack message).** On dennis, as root:
+**Cleanup (T1, after the Slack message).** On the witness box, as root:
systemctl stop fleet-alerts-witness.timer fleet-alerts-witness.service
rm -f /data/tmp/fleet-alerts-witness
@@ -267,8 +268,8 @@ the backup and report it. The one expected difference is a trailing newline
the start step added, when the file had none; `diff` reports it as "No
newline at end of file".
-**Then expect a clear about 2 hours later** (T1+2h, Slack within 2 minutes
-after). The restart empties the readings again, `disk_eta` stays firing
+**After cleanup, expect a clear about 2 hours later** (T1+2h, Slack within 2
+minutes after). The restart empties the readings again, `disk_eta` stays firing
across it (its state is saved in `/data/monitor/alerts.json`), and the first
verdict, 2 hours on, sees no growth and clears it. One Slack message says it
cleared; History shows the incident closed. If the box's ordinary growth
@@ -276,18 +277,20 @@ reads as a trend instead, the threshold is back at 72 hours and the clear
comes when the forecast passes 108 hours, which a box with ordinary log
growth does on that first verdict.
-If there is no clear by T1+2h20m, report it with what
-`alerts/boxes/dennis-stenciling.json`, `/fleet/alerts/history` and the
+If there is no clear by T1+2h20m, report it with what the witness box's
+`alerts/boxes/<box>.json`, `/fleet/alerts/history` and the
"Alert checks" job show. Do not edit the box's alert state
(`/data/monitor/alerts.json`), the bucket object or the console's tables to
force a clear.
**Verification after cleanup.** `systemctl status fleet-alerts-witness.timer`
says the unit is not found; `/data/tmp/fleet-alerts-witness` does not exist;
-`host.env` matches the "before" state; `carlos status --live` shows dennis
-reporting on the current release; and History shows exactly one disk
-forecast incident for dennis, opened and cleared.
-
-**Abort at any time** with the cleanup block. Before T0+4h nothing has been
-sent. After the fire, the clear follows about 2 hours after the cleanup as
-above.
+`host.env` matches the "before" state, apart from a trailing newline the
+start step may have added; `carlos status --live` shows the witness box
+reporting on the current release; and History shows one incident created
+by the witness, a disk forecast incident for the witness box, opened and
+cleared.
+
+**Abort at any time** with the cleanup block. This witness sends nothing
+before T0+4h. After the fire, the clear follows about 2 hours after
+cleanup, as described above.