carlos / platform Public

plan: probe-burst limit (spec approved by Paul)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev a3e2b8e45b85e05cdfbdde8664f326dea7974dbf parent 5636fd7
2 files changed, +211 −1
  • docs/superpowers/plans/2026-10-31-probe-burst-limit.md +210 −0
  • docs/superpowers/specs/2026-10-31-probe-burst-limit-design.md +1 −1

CI cancelled — superseded by a newer push — run details

diff --git a/docs/superpowers/plans/2026-10-31-probe-burst-limit.md b/docs/superpowers/plans/2026-10-31-probe-burst-limit.md
new file mode 100644
index 000000000..b9ba56ffe
--- /dev/null
+++ b/docs/superpowers/plans/2026-10-31-probe-burst-limit.md
@@ -0,0 +1,210 @@
+# Probe-Burst Limit Implementation Plan
+
+> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
+
+**Goal:** A client that works through a list of attack paths is refused further attack paths for 10 minutes on every app on the platform, recorded-only until Paul approves blocking, with a per-app record-only switch.
+
+**Architecture:** A bounded in-memory limiter on each edge counts not-founds per app and client and keeps a box-wide cool-down set. The edge checks the cool-down where the hard and probe checks run, through the existing one-verdict guard state, so refusals reuse records, reference codes and Protection counts. A trip is sent to every other platform edge as a mesh-key-signed POST over the existing backhaul transport. The record-only switch rides the per-app telemetry settings and pass that the analytics switch uses.
+
+**Tech Stack:** Go; `internal/edge`, `internal/edgeguard`, `internal/reqrec`, `internal/telemetry`, `internal/host`, `internal/console`, the root `carlos` CLI.
+
+**Spec:** `docs/superpowers/specs/2026-10-31-probe-burst-limit-design.md` (rev 2, approved by Paul 2026-10-31), building on §5.5 of `docs/superpowers/specs/2026-10-24-edge-request-protection-design.md`. Read both.
+
+## Global Constraints
+
+- Threshold 60 not-founds in 60 s per app and client; cool-down 10 minutes; client key `ratelimit.ClientKey(clientIP(r))` (/32 IPv4, /64 IPv6).
+- A not-found is: a final status 404, or a hard or probe verdict (watch or block) whatever the status; a burst-mode (`probe/admin`) rule match counts only with a final 404. A request carrying any `Sec-Fetch-Mode` header never counts.
+- During a cool-down, refuse only requests to catalogue paths (`edgeguard.Check` hit, any group incl. admin) the app is not known to serve. Known to serve today = a static site's file exists (or `_redirects` names the path), the check `serveTree` already makes.
+- Watch first: the burst rule's catalogue mode is watch. `CARLOS_EDGE_PROTECT=block` (dev) refuses for real. Promotion to block is a later one-line change on Paul's approval, not in this plan.
+- Fleet apps (forward routes, and anything delivered `viaTunnel`) are never refused by the burst limit in v1, only recorded.
+- An app with the record-only switch on is never refused by any protection (hard, probe, burst); matches are still recorded and counted as recorded.
+- Only boxes holding the mesh key send or accept notices. Notices: signed, timestamp within `hopSkew` (30 s), bound to the receiving box's name, expiry in the future and at most 10 minutes ahead, client a canonical /32 or /64. Sender cap 120 notices/minute/box; receiver cap 600/minute; overflow counted, never silent. No retry; sending never blocks serving.
+- Bounds: 100,000 counters and 50,000 cool-downs per box, oldest evicted first, evictions counted.
+- No storage writes on the request path or per trip; no new polling. Provider-neutral.
+- A received notice is logged only to the box's operator log (`log.Printf`, capped), never to a tenant's records. A refusal record says the cool-down came from "this app" or "another app on the platform" and never names another app.
+- Copy: every visitor- or console-facing string from the approved deck (Task 1), verbatim, no em dashes. Record field values and operator log lines are not copy.
+- Tests: production-wired (a real `Edge` with the real catalogue; two real edges exchanging a real signed notice). Run only touched packages with `-run`; leave GOCACHE at its default. Test accounts `bab`, `bdk`; host `shop.example.com`; no tenant names.
+
+## Review Focus
+
+1. **A shared address with a real visitor and an active scanner.** Expected: the visitor's ordinary pages never refused; only catalogue paths of unknown existence. Task 3's `TestBurstNeverRefusesAnOrdinaryPage` and `TestBurstNeverRefusesAnExistingStaticFile`.
+2. **A forged or replayed notice, or one from a fleet box.** Expected: refused, counted, nothing applied. Task 4's notice tests.
+3. **A notice flood or a scan of many addresses.** Expected: bounded memory and messages, evictions and drops counted, serving unaffected. Tasks 2 and 4 bound tests.
+4. **A request answered by the static handler during a cool-down.** Expected: an existing file served; a missing catalogue path refused. Task 3.
+5. **The record-only switch flipped while a client is cooling.** Expected: the next request to that app is recorded, not refused, within one settings pass. Task 5.
+
+---
+
+### Task 1: Copy deck and review
+
+**Files:**
+- Create: `docs/superpowers/plans/2026-10-31-probe-burst-limit-copy.md`
+- Create: `internal/console/approved_burst_copy_test.go`
+
+**Interfaces:**
+- Produces: deck rows `PB-C01`.. (approved text), `burstCopyBuilt map[string]bool` (empty here), test `TestBurstCopyDeckIsApprovedAndApplied` (same shape as `approved_protection_copy_test.go`, parsing `| PB-` rows).
+
+Draft rows (`where` relative to the repo root's owning package; the review may change any text):
+
+| id | where | draft |
+| --- | --- | --- |
+| PB-C01 | internal/edge/burst_refusal.go (429 body) | Too many requests for pages that do not exist came from your network. Try again in a few minutes. Reference: {code} |
+| PB-C02 | internal/console/protectiongroups.go (group name) | Bursts of probes from one address |
+| PB-C03 | internal/console/templates/app_protection.html (switch heading) | Record only |
+| PB-C04 | internal/console/templates/app_protection.html (switch explanation) | When this is on, protection records what it would have blocked on this app and blocks nothing. Use it if protection is stopping something real while you fix it. |
+| PB-C05 | internal/console/templates/app_protection.html (turn on button) | Record only for this app |
+| PB-C06 | internal/console/templates/app_protection.html (turn off button) | Let protection block again |
+| PB-C07 | internal/console/templates/app_protection.html (notice while on) | Protection is recording only for this app. Nothing is blocked. |
+| PB-C08 | internal/console/analyticsview.go-style flash (switch saved, on) | Protection now records only for this app. It takes effect within seconds. |
+| PB-C09 | flash (switch saved, off) | Protection can block on this app again. It takes effect within seconds. |
+| PB-C10 | protection_cmd.go (CLI help) | carlos protection [--account a] [--app x] [--record-only on\|off]: show or set whether protection only records on this app |
+| PB-C11 | protection_cmd.go (CLI result, on) | Protection records only on {app}. Nothing is blocked. |
+| PB-C12 | protection_cmd.go (CLI result, off) | Protection can block on {app} again. |
+
+- [ ] **Step 1:** Write the deck (rules header copied from the protection-tab deck; status `pending`).
+- [ ] **Step 2:** Write the gate test.
+- [ ] **Step 3:** Copy review with Paul through the `copy-review` skill (controller runs it). Apply his text verbatim; set rows `approved`.
+- [ ] **Step 4:** Run `go test ./internal/console/ -run TestBurstCopyDeck`. Expected: PASS.
+- [ ] **Step 5:** Commit.
+
+---
+
+### Task 2: The limiter
+
+**Files:**
+- Create: `internal/edge/burst.go`
+- Test: `internal/edge/burst_test.go`
+
+**Interfaces:**
+- Produces:
+ - Constants `burstThreshold = 60`, `burstWindow = 60 * time.Second`, `burstCooldown = 10 * time.Minute`, `burstMaxCounters = 100_000`, `burstMaxCooldowns = 50_000`.
+ - `type burstLimiter struct` (mutex-guarded), `func newBurstLimiter(now func() time.Time) *burstLimiter`.
+ - `func (b *burstLimiter) note(app string, client netip.Prefix) (tripped bool, until time.Time)`: counts one not-found for (app, client) in a sliding 60 s window; on reaching the threshold starts a cool-down for client (box-wide) unless one is already running, and reports a trip only then.
+ - `func (b *burstLimiter) cooling(client netip.Prefix) (until time.Time, from string, ok bool)`: `from` is the app key that tripped locally, or `""` for a notice.
+ - `func (b *burstLimiter) apply(client netip.Prefix, until time.Time) bool`: from a notice; refuses `until` not after now or more than `burstCooldown` ahead; a later `until` never shortens an existing one; never reports a trip.
+ - `func (b *burstLimiter) stats() burstStats` with `CountersEvicted, CooldownsEvicted int64`.
+ - Expired entries are dropped lazily; at the caps the oldest entry is evicted and counted.
+
+- [ ] **Step 1: Failing tests** with an injected clock: `TestBurstTripsAt60InAWindow` (59 notes no trip, 60th trips, 61st no second trip); `TestBurstWindowSlides` (60 notes spread over 61 s never trip); `TestBurstCountsPerApp` (30 on app A + 30 on app B never trip); `TestBurstCooldownIsBoxWide` (trip on A, `cooling` true for the client regardless of app, `from` = A); `TestBurstCooldownExpires` (false after 10 min); `TestBurstApplyBounds` (until in the past, or 10 min + 1 s ahead: refused; a shorter until never shortens); `TestBurstBoundsEvictOldest` (with caps lowered via unexported vars: oldest evicted, counted).
+- [ ] **Step 2:** Run `go test ./internal/edge/ -run TestBurst`. Expected: FAIL (undefined).
+- [ ] **Step 3:** Implement. One map of counters keyed by app and prefix holding timestamps or a ring per window (builder's choice within the caps), one map of cool-downs.
+- [ ] **Step 4:** Run again. Expected: PASS.
+- [ ] **Step 5:** Commit.
+
+---
+
+### Task 3: Counting and refusing on the edge
+
+**Files:**
+- Modify: `internal/edgeguard/catalogue.go` (the burst rule), `internal/edge/edge.go` (limiter field, ServeHTTP check and observer defer), `internal/edge/guard.go` (record-only, burst decide), `internal/edge/static.go` (static decide point), `internal/edge/assetcatch.go` (count only), `internal/edge/reqrecords.go` and `internal/reqrec/recorder.go` (cool-down fields, trip record)
+- Create: `internal/edge/burst_refusal.go`
+- Test: `internal/edge/burst_edge_test.go`, `internal/edgeguard/catalogue_test.go`, `internal/reqrec/recorder_test.go`
+
+**Interfaces:**
+- Consumes: Task 2's limiter; Task 1's PB-C01.
+- Produces:
+ - `edgeguard.BurstRule *Rule`: `ID "burst.probe-burst.cooldown"`, `Group "probe-burst"`, `Tier reqrec.TierBurst`, `Mode ModeWatch`. `RuleByID` and `RuleByHash` find it; it is not in `catalogue.txt` and `Check` never returns it.
+ - `Edge.burst *burstLimiter` built in `newEdge`.
+ - `guardState` gains `recordOnly bool` (Task 5 sets it; false until then) and `guardMode.blocks` is not consulted when `recordOnly`: `guardDecide` never blocks then.
+ - `func burstDecide(w http.ResponseWriter, r *http.Request, until time.Time, from string, fleet bool) (served bool)`: sets the verdict to `BurstRule` (one verdict per request, as `guardDecide`), with the cool-down fields; refuses (429, `Retry-After` = remaining seconds rounded up, `X-Carlos-Ref`, `Cache-Control: no-store`, body PB-C01 with the code) only when the mode blocks `BurstRule`, the state is not record-only and `fleet` is false.
+ - `reqrec.Match` gains `CooldownFrom string` (`"this app"` or `"another app on the platform"`) and `CooldownUntil time.Time`, written as fields `cooldown_from` and `cooldown_until` (RFC 3339) only for tier burst.
+ - `reqrec.KindTrip = "trip"` and `func (r *Recorder) Trip(t Trip)` with `type Trip struct { Response; Until time.Time }`, one record (message `trip burst <client prefix> until <rfc3339>`), at most 10 per app per minute.
+- Placement:
+ - **Check.** In ServeHTTP where the guard runs (edge.go, the `out.guard != nil` block): if the client is cooling and `edgeguard.Check(path, query)` hits, call `burstDecide` *before* `guardDecide` for non-static routes. For a static route served locally, a hard-tier hit (`CheckTier(..., TierHard)`) is decided by `burstDecide` in edge.go before `guardDecide`, since the hard tier refuses even existing files (protection spec ruling 7); a probe-tier decision moves to `serveTree`'s probe point (static.go): when the path is not found and the client is cooling and the path hits, `burstDecide` there; an existing file is never refused. `fleet` is true for forward routes and `viaTunnel` requests.
+ - **Count.** In the observer defer, after `observeGuardCount`: when `out.guard != nil`, the request has no `Sec-Fetch-Mode` header, and it is a not-found by the Global Constraints rule, call `e.burst.note(appKey, client)`; on a trip, `Recorder.Trip` and Task 4's `e.sendBurstNotices(client, until, ref)`. `serveAssetFar`'s defer counts the same way under its records condition and never refuses.
+ - The Protection counts need no change: `observeGuardCount` already counts the verdict's rule, and `BurstRule` is not burst-mode, so a refusal counts as blocked and a would-be refusal as recorded, under group `burst/probe-burst`.
+
+- [ ] **Step 1: Failing tests** through a real `Edge` with the real catalogue (as `guard_test.go`/`guard_usage_test.go` build one), clock injectable through the limiter:
+ - `TestBurstTripsAndRecordsWouldRefuse`: 60 requests to missing catalogue paths from one client on a non-static app; the 61st (`/wp-login.php`) is forwarded (watch mode), with a Match record `tier=burst rule=burst.probe-burst.cooldown kind=watch cooldown_from="this app"` and a trip record.
+ - `TestBurstRefusesInBlockMode`: same with `CARLOS_EDGE_PROTECT=block`: 429, `Retry-After` 600 or less, `X-Carlos-Ref` decodable with `reqrec.ParseRef` to tier burst, body PB-C01 with the code.
+ - `TestBurstNeverRefusesAnOrdinaryPage` (Review Focus 1): cooling client, block mode, `GET /about` passes.
+ - `TestBurstNeverRefusesAnExistingStaticFile` (Review Focus 4): static app with `admin/index.html`; cooling client, block mode: `/admin/` served; `/wp-login.php` refused.
+ - `TestBurstCooldownCoversOtherApps`: trip on app A; request to a missing catalogue path on app B is refused (block mode) with `cooldown_from="another app on the platform"`.
+ - `TestBurstBrowserRequestsNeverCount`: 100 404s carrying `Sec-Fetch-Mode: navigate` never trip.
+ - `TestBurstAdminCountsOnlyOn404`: `/admin` answered 200 by the app never counts; answered 404 counts.
+ - `TestBurstFleetAppNeverRefused`: forward route in block mode: recorded, forwarded.
+ - `TestBurstOneVerdictPerRequest`: a cooling client's `/.env` gets exactly one Match record and one Protection count.
+ - In `internal/edgeguard`: `TestBurstRuleLookups` (`RuleByID`, `RuleByHash` find it; `Check` never returns it). In `internal/reqrec`: `TestTripRecordAndCap`, `TestBurstMatchCooldownFields`.
+- [ ] **Step 2:** Run `go test ./internal/edge/ ./internal/edgeguard/ ./internal/reqrec/ -run 'Burst|Trip'`. Expected: FAIL.
+- [ ] **Step 3:** Implement per Interfaces and Placement; add PB-C01 to `burstCopyBuilt` (the body literal lives in `burst_refusal.go`).
+- [ ] **Step 4:** Run the Step 2 command plus `-run 'Guard|Static|Asset'` in `internal/edge`. Expected: PASS.
+- [ ] **Step 5:** Commit.
+
+---
+
+### Task 4: Notices between edges
+
+**Files:**
+- Create: `internal/edge/burst_notice.go`
+- Modify: `internal/edge/edge.go` (intercept), `internal/edge/mesh.go` (MAC domain)
+- Test: `internal/edge/burst_notice_test.go`
+
+**Interfaces:**
+- Consumes: Task 2 `apply`, Task 3's trip call site.
+- Produces:
+ - Wire: `POST /.carlos/burst-notice` on the receiving edge's public listener, `Host` = a host the receiver serves (any key of its edges file's `Hosts`, the lowest in sort order that has no `*`), header `X-Carlos-Burst-Auth: <unix>:<hex>`, JSON body `{"client":"203.0.113.7/32","until":<unix seconds>,"from":"<sender box>","ref":"<trip ref>"}` at most 512 bytes.
+ - MAC: HMAC-SHA256 under the mesh signing key over `"carlos-burst-notice\x00" + receiverBox + "\n" + ts + "\n" + body`; verify under current or next key (`meshKeys()`), timestamp within `hopSkew`.
+ - `func (e *Edge) sendBurstNotices(client netip.Prefix, until time.Time, ref string)`: for every edges-file box other than `e.box` with a non-empty dial address (`edgesfile.Reader.Dial`, as `foldHomes` does) and a servable host, enqueue one notice; a bounded queue drained by one goroutine using `e.backhaulTransport(dial)`; cap 120 per minute; overflow and send failures counted and logged via `logThrottled` with a fixed key; no retry. No mesh key: sends nothing.
+ - `func (e *Edge) serveBurstNotice(w http.ResponseWriter, r *http.Request) bool`: intercepted in ServeHTTP after `acceptHop` and before route lookup, for `POST` with path `/.carlos/burst-notice` and the auth header present. Answers 204 on apply, 404 on anything it refuses (no key, bad MAC, stale ts, wrong receiver, bad body, client not a canonical /32 or /64, expiry out of bounds, over the 600/minute cap), counting each refusal reason; logs an accepted notice to the operator log through a capped logger, never to tenant records. Never re-sends.
+ - A request with that path but no auth header falls through to the app as today.
+
+- [ ] **Step 1: Failing tests** with two real `Edge`s sharing a mesh key and published edges files, the backhaul port and root CAs overridden the way existing hop tests do:
+ - `TestBurstNoticeAppliesOnThePeer`: trip on edge A; within the test's wait, edge B refuses (block mode) a catalogue path from that client on its own app with `cooldown_from="another app on the platform"`.
+ - `TestBurstNoticeRefusesForgery` (Review Focus 2): wrong key, stale timestamp (31 s), wrong receiver name, until 11 min ahead, client `203.0.113.0/24`: each 404 and not applied.
+ - `TestBurstNoticeNoKeyNoSendNoAccept`: an edge with no mesh key sends nothing and refuses every notice (the fleet box case).
+ - `TestBurstNoticeCaps` (Review Focus 3): 130 trips in a minute send 120 and count 10; 610 notices received apply 600 and count 10.
+ - `TestBurstNoticePathWithoutAuthReachesApp`: `POST /.carlos/burst-notice` without the header is proxied to the app.
+ - `TestBurstNoticeIsNotAHop`: a valid hop signature or door signature in the burst header is refused (domain separation).
+- [ ] **Step 2:** Run `go test ./internal/edge/ -run BurstNotice`. Expected: FAIL.
+- [ ] **Step 3:** Implement.
+- [ ] **Step 4:** Run `-run 'BurstNotice|Burst|Hop|Backhaul'`. Expected: PASS.
+- [ ] **Step 5:** Commit.
+
+---
+
+### Task 5: The record-only switch
+
+**Files:**
+- Modify: `internal/telemetry/telemetry.go`, `internal/host/telemetry_pass.go`, `internal/host/agent.go` (wiring), `internal/edge/guard.go` and `internal/edge/edge.go` (switch map), `internal/console/protectionview.go`, `internal/console/templates/app_protection.html`, `internal/console/server.go` (route), `internal/console/apierrors.go` (API accepts it)
+- Create: `protection_cmd.go` (root package, the CLI), `internal/console/protectionsetting.go`
+- Test: `internal/telemetry/telemetry_test.go`, `internal/host/telemetry_pass_test.go`, `internal/edge/burst_edge_test.go`, `internal/console/protectionsetting_test.go`, `protection_cmd_test.go`
+
+**Interfaces:**
+- Produces:
+ - `telemetry.Protection struct { Mode string \`json:"mode,omitempty"\` }`; `Settings.Protection *Protection \`json:"protection,omitempty"\``; `const ProtectRecordOnly = "record"`; `Resolved.RecordOnly bool` (app scope only: *plan's call*, the switch is per app, the account level is not read).
+ - The telemetry pass also builds `map[string]bool` of record-only apps (same key `RouteAccount/App`) and hands it to a second sink `setProtectionSink(fn func(map[string]bool))`, wired to `e.SetProtectionRecordOnly`. A failed read keeps the app's last known value (never flips it on or off by error).
+ - `func (e *Edge) SetProtectionRecordOnly(m map[string]bool)`; `newGuardState(rt)` sets `recordOnly` from it.
+ - Console: `POST /a/{sqid}/apps/{app}/protection/setting` (`handleAppProtectionSetting`), the analytics setting's flow exactly: CSRF, owner only (else 404), `updateAppTelemetry(..., "protection-setting", fn)`, audit, `bumpSerial`, flash PB-C08/PB-C09, redirect to the tab. `handleAPITelemetryPut` accepts `protection.mode` (`"record"` or `""`) with the same owner rule. Add the route to the claim route inventory the way 1ec8c129 did.
+ - Tab: `protectionView.RecordOnly bool`, read with the app's telemetry settings; PB-C07 notice when on; the PB-C03..C06 control for owners.
+ - CLI: `carlos protection [--account a] [--app x] [--record-only on|off]` through `sess.telemetryPut(..., map[string]any{"protection": {"mode": ...}})`, printing PB-C11/PB-C12; with no flag, prints the current state.
+- [ ] **Step 1: Failing tests:** `TestResolveRecordOnly` (app setting on, account ignored); `TestTelemetryPassRecordOnlyMap` (map built, failed read keeps last value); `TestRecordOnlyNeverRefuses` (Review Focus 5: cooling client in block mode on a record-only app: forwarded and recorded; hard-tier `/.env` also forwarded); `TestProtectionSettingOwnerOnly`, `TestProtectionSettingWritesAndBumps`, `TestProtectionTabShowsRecordOnly`; `TestProtectionCmdSetsAndShows`.
+- [ ] **Step 2:** Run the touched packages with `-run 'RecordOnly|ProtectionSetting|ProtectionCmd|TelemetryPass'`. Expected: FAIL.
+- [ ] **Step 3:** Implement; add PB-C03..C12 to `burstCopyBuilt` (CLI strings checked by `TestProtectionCmdSetsAndShows`).
+- [ ] **Step 4:** Run again plus `TestBurstCopyDeck` and the three claim route census tests. Expected: PASS.
+- [ ] **Step 5:** Commit.
+
+---
+
+### Task 6: Showing it on the console
+
+**Files:**
+- Modify: `internal/console/protectiongroups.go`, `internal/console/protectionview.go` (`protectionLogRecord`), `internal/console/templates/app_protection.html` only if needed
+- Test: `internal/console/protection_test.go`, `internal/console/protectionview_test.go`
+
+**Interfaces:**
+- `protectionGroupNames["burst/probe-burst"] = ` PB-C02. `TestEveryCatalogueGroupHasAName` extends to `BurstRule`'s group.
+- `protectionLogRecord` keeps burst records (the rule is found by `RuleByID` and is not burst-mode), so the Logs link includes refusals and would-be refusals. Trip records (`kind=trip`) are not counted as caught; they show in Logs under the edge stream.
+- [ ] **Step 1: Failing tests:** `TestBurstGroupNamed`; `TestLogsProtectionFilterKeepsBurst` (a burst watch record kept, a trip record not counted).
+- [ ] **Step 2:** Run `-run 'BurstGroup|LogsProtectionFilterKeepsBurst|CatalogueGroup'`. Expected: FAIL.
+- [ ] **Step 3:** Implement; add PB-C02 to `burstCopyBuilt`.
+- [ ] **Step 4:** Run with `TestBurstCopyDeck` and `-run Protection`. Expected: PASS.
+- [ ] **Step 5:** Commit.
+
+---
+
+### Task 7: Branch checks
+
+- [ ] **Step 1:** `make census-card`; CLAIMS file; `make census-propose NAME=probe-burst-limit CLAIMS=<file>`; also the 9B8 record-write census if it reports changes. The cross-model reviewer decides (controller runs it).
+- [ ] **Step 2:** `GOOS=darwin go build ./... && GOOS=windows go build ./...`.
+- [ ] **Step 3:** `go vet ./...`, `go test -run '^$' ./...` (every test binary builds, the root package included), then `nice -n 19 go test ./internal/edge/ ./internal/edgeguard/ ./internal/reqrec/ ./internal/telemetry/ ./internal/host/ ./internal/console/` and the root package `-run 'Protection|Fleet'`.
+- [ ] **Step 4:** Commit census files; push; whole-branch review (Astra, at most three rounds).
diff --git a/docs/superpowers/specs/2026-10-31-probe-burst-limit-design.md b/docs/superpowers/specs/2026-10-31-probe-burst-limit-design.md
index 9c659e8db..8954b0608 100644
--- a/docs/superpowers/specs/2026-10-31-probe-burst-limit-design.md
+++ b/docs/superpowers/specs/2026-10-31-probe-burst-limit-design.md
@@ -1,6 +1,6 @@
# Probe-burst limit, shared across the platform
-Status: draft for Paul, 2026-10-31, revision 2 (after the Astra builder check, §9). Branch `design-probe-burst-491`.
+Status: revision 2, APPROVED by Paul 2026-10-31 ("Sounds good"). Branch `design-probe-burst-491`.
Builds §5.5 of the edge request protection spec
(`docs/superpowers/specs/2026-10-24-edge-request-protection-design.md`, "the