Console plans: Astra round 3 findings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+47
−0
docs/superpowers/plans/CODEX-FINDINGS-CONSOLE-PLANS-R3.md+47 −0
diff --git a/docs/superpowers/plans/CODEX-FINDINGS-CONSOLE-PLANS-R3.md b/docs/superpowers/plans/CODEX-FINDINGS-CONSOLE-PLANS-R3.md| new file mode 100644 |
| index 000000000..9375036c3 |
| --- /dev/null |
| +++ b/docs/superpowers/plans/CODEX-FINDINGS-CONSOLE-PLANS-R3.md |
| @@ -0,0 +1,47 @@ |
| +| Earlier finding | Disposition | Evidence at `ea7c209b` | |
| +|---|---|---| |
| +| R2-1: Perf-2 loses Releases pagination | **Resolved** | Page-specific keys, pager metadata, fragment query parameters and the 23-version acceptance test are retained. [Perf-2 T10:443](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:443). | |
| +| R2-2: Pagination signatures omit context | **Resolved** | Both pagination functions take and propagate `ctx`; `Versions` preserves perf-1’s signature. [Nav T3:232](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-ux-nav.md:232). | |
| +| R2-3: Deferred Economics controls are inert | **Resolved** | Initializers move outside the fragment; insertion dispatches an initialization event; cold-load editing and saving are tested. [Operator T12:620](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-operator-pages.md:620), [T13:648](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-operator-pages.md:648). | |
| +| R2-4: Economics reread restores the inner cache’s old value | **Resolved** | Saves invalidate and generation-guard the inner cache before rereading. [Perf-2 T15:570](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:570). | |
| +| R2-5: Log-search keys collide | **Resolved** | Keys hash the complete effective filter; whitespace and long-search distinctions have explicit tests. [Perf-2 T12:493](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:493). | |
| +| R2-6: Legacy bake status outlives its deadline | **Partly** | Request-time derivation is specified, but `Assemble` must call `s.now()` while its declared `s` remains a `release.Store`, with no clock argument. The clock-dependent acceptance test cannot use the stated interface. [Perf-2 T9:412–414](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:412), [view.go:552](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/view.go:552). | |
| +| R2-7: Walk ignores cold-page latency | **Resolved** | An enforced cold request and cache reset are now specified. A separate landing conflict remains below. [Perf-1 T10:408](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-1-measure.md:408), [Perf-2 T6:237](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:237). | |
| +| R2-8: Remote spans exclude response-body stalls | **Resolved** | Spans end at EOF/Close, with a delayed-body test. [Perf-1 T3:162](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-1-measure.md:162). | |
| +| R2-9: Account audit actions omitted under claim gating | **Resolved in the plan** | Task 6A provides app-less audit admission, boundary tests and an independent gate review. [Operator T6A:441](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-operator-pages.md:441). | |
| +| R2-10: Last-seen throttle is non-atomic | **Resolved** | One mutex covers check-and-reserve; concurrent tests count write attempts. [Operator T5:391](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-operator-pages.md:391). | |
| +| R2-11: Swallowed job failures appear successful | **Resolved** | Both pass shapes and swallowed helper failures must call `jobFailed`; an injected alert failure reaches the dashboard. [Operator T7:484](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-operator-pages.md:484). | |
| +| R2-12a: Cold Versions test warms Versions first | **Resolved** | Core is warmed through Activity. [Perf-2 T10:448](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:448). | |
| +| R2-12b: Held-listing test uses nonexistent helpers | **Resolved** | `HoldNext("list", …)` is defined; other loads are joined through blocking seams. [Perf-2 T2:118](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:118), [Operator T13:659](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-operator-pages.md:659). | |
| +| R2-12c: Static traversal test expects the wrong status | **Partly** | The first 301 is corrected. The next request, `/static/server.go`, also redirects—to `/static/server.go/`, which matches the wildcard with an empty file. Only then does asset lookup return 404. [Operator T2:300](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-operator-pages.md:300), [ServeMux implementation:2751](/home/paulca/.local/go-dist/src/net/http/server.go:2751). | |
| +| R1-9, previously partly: Older versions unreachable | **Resolved** | Nav supplies pagination and perf-2 preserves it. [Nav T3:233](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-ux-nav.md:233), [Perf-2 T10:454](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:454). | |
| +| R1-14, previously partly: Sparse fixtures and inferred S3 counts | **Resolved in design** | Populated fixtures now use production `S3Store` against an HTTP-counting fake, including listing pages and change-index requests. Its implementation and synchronization have new issues below. [Perf-1 T9:332](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-1-measure.md:332), [T10:380](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-1-measure.md:380). | |
| + |
| +1. **P2 — The new S3 contract test creates an import cycle.** |
| + [Perf-1 Task 9:326](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-1-measure.md:326) keeps the shared contract inside `package release`, while `s3fake.New(*release.DirStore)` makes the fake import `release`. The contract test importing that fake therefore creates `release → s3fake → release`. Moving the test to `release_test` is insufficient without further refactoring: the unchanged contract uses private `putRaw` and `deleteRaw`. Define an acyclic helper boundary before implementation. Evidence: [s3_minio_test.go:1](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/release/s3_minio_test.go:1), [s3_minio_test.go:78](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/release/s3_minio_test.go:78). |
| + |
| +2. **P2 — Perf-2 cannot pass its cold gate before operator-pages supplies placeholders.** |
| + [Perf-2 Task 15:560](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:560) deliberately uses `viewBlocking` and makes no template changes, then [Step 5:585](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:585) removes operator exceptions because warm views pass. The revised walk also measures cold requests, where these handlers still wait for remote reads. The placeholders arrive only after perf-2 lands. Preserve exceptions for **all** blocking operator screens until operator Task 13; the current exception allowance covers only the alternative where operator seams already landed. Existing blocking paths: [server.go:3109](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/server.go:3109), [metricsview.go:282](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/metricsview.go:282). |
| + |
| +3. **P2 — Additional cached dependencies are missing from mutation effects.** |
| + [Perf-2 Task 8’s inventory:350](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:350) omits several values explicitly cached later: shipping changes `partDeployEmpty`; instance creation/deletion changes `"record-hosts"` and the route-derived hosts inside cached `partEnvs`; activating an economics scenario changes Architecture’s cached rate card. Consequently those screens can serve pre-write values after a successful mutation. The consumers are [appsettings.go:751](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/appsettings.go:751), [appsettings.go:524](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/appsettings.go:524), [server.go:3795](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/server.go:3795), and [archpage.go:72](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/archpage.go:72). Add these dependencies and warm-before-write acceptance tests; route coverage alone cannot detect an incomplete effect. |
| + |
| +4. **P2 — Cold Logs has no way to fill its deferred host picker.** |
| + [Perf-2 Task 12:495](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:495) caches the record-host listing, but specifies deferred delivery only for log rows. On a picker cache miss, `/logs/data` cannot supply the missing options: its response contains lines and cursor metadata, and the browser script updates the terminal only. Hosts present in instance records but absent from registry routes therefore remain missing until another page load. Assign a picker fragment or an explicit data-response update. Evidence: [server.go:3787](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/server.go:3787), [app_logs.html:11](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/templates/app_logs.html:11), [app_logs.html:165](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/templates/app_logs.html:165). |
| + |
| +5. **P2 — Deferring Create app disables its timezone-based region selection.** |
| + [Perf-2 Task 14:536](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:536) moves `app_new.html`’s body into a fragment. Its inline initializer then never executes when inserted by the Task 7 loader. The hidden timezone stays empty and the automatic-region label never receives the browser-based guess. This is a separate affected page from the repaired Economics case. Move its initializer into the frame and invoke it after insertion, replacing its reliance on `document.currentScript`. Evidence: [app_new.html:22](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/templates/app_new.html:22), [regionpicker.go:94](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/regionpicker.go:94). |
| + |
| +6. **P2 — Perf-2 invalidates two perf-1 acceptance tests without assigning their replacement.** |
| + [Perf-1 Task 5:243](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-1-measure.md:243) requires a `box` span in Running’s initial response. Perf-2 moves that request onto a background context, so the span belongs to background work. [Perf-1 Task 6:257](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-1-measure.md:257) requires an over-budget warning caused by a slow account-manifest read; perf-2 expressly removes that delay from the response path. Neither conversion task updates these tests. Preserve instrumentation coverage through a deliberately synchronous test seam, and assert background attribution for deferred reads. Relevant original seams: [instances.go:130](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/instances.go:130), [server.go:3406](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/server.go:3406). |
| + |
| +7. **P2 — Dashboard alerts treat notification history as current firing state.** |
| + [Operator Task 4:363](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-operator-pages.md:363) selects every distinct firing `(box, rule)` from `alert_seen`. That table records what each recipient was told. A synthetic no-mailbox firing row can remain true after a newly available recipient receives the clear; former recipients can retain similar stale rows. Geoip additionally records `geoip@N` bookkeeping rows, so one firing produces multiple attention items. Use a current-state projection maintained by the watcher, or otherwise distinguish notification bookkeeping from current rules. Evidence: [alertwatch.go:187](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/alertwatch.go:187), [alertwatch.go:243](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/alertwatch.go:243), [store.go:2268](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/store.go:2268). |
| + |
| +8. **P2 — The CI walk never measures the Accounts view of People and accounts.** |
| + [Operator Task 10:574](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-operator-pages.md:574) introduces two distinct views behind `/fleet/people`, but adds no performance target for `?show=accounts`. [Perf-1 Task 10:385](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-1-measure.md:385) defaults parameterless routes to one request path, so only People is measured. A slow Accounts query can pass CI. Add explicit targets for both views with populated account/member/app data. Route enumeration cannot discover query-selected views: [claim_routes.go:59](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/claim_routes.go:59). |
| + |
| +9. **P2 — The performance fixture does not wait for all work it claims to count.** |
| + [Perf-2 Task 6:236](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/docs/superpowers/plans/2026-10-25-console-perf-2-fixes.md:236) defines `perfQuiesce` solely as `views.quiesce()`. The account-manifest check runs separately, and retained inner caches can start their own background sweep and return before it finishes. Thus request deltas and the session ceiling can be read while S3 requests remain outstanding; the following cold reset can also encounter active workers. Extend quiescence to every request-triggered worker before counting or resetting. The retained metrics behavior is explicit at [metricsview.go:267](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/metricsview.go:267) and [metricsview.go:361](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/console-ux-perf/internal/console/metricsview.go:361). |
| + |
| +Static review at `ea7c209b`. Rastrillo’s pinned commit and all six asset hashes matched the local tag. No files modified or tests run. |
| \ No newline at end of file |