carlos / platform Public

census: console-perf-1 overlays, the six new units as Paul's decision rows, and the record-write entries

The root-read census: plan14-root-reads-console-perf-1-decisions.tsv,
written by hand, holds the six new units Paul accepted on 2026-10-26
(timedBody.Read, which reads the console's own outbound response
bodies, and five units of internal/s3fake, a test-only package no binary
links), chained before plan14-root-reads-console-perf-1.tsv, which
census-propose wrote last for the four body approvals and five envelope
re-pins. Card: docs/superpowers/notes/census-proposal-console-perf-1.md.

The record-write census (9B8) had two unlisted sites and two moved
digests from this branch: writeTemplate's sync.Pool Put (nonrecord),
s3fake's PutObject (testsupport), NewServer and handleAppActivity
re-pinned at their key-site class.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev fbf4b7b459166cbcf11dbc554a1e921481258bb5 parent d903f87
6 files changed, +100 −1
  • docs/superpowers/notes/census-proposal-console-perf-1.md +25 −0
  • internal/provision/console_perf_1_census_test.go +42 −0
  • internal/provision/plan9_b8_census_test.go +1 −1
  • internal/provision/testdata/plan14-root-reads-chain.tsv +2 −0
  • internal/provision/testdata/plan14-root-reads-console-perf-1-decisions.tsv +15 −0
  • internal/provision/testdata/plan14-root-reads-console-perf-1.tsv +15 −0

CI passed — run details

diff --git a/docs/superpowers/notes/census-proposal-console-perf-1.md b/docs/superpowers/notes/census-proposal-console-perf-1.md
new file mode 100644
index 000000000..ff1ab61c7
--- /dev/null
+++ b/docs/superpowers/notes/census-proposal-console-perf-1.md
@@ -0,0 +1,25 @@
+# Census approval: console-perf-1
+
+Ruling `census-ruling-console-perf-1`. Every change below keeps the disposition it already has, so it needs an approval, not a decision.
+
+| unit | change | read sites | what changed |
+|---|---|---|---|
+| `cmd/console/main.go` `serve` | body | unchanged (3) | one perf.Recorder made before the stores: the deployment store (openStore(rec)) and the seed data store are wrapped by console.TimeS3Store so their S3 HTTP requests are timed and counted into it, and cfg.Perf carries it to NewServer; no read added, the three read sites unchanged |
+| `internal/console/server.go` `NewServer` | body | unchanged (1) | takes cfg.Perf (or makes its own perf.Recorder), builds the instance fetcher after it so app-host calls are counted, and wraps the mux in perf.Middleware with /healthz skipped; no read added, read site unchanged |
+| `internal/console/templates/metrics.html` `external` | body | unchanged (1) | the Console speed section on the operator-only metrics page: a table of route, requests, over 150 ms, p50, p95 and S3 requests (the route cell names the method beside the pattern), and the background S3 count line; embedded template, no read added |
+| `internal/console/view.go` `Assemble` | body | unchanged (20) | takes the request context instead of context.Background() and wraps the registry List in a perf db span (perf.SpanContext); the same registry and store reads, no read added |
+
+Envelopes re-pinned: `cmd/console`, `internal/console`, `internal/console/templates`, `internal/perf`, `internal/s3fake`.
+
+Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Escalate if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. An escalation goes to the census owner as a decision.
+
+Recorded dispositions, which each change must still satisfy:
+
+- `cmd/console/main.go` `serve`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the console (cmd/console serve under console.service, user carlos-console): Task 0 starts the lifetimes cutover watch, Task 3 the lifetime recovery pass and Task 5 the incarnation migration pass (off unless CARLOS_LIFETIMES_MIGRATE=1) beside the other claim workers; the same three data path literals move; no privileged reader is added
+- `internal/console/server.go` `NewServer`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=console construction adds the lifetime judge, the cutover admission gate and its first marker read; claims-off app materialisation moves to the cutover watch; the existing logs/data route literal moves and is not a filesystem read;rev3=census-ruling-plans-4d-lapse;basis=registers GET and POST /a/{sqid}/plan/keep (the owner-only keep page, plans 4d) beside the account settings routes; no goroutine; read sites unchanged, offsets moved
+- `internal/console/templates/metrics.html` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input
+- `internal/console/view.go` `Assemble`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route
+
+Seal: `8d5aadb4d07bc35dd58b08bd6d5e45e4ff2c90c964caa85f14683fa6cb9bb6af` → `bb1f479b676426fb8485a6703cca1b28c545c1b284846e1740fd2e090e988311`.
+
+Overlay: `internal/provision/testdata/plan14-root-reads-console-perf-1.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/provision/console_perf_1_census_test.go b/internal/provision/console_perf_1_census_test.go
new file mode 100644
index 000000000..5e5883f5d
--- /dev/null
+++ b/internal/provision/console_perf_1_census_test.go
@@ -0,0 +1,42 @@
+package provision
+
+// Record-write census entries for console perf plan 1 (branch
+// console-perf-1: measuring the console's requests), layered on
+// claimsCleanupR2WriteCensusInventory (main's newest at the branch's
+// merge). Reviewed by the branch author; the census owner rules on #280
+// with the root-read card (docs/superpowers/notes/census-proposal-console-perf-1.md).
+// - NewServer, re-pinned: it now takes cfg.Perf (or makes a recorder),
+// builds the instance fetcher after it and wraps the mux in
+// perf.Middleware. Its one site is the same "instances" route literal:
+// still key-site. No write site is added.
+// - Server.handleAppActivity, re-pinned: its console-DB Events read is
+// wrapped in a perf db span. Same "instances" literal: still key-site.
+// - Server.writeTemplate, new: it renders a page into a pooled
+// bytes.Buffer before any header goes; its one Put is templateBufs.Put,
+// a sync.Pool's, returning the buffer. No store, no key: nonrecord.
+// - Server.put, new: internal/s3fake's PutObject. It stores the test
+// client's body in the test's own release.DirStore fixture under the
+// key the request names. internal/s3fake is a test-only package no
+// binary links (its only importers are _test.go files), the class of
+// leasetest.VersionedBucket and dbreadstest.Submit: testsupport.
+func consolePerf1WriteCensusInventory() []censusEntry {
+ entries := append([]censusEntry(nil), claimsCleanupR2WriteCensusInventory()...)
+ replacements := []censusEntry{
+ {"internal/console/server.go", "NewServer", "key-site", "lit:instances", "ca096711326d170f5096862b5191e7143f308484f55a0b5f23c4f6befc5c9e62"},
+ {"internal/console/server.go", "Server.handleAppActivity", "key-site", "lit:instances", "ce465129575429a4990e018d36b7ca3cad8893044b20b37fc090e974e6d11eba"},
+ {"internal/console/server.go", "Server.writeTemplate", "nonrecord", "sel:Put", "f6cefd04e0c394c8dacc0671be4be6689c4f06e68cfc7d866f3234dd9a1561c2"},
+ {"internal/s3fake/s3fake.go", "Server.put", "testsupport", "sel:Put", "21bd21c65b811521f1fd56fda1dc87f21cdf3bf627d2ae101a7234723d139c5a"},
+ }
+ for _, r := range replacements {
+ found := false
+ for i, e := range entries {
+ if e.File == r.File && e.Unit == r.Unit {
+ entries[i], found = r, true
+ }
+ }
+ if !found {
+ entries = append(entries, r)
+ }
+ }
+ return entries
+}
diff --git a/internal/provision/plan9_b8_census_test.go b/internal/provision/plan9_b8_census_test.go
index 7275e8551..f9e152217 100644
--- a/internal/provision/plan9_b8_census_test.go
+++ b/internal/provision/plan9_b8_census_test.go
@@ -366,7 +366,7 @@ func TestPlan9B8RecordWriteCensus(t *testing.T) {
if len(got) < 100 {
t.Fatalf("census found only %d units under %s; the walk is broken", len(got), root)
}
- inventory := claimsCleanupR2WriteCensusInventory()
+ inventory := consolePerf1WriteCensusInventory()
problems := append(censusDiff(inventory, got), censusPolicy(inventory)...)
if len(problems) > 0 {
t.Fatalf("record-write census rejected %d site(s); update the explicit inventory only after reviewing the source:\n %s", len(problems), strings.Join(problems, "\n "))
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 00311d81b..46aeb5d6e 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -45,3 +45,5 @@ plan14-root-reads-edge-protection-2.tsv a864cf31b6bf2c30b5aa8c2647835efdc456f34f
plan14-root-reads-offline-move-trim-t1.tsv a864cf31b6bf2c30b5aa8c2647835efdc456f34f4945eea12751daab2457728e
plan14-root-reads-claims-cleanup-r1.tsv 9cef5e93a1e3520e02efe66455bf70c1170d380b6d6a72ede02036ce3dd41924
plan14-root-reads-claims-cleanup-r2.tsv 9cef5e93a1e3520e02efe66455bf70c1170d380b6d6a72ede02036ce3dd41924
+plan14-root-reads-console-perf-1-decisions.tsv 8d5aadb4d07bc35dd58b08bd6d5e45e4ff2c90c964caa85f14683fa6cb9bb6af
+plan14-root-reads-console-perf-1.tsv bb1f479b676426fb8485a6703cca1b28c545c1b284846e1740fd2e090e988311
diff --git a/internal/provision/testdata/plan14-root-reads-console-perf-1-decisions.tsv b/internal/provision/testdata/plan14-root-reads-console-perf-1-decisions.tsv
new file mode 100644
index 000000000..51aea9efd
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-console-perf-1-decisions.tsv
@@ -0,0 +1,15 @@
+# Census overlay console-perf-1-decisions, written BY HAND (AGENTS.md, The census: census-propose refuses decisions). The decisions of census-ruling-console-perf-1 (branch console-perf-1, plan docs/superpowers/plans/2026-10-25-console-perf-1-measure.md: measuring the console's requests): six new units. Loaded from the chain manifest before plan14-root-reads-console-perf-1.tsv, which census-propose wrote for the approvals. Card docs/superpowers/notes/census-proposal-console-perf-1.md.
+# RULED: Paul, as census owner, 2026-10-26: accept all six new units as decision rows. timedBody.Read reads the HTTP response body of the console's own S3 or app-host request (no root-owned state); the five Server units are internal/s3fake, a test-only package no binary links.
+# No root read is added. Six frozen declarations are added, so the seal moves.
+@legacy f405668ce33c8f211cf44ac832e3a60e59ad5d360cd2cc94a0bb82de106ac027 internal/perf/middleware.go timedBody.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=the console (cmd/console serve under console.service, user carlos-console), through perf.TimeDoer on its deployment-store S3 client (TimeS3Store) and its app-host client (the instance fetcher);basis=new: reads the HTTP response body of the console's own outbound S3 or app-host request (the wrapped resp.Body's Read), passing the bytes through unchanged and ending the request's timing span at EOF; no file, no path, no root-owned state, nothing written; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:Read@20,file:Read@61 ec040411c2d06e32062bee9394cfce49bb492d52824b30f2921e79dcd7ee08b5
+internal/perf/middleware.go timedBody.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=the console (cmd/console serve under console.service, user carlos-console), through perf.TimeDoer on its deployment-store S3 client (TimeS3Store) and its app-host client (the instance fetcher);basis=new: reads the HTTP response body of the console's own outbound S3 or app-host request (the wrapped resp.Body's Read), passing the bytes through unchanged and ending the request's timing span at EOF; no file, no path, no root-owned state, nothing written; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:Read@20,file:Read@61 ec040411c2d06e32062bee9394cfce49bb492d52824b30f2921e79dcd7ee08b5
+@legacy 95250129b2f03241b2d9ed9d7ee169b4d82c2c19ced315c05903d5f341881386 internal/s3fake/s3fake.go Server.list legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=none at runtime: a developer or CI running go test, as their own user; internal/s3fake is a test-only package that no binary links (its only importers are _test.go files in internal/console and internal/release); no root, no production binary;basis=new: parses a ListObjectsV2 request's query (prefix, delimiter, continuation-token, start-after, max-keys) from the test client's URL; no file opened from the query; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:Query@105 d021647fd06afc9d93ff07252ad77ec86e1d7acb7ae4c995ba48fd7f1d264a6f
+internal/s3fake/s3fake.go Server.list legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=none at runtime: a developer or CI running go test, as their own user; internal/s3fake is a test-only package that no binary links (its only importers are _test.go files in internal/console and internal/release); no root, no production binary;basis=new: parses a ListObjectsV2 request's query (prefix, delimiter, continuation-token, start-after, max-keys) from the test client's URL; no file opened from the query; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:Query@105 d021647fd06afc9d93ff07252ad77ec86e1d7acb7ae4c995ba48fd7f1d264a6f
+@legacy b0e78692ba8859aaea2cdd03554ef8a66bac9343becaf7bcc90d5a9322db2660 internal/s3fake/s3fake.go Server.listMod legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=none at runtime: a developer or CI running go test, as their own user; internal/s3fake is a test-only package that no binary links (its only importers are _test.go files in internal/console and internal/release); no root, no production binary;basis=new: walks the test's own fixture directory (the release.DirStore root the test names with ListFrom, under its temp dir) below a listing prefix for keys and modification times, never through a symlink or a .carlos-write- staging directory, and otherwise asks the DirStore; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:WalkDir@208 10231b3be549a2e28ad9838d3f2a6b1b9a9040f122d477f4b73f55449096fc8a
+internal/s3fake/s3fake.go Server.listMod legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=none at runtime: a developer or CI running go test, as their own user; internal/s3fake is a test-only package that no binary links (its only importers are _test.go files in internal/console and internal/release); no root, no production binary;basis=new: walks the test's own fixture directory (the release.DirStore root the test names with ListFrom, under its temp dir) below a listing prefix for keys and modification times, never through a symlink or a .carlos-write- staging directory, and otherwise asks the DirStore; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:WalkDir@208 10231b3be549a2e28ad9838d3f2a6b1b9a9040f122d477f4b73f55449096fc8a
+@legacy 14901ec4333aea5b07967b6dc7d5c014e971c309f2371e619f2b32be511bcacc internal/s3fake/s3fake.go Server.put legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=none at runtime: a developer or CI running go test, as their own user; internal/s3fake is a test-only package that no binary links (its only importers are _test.go files in internal/console and internal/release); no root, no production binary;basis=new: reads a PutObject request's body from the test client and stores it through the fixture's release.DirStore; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:ReadAll@359 21bd21c65b811521f1fd56fda1dc87f21cdf3bf627d2ae101a7234723d139c5a
+internal/s3fake/s3fake.go Server.put legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=none at runtime: a developer or CI running go test, as their own user; internal/s3fake is a test-only package that no binary links (its only importers are _test.go files in internal/console and internal/release); no root, no production binary;basis=new: reads a PutObject request's body from the test client and stores it through the fixture's release.DirStore; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:ReadAll@359 21bd21c65b811521f1fd56fda1dc87f21cdf3bf627d2ae101a7234723d139c5a
+@legacy 9fca3a213ba46ba0a56e1f41b53d31fb30d42f3bda7f9463426ce96a0181ea53 internal/s3fake/s3fake.go Server.serve legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=none at runtime: a developer or CI running go test, as their own user; internal/s3fake is a test-only package that no binary links (its only importers are _test.go files in internal/console and internal/release); no root, no production binary;basis=new: parses the test client's request URL query to route it to list, get, head, put or delete; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:Query@281 204bd23462987d6a0210a34b2c1351f94caa462869f2c821503ab6ad44f28b6b
+internal/s3fake/s3fake.go Server.serve legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=none at runtime: a developer or CI running go test, as their own user; internal/s3fake is a test-only package that no binary links (its only importers are _test.go files in internal/console and internal/release); no root, no production binary;basis=new: parses the test client's request URL query to route it to list, get, head, put or delete; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:Query@281 204bd23462987d6a0210a34b2c1351f94caa462869f2c821503ab6ad44f28b6b
+@legacy 249bc8c6cea90bce7e5f119cc0d5ab8d96fd424be65441b14eabdb0f69245462 internal/s3fake/s3fake.go Server.walkStart legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=none at runtime: a developer or CI running go test, as their own user; internal/s3fake is a test-only package that no binary links (its only importers are _test.go files in internal/console and internal/release); no root, no production binary;basis=new: Lstats the fixture root and each directory on a listing prefix's path inside it, so listMod walks only real directories with ordinary names; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:Lstat@196 518aeb7bf122cf150418d9450ff684216fdb34f36f788c4af8d0f0060f7a06f0
+internal/s3fake/s3fake.go Server.walkStart legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-perf-1;identity=none at runtime: a developer or CI running go test, as their own user; internal/s3fake is a test-only package that no binary links (its only importers are _test.go files in internal/console and internal/release); no root, no production binary;basis=new: Lstats the fixture root and each directory on a listing prefix's path inside it, so listMod walks only real directories with ordinary names; decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280) file:Lstat@196 518aeb7bf122cf150418d9450ff684216fdb34f36f788c4af8d0f0060f7a06f0
diff --git a/internal/provision/testdata/plan14-root-reads-console-perf-1.tsv b/internal/provision/testdata/plan14-root-reads-console-perf-1.tsv
new file mode 100644
index 000000000..c7dcbb5ab
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-console-perf-1.tsv
@@ -0,0 +1,15 @@
+# Census overlay console-perf-1, written by census-propose (#369). census-ruling-console-perf-1, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-console-perf-1.md.
+# 4 body, 0 sites, 5 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+@legacy 1b3a781308d0fb475aedd1083a13c6c19aaf0ec06e9b6702bcf857b89ee25b61 cmd/console/main.go serve legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the console (cmd/console serve under console.service, user carlos-console): Task 0 starts the lifetimes cutover watch, Task 3 the lifetime recovery pass and Task 5 the incarnation migration pass (off unless CARLOS_LIFETIMES_MIGRATE=1) beside the other claim workers; the same three data path literals move; no privileged reader is added;rev3=census-ruling-console-perf-1;basis=one perf.Recorder made before the stores: the deployment store (openStore(rec)) and the seed data store are wrapped by console.TimeS3Store so their S3 HTTP requests are timed and counted into it, and cfg.Perf carries it to NewServer; no read added, the three read sites unchanged data-literal@4860,data-literal@5961,data-literal@6198 b6abd8e073772c087582d0d6e22ee43c6d5650d83a1e70622dc7fa90a02a454b
+@legacy eec2396189d8c666ccd58d9d943cfc81ac605d4e7c14e8721e583ef0f58f6f3e internal/console/server.go NewServer legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=console construction adds the lifetime judge, the cutover admission gate and its first marker read; claims-off app materialisation moves to the cutover watch; the existing logs/data route literal moves and is not a filesystem read;rev3=census-ruling-plans-4d-lapse;basis=registers GET and POST /a/{sqid}/plan/keep (the owner-only keep page, plans 4d) beside the account settings routes; no goroutine; read sites unchanged, offsets moved;rev3=census-ruling-console-perf-1;basis=takes cfg.Perf (or makes its own perf.Recorder), builds the instance fetcher after it so app-host calls are counted, and wraps the mux in perf.Middleware with /healthz skipped; no read added, read site unchanged data-literal@10261 ca096711326d170f5096862b5191e7143f308484f55a0b5f23c4f6befc5c9e62
+@legacy a576bbb9246b91df9340ae1aa5398728f1bab9718fcf48cc4c8d29a16b3e35f1 internal/console/templates/metrics.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-console-perf-1;basis=the Console speed section on the operator-only metrics page: a table of route, requests, over 150 ms, p50, p95 and S3 requests (the route cell names the method beside the pattern), and the background S3 count line; embedded template, no read added file:external@0 0cc9ffbc8cbd2072fc1c170577772d12b61e7463225bff580e0bd1028d78f9ea
+@legacy 26db62a53d5c20ea45fe9bd3921f9935a8686cbda5fe7bc2068bc67337f2b8b6 internal/console/view.go Assemble legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-perf-1;basis=takes the request context instead of context.Background() and wraps the registry List in a perf db span (perf.SpanContext); the same registry and store reads, no read added registry:App@1656,registry:App@1679,registry:App@2057,registry:App@2087,registry:Backing@1957,registry:Caps@1325,registry:Channel@900,registry:Environment@1882,registry:Hibernate@1799,registry:Host@1708,registry:Kind@1723,registry:Platform@1829,registry:Provisioned@1982,registry:Status@1740,registry:Unit@1939,registry:Version@1763,whole:Route@2032,whole:Route@2107,whole:Route@808,whole:Route@850 79cfbaab5f2ff5482b71829c40eb7b588fa3b0327d0bc5a1e490474675dd5c41
+cmd/console/main.go serve legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the console (cmd/console serve under console.service, user carlos-console): Task 0 starts the lifetimes cutover watch, Task 3 the lifetime recovery pass and Task 5 the incarnation migration pass (off unless CARLOS_LIFETIMES_MIGRATE=1) beside the other claim workers; the same three data path literals move; no privileged reader is added;rev3=census-ruling-console-perf-1;basis=one perf.Recorder made before the stores: the deployment store (openStore(rec)) and the seed data store are wrapped by console.TimeS3Store so their S3 HTTP requests are timed and counted into it, and cfg.Perf carries it to NewServer; no read added, the three read sites unchanged data-literal@4860,data-literal@5961,data-literal@6198 b6abd8e073772c087582d0d6e22ee43c6d5650d83a1e70622dc7fa90a02a454b
+internal/console/server.go NewServer legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=console construction adds the lifetime judge, the cutover admission gate and its first marker read; claims-off app materialisation moves to the cutover watch; the existing logs/data route literal moves and is not a filesystem read;rev3=census-ruling-plans-4d-lapse;basis=registers GET and POST /a/{sqid}/plan/keep (the owner-only keep page, plans 4d) beside the account settings routes; no goroutine; read sites unchanged, offsets moved;rev3=census-ruling-console-perf-1;basis=takes cfg.Perf (or makes its own perf.Recorder), builds the instance fetcher after it so app-host calls are counted, and wraps the mux in perf.Middleware with /healthz skipped; no read added, read site unchanged data-literal@10261 ca096711326d170f5096862b5191e7143f308484f55a0b5f23c4f6befc5c9e62
+internal/console/templates/metrics.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-console-perf-1;basis=the Console speed section on the operator-only metrics page: a table of route, requests, over 150 ms, p50, p95 and S3 requests (the route cell names the method beside the pattern), and the background S3 count line; embedded template, no read added file:external@0 0cc9ffbc8cbd2072fc1c170577772d12b61e7463225bff580e0bd1028d78f9ea
+internal/console/view.go Assemble legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-perf-1;basis=takes the request context instead of context.Background() and wraps the registry List in a perf db span (perf.SpanContext); the same registry and store reads, no read added registry:App@1656,registry:App@1679,registry:App@2057,registry:App@2087,registry:Backing@1957,registry:Caps@1325,registry:Channel@900,registry:Environment@1882,registry:Hibernate@1799,registry:Host@1708,registry:Kind@1723,registry:Platform@1829,registry:Provisioned@1982,registry:Status@1740,registry:Unit@1939,registry:Version@1763,whole:Route@2032,whole:Route@2107,whole:Route@808,whole:Route@850 79cfbaab5f2ff5482b71829c40eb7b588fa3b0327d0bc5a1e490474675dd5c41
+@coverage cmd/console 43e4a980ed07a93369cb3b380d1052548129fe6eaed07d35fe09ef84344aaa1f
+@coverage internal/console 166d793f17d7d9db532b25bf4a4b07384f2988ad67cbc220e043c94271ad9052
+@coverage internal/console/templates 6fbc585819c9343d4159efbdc6ef163da36c73ca6b7488b189f5fe851d985f6a
+@coverage internal/perf b7cb066e87fa09ac91dc6a7bb83e066939ea928d79f22f2dd3b9e2486c87f92a
+@coverage internal/s3fake 7180ea46f3eafc76080c7990639adbaff8da32a5f297121470a35c4bd88815cd