Probe-burst limit, shared across the platform (#491)
A client that collects 60 not-founds on one app within 60 s trips a 10-minute cool-down: its requests for catalogue paths the app is not known to serve are refused (429 + reference code) on every app. Real pages and existing static files are never refused; browser requests (Sec-Fetch-Mode) never count; counting happens once, on the edge that saw the visitor's headers. Trips go to every platform edge advertising burst_notices as mesh-key-signed, AES-GCM-encrypted notices (receiver-bound, replay-checked, bounded body and time, 120 sends/min at dispatch); fleet boxes cannot send or accept. Per-app record-only switch (console, API, CLI), delivered through the telemetry pass to every edge serving the app incl. far asset edges; one lock per pass (Paul's ruling). New Protection group and Logs filter. Watch-only by default; blocking is promoted on Paul's approval after calibration. Copy PB-C01..C17 approved by Paul unchanged. Reviews: spec builder check (Astra); plan Astra R1-R3; task reviews (Astra) T2-T4; whole-branch Astra R1 + fix re-checks. Census probe-burst-limit approved by Astra on #280. Not released. Squashed from design-probe-burst-491 into main.
apimode.go+18 −0docs/site/cli.md+10 −0docs/superpowers/notes/census-proposal-probe-burst-limit.md+64 −0docs/superpowers/plans/2026-10-31-probe-burst-limit-copy.md+53 −0docs/superpowers/plans/2026-10-31-probe-burst-limit.md+225 −0docs/superpowers/plans/CODEX-FINDINGS-PROBE-BURST-PLAN-R1.md+71 −0docs/superpowers/plans/CODEX-FINDINGS-PROBE-BURST-PLAN-R2.md+43 −0docs/superpowers/plans/CODEX-FINDINGS-PROBE-BURST-PLAN-R3.md+42 −0docs/superpowers/specs/2026-10-31-probe-burst-limit-design.md+242 −0docs/superpowers/specs/CODEX-FINDINGS-PROBE-BURST-LIMIT.md+14 −0internal/console/apierrors.go+68 −22internal/console/approved_burst_copy_test.go+157 −0internal/console/authcli.go+3 −0internal/console/claim_invariant_fixtures_test.go+7 −0internal/console/claim_invariant_probes_read_test.go+9 −0internal/console/protectiongroups.go+2 −1internal/console/protectionsetting.go+115 −0internal/console/protectionsetting_test.go+303 −0internal/console/protectionview.go+10 −2internal/console/protectionview_test.go+33 −1internal/console/server.go+1 −0internal/console/templates/app_protection.html+20 −0internal/console/testdata/claim-routes.txt+2 −0internal/console/testdata/perf-budgets.txt+1 −1internal/edge/answered.go+7 −0internal/edge/asset_e2e_test.go+1 −0internal/edge/assetcatch.go+88 −9internal/edge/burst.go+265 −0internal/edge/burst_edge_test.go+973 −0internal/edge/burst_notice.go+702 −0internal/edge/burst_notice_test.go+1,042 −0internal/edge/burst_refusal.go+31 −0internal/edge/burst_test.go+451 −0internal/edge/edge.go+44 −5internal/edge/guard.go+202 −18internal/edge/guard_test.go+7 −1internal/edge/homemap.go+4 −0internal/edge/mesh.go+56 −0internal/edge/race_off_test.go+6 −0internal/edge/race_on_test.go+7 −0internal/edge/reqrecords.go+7 −4internal/edge/reqrecords_test.go+1 −0internal/edge/static.go+36 −5internal/edge/testdata/edges-forward-hub.json+1 −1internal/edgeguard/catalogue.go+17 −0internal/edgeguard/catalogue_test.go+31 −0internal/host/agent.go+5 −0internal/host/edgesfile.go+8 −0internal/host/edgesfile_test.go+28 −5internal/host/egress_nopolicy_linux_test.go+6 −3internal/host/telemetry_pass.go+187 −43internal/host/telemetry_pass_test.go+433 −0internal/provision/plan9_b8_census_test.go+1 −1internal/provision/probe_burst_limit_census_test.go+50 −0internal/provision/testdata/plan14-root-reads-chain.tsv+1 −0internal/provision/testdata/plan14-root-reads-probe-burst-limit.tsv+46 −0internal/reqrec/recorder.go+64 −0internal/reqrec/recorder_test.go+70 −0internal/telemetry/telemetry.go+28 −4internal/telemetry/telemetry_test.go+43 −0main.go+3 −0protection_cmd.go+81 −0protection_cmd_test.go+134 −0
CI failed — run details
apimode.goLoading diff…
docs/site/cli.mdLoading diff…
docs/superpowers/notes/census-proposal-probe-burst-limit.mdLoading diff…
docs/superpowers/plans/2026-10-31-probe-burst-limit-copy.mdLoading diff…
docs/superpowers/plans/2026-10-31-probe-burst-limit.mdLoading diff…
docs/superpowers/plans/CODEX-FINDINGS-PROBE-BURST-PLAN-R1.mdLoading diff…
docs/superpowers/plans/CODEX-FINDINGS-PROBE-BURST-PLAN-R2.mdLoading diff…
docs/superpowers/plans/CODEX-FINDINGS-PROBE-BURST-PLAN-R3.mdLoading diff…
docs/superpowers/specs/2026-10-31-probe-burst-limit-design.mdLoading diff…
docs/superpowers/specs/CODEX-FINDINGS-PROBE-BURST-LIMIT.mdLoading diff…
internal/console/apierrors.goLoading diff…
internal/console/approved_burst_copy_test.goLoading diff…
internal/console/authcli.goLoading diff…
internal/console/claim_invariant_fixtures_test.goLoading diff…
internal/console/claim_invariant_probes_read_test.goLoading diff…
internal/console/protectiongroups.goLoading diff…
internal/console/protectionsetting.goLoading diff…
internal/console/protectionsetting_test.goLoading diff…
internal/console/protectionview.goLoading diff…
internal/console/protectionview_test.goLoading diff…
internal/console/server.goLoading diff…
internal/console/templates/app_protection.htmlLoading diff…
internal/console/testdata/claim-routes.txtLoading diff…
internal/console/testdata/perf-budgets.txtLoading diff…
internal/edge/answered.goLoading diff…
internal/edge/asset_e2e_test.goLoading diff…
internal/edge/assetcatch.goLoading diff…
internal/edge/burst.goLoading diff…
internal/edge/burst_edge_test.goLoading diff…
internal/edge/burst_notice.goLoading diff…
internal/edge/burst_notice_test.goLoading diff…
internal/edge/burst_refusal.goLoading diff…
internal/edge/burst_test.goLoading diff…
internal/edge/edge.goLoading diff…
internal/edge/guard.goLoading diff…
internal/edge/guard_test.goLoading diff…
internal/edge/homemap.goLoading diff…
internal/edge/mesh.goLoading diff…
internal/edge/race_off_test.goLoading diff…
internal/edge/race_on_test.goLoading diff…
internal/edge/reqrecords.goLoading diff…
internal/edge/reqrecords_test.goLoading diff…
internal/edge/static.goLoading diff…
internal/edge/testdata/edges-forward-hub.jsonLoading diff…
internal/edgeguard/catalogue.goLoading diff…
internal/edgeguard/catalogue_test.goLoading diff…
internal/host/agent.goLoading diff…
internal/host/edgesfile.goLoading diff…
internal/host/edgesfile_test.goLoading diff…
internal/host/egress_nopolicy_linux_test.goLoading diff…
internal/host/telemetry_pass.goLoading diff…
internal/host/telemetry_pass_test.goLoading diff…
internal/provision/plan9_b8_census_test.goLoading diff…
internal/provision/probe_burst_limit_census_test.goLoading diff…
internal/provision/testdata/plan14-root-reads-chain.tsvLoading diff…
internal/provision/testdata/plan14-root-reads-probe-burst-limit.tsvLoading diff…
internal/reqrec/recorder.goLoading diff…
internal/reqrec/recorder_test.goLoading diff…
internal/telemetry/telemetry.goLoading diff…
internal/telemetry/telemetry_test.goLoading diff…
main.goLoading diff…
protection_cmd.goLoading diff…
protection_cmd_test.goLoading diff…