control-panel relayout TEST SWEEP: the dialog (place → rent → rented | form), the navigator's dialog state, the Overview's device/System/service/members rows, the sidebar chrome — unit debt from Ben's 2026-09-10/11 UI pass #1399

Closed
opened 2026-09-11 20:09:40 +00:00 by ben · 4 comments
Owner

Parent

Control-panel UI pass, Ben 2026-09-10/11 (branch founding-ui-two-colour-rail-ceremony, unmerged at filing). Device-add spec #13 (ADRs 0053–0057, DDR 0109); founding Access step P1-S4/S4a (ADR 0189 / DDR 0190). The dashboard half is BUILT on the branch: dashboard/src/components/device-add/{PlaceScreen,RentServerScreen,RentedScreen}.vue, DeviceAddSurface.vue (stages place → rent → rented | form), shell/DeviceAddDialog.vue, seam dashboard/src/lib/deviceAdd.ts (DevicePlaceOption, ServerOffer, RentServerRequest, RentedServer; OPTIONAL placeOptions/serverOffer/rentServer on DeviceAddSource), fake dashboard/tests/fakes/deviceAdd.ts, browser harness cd dashboard && pnpm harness → http://localhost:5198/panel.html?scenario=steady.

What to do

Ben ruled the UI pass runs WITHOUT tests until it is done; the sweep is the debt. Known before the sweep: 1 ui-kit file + 3 dashboard files failing BEFORE the skip ruling (uninvestigated), then everything the relayout changed. Run pnpm -r exec vue-tsc --noEmit + packages/ui-kit and dashboard vitest suites (~150 s) and land:

  • device-add: new tests for PlaceScreen (seam order kept, first place preselected, Continue emits the pick, read fault → error state), RentServerScreen (offer defaults: the broker's own region + first size; rent carries {name,region,preset}; a thrown rent stays on the card with Retry; Back), RentedScreen (facts verbatim, Done), DeviceAddSurface stages (placeOptions absent → form with no Back; rented → rent → rented → done; own-vps → form with kind server; self-hosted → form). Update deviceAdd.test.ts for the form's new order/fields and the mint payload (name/kind/location), and the removed note box.
  • navigator: the fake navigator in dashboard/tests/support/ gains dialog + closeDialog(); DashboardComposition renders DeviceAddDialog when dialog === 'device-add'; Esc/×/backdrop close; select() clears it. Fleet tests that pinned the in-place device-add mount (DDR 0109) flip to "routes to the dialog".
  • overview: overviewFirstRun tests move onto the one OverviewScreen (first run = same page, fewer cards; honest gateway-alone fixtures); overviewActivityLine story-1 "no list" rule is amended by the activity column (DDR 0206 amended); new tests for DeviceCards (gateway first, add skeleton last, colour only on bad/warn), SystemCard (System entries merged, runs-line = every product, only tile+tag in secondary, absent with no System entries), ServiceCards (System excluded, url host shown, add skeleton), MembersTable (rows → detail route, invite foot), ActivityColumn (≤8 rows, view-all).
  • ui-kit: NavChrome sidebar (data-fields unchanged; narrow fold), OcPlaceArt (four kinds, labels), base layer (--oc-status-critical, uppercase h1, .oc-page left-aligned).
  • The pre-existing 4 failing files: diagnose, fix or file.

Acceptance criteria

  • Given vue-tsc over app, dashboard, packages/ui-kit, when run, then clean.
  • Given both vitest suites, when run, then GREEN, with every new component above covered by at least the stories listed.
  • Given STATUS.md, when the commit lands, then the control-panel row records the relayout + dialog as landed-with-tests.

Why session

The work sits on the unmerged branch founding-ui-two-colour-rail-ceremony (shared checkout, other sessions may be on it — commit separately with a STATUS.md line per CLAUDE.md); a swarm worker would start from main and find none of it. Run after Ben declares the UI pass complete.

## Parent Control-panel UI pass, Ben 2026-09-10/11 (branch `founding-ui-two-colour-rail-ceremony`, unmerged at filing). Device-add spec #13 (ADRs 0053–0057, DDR 0109); founding Access step P1-S4/S4a (ADR 0189 / DDR 0190). The dashboard half is BUILT on the branch: `dashboard/src/components/device-add/{PlaceScreen,RentServerScreen,RentedScreen}.vue`, `DeviceAddSurface.vue` (stages place → rent → rented | form), `shell/DeviceAddDialog.vue`, seam `dashboard/src/lib/deviceAdd.ts` (`DevicePlaceOption`, `ServerOffer`, `RentServerRequest`, `RentedServer`; OPTIONAL `placeOptions/serverOffer/rentServer` on `DeviceAddSource`), fake `dashboard/tests/fakes/deviceAdd.ts`, browser harness `cd dashboard && pnpm harness` → `http://localhost:5198/panel.html?scenario=steady`. ## What to do Ben ruled the UI pass runs WITHOUT tests until it is done; the sweep is the debt. Known before the sweep: 1 ui-kit file + 3 dashboard files failing BEFORE the skip ruling (uninvestigated), then everything the relayout changed. Run `pnpm -r exec vue-tsc --noEmit` + `packages/ui-kit` and `dashboard` vitest suites (~150 s) and land: - **device-add**: new tests for `PlaceScreen` (seam order kept, first place preselected, Continue emits the pick, read fault → error state), `RentServerScreen` (offer defaults: the broker's own region + first size; rent carries `{name,region,preset}`; a thrown rent stays on the card with Retry; Back), `RentedScreen` (facts verbatim, Done), `DeviceAddSurface` stages (`placeOptions` absent → form with no Back; rented → rent → rented → done; own-vps → form with kind server; self-hosted → form). Update `deviceAdd.test.ts` for the form's new order/fields and the mint payload (`name/kind/location`), and the removed note box. - **navigator**: the fake navigator in `dashboard/tests/support/` gains `dialog` + `closeDialog()`; `DashboardComposition` renders `DeviceAddDialog` when `dialog === 'device-add'`; Esc/×/backdrop close; `select()` clears it. Fleet tests that pinned the in-place device-add mount (DDR 0109) flip to "routes to the dialog". - **overview**: `overviewFirstRun` tests move onto the one `OverviewScreen` (first run = same page, fewer cards; honest gateway-alone fixtures); `overviewActivityLine` story-1 "no list" rule is amended by the activity column (DDR 0206 amended); new tests for `DeviceCards` (gateway first, add skeleton last, colour only on bad/warn), `SystemCard` (System entries merged, runs-line = every product, only tile+tag in secondary, absent with no System entries), `ServiceCards` (System excluded, url host shown, add skeleton), `MembersTable` (rows → detail route, invite foot), `ActivityColumn` (≤8 rows, view-all). - **ui-kit**: `NavChrome` sidebar (data-fields unchanged; narrow fold), `OcPlaceArt` (four kinds, labels), base layer (`--oc-status-critical`, uppercase h1, `.oc-page` left-aligned). - The pre-existing 4 failing files: diagnose, fix or file. ## Acceptance criteria - [ ] Given `vue-tsc` over `app`, `dashboard`, `packages/ui-kit`, when run, then clean. - [ ] Given both vitest suites, when run, then GREEN, with every new component above covered by at least the stories listed. - [ ] Given `STATUS.md`, when the commit lands, then the control-panel row records the relayout + dialog as landed-with-tests. ## Why session The work sits on the unmerged branch `founding-ui-two-colour-rail-ceremony` (shared checkout, other sessions may be on it — commit separately with a STATUS.md line per CLAUDE.md); a swarm worker would start from main and find none of it. Run after Ben declares the UI pass complete.

Blocked — the code under test is not in this checkout (ruled by agent under ADR 0174; veto anytime).

This ticket is a test sweep scoped entirely to Ben's UI pass on branch founding-ui-two-colour-rail-ceremony. That branch is not present here and cannot be reached from this host, so there is nothing to test.

What I verified (this session, on a checkout reset to origin/main):

  • Branch absent. git ls-remote --heads origin has no founding-…/…colour…/…ceremony… ref; git log --all across every fetched ref finds no dashboard implementation commit (only the design record #1395). No local branch either.
  • Components absent. find over the tree (excl. node_modules) returns nothing for PlaceScreen.vue, RentServerScreen.vue, RentedScreen.vue, DeviceAddDialog.vue.
  • Seam is the OLD shape. dashboard/src/lib/deviceAdd.ts on main is still the pre-relayout P2-S1 role-hint flow (IntendedRole, MintCode, INTENDED_ROLE_OPTIONS). It has none of the ticket's new types: DevicePlaceOption, ServerOffer, RentServerRequest, RentedServer, nor the optional placeOptions/serverOffer/rentServer on DeviceAddSource.
  • STATUS.md agrees. The #1395 entry states the dashboard half is "built + unpushed, unreachable from this host."

This matches the ticket's own precondition: "Run after Ben declares the UI pass complete … a swarm worker would start from main and find none of it." That precondition is not yet met — the branch has not been pushed/merged to a ref this host can fetch.

No two-way-door work is available without the code: every deliverable (device-add screens, navigator dialog state, Overview relayout rows, NavChrome/OcPlaceArt/base-layer, and even the "pre-existing 4 failing files" which failed on the branch) presupposes the branch's tree. I did not run the vitest/vue-tsc sweep because results on bare main would not correspond to the branch's state and would only mislead.

To unblock (human residue): push/merge founding-ui-two-colour-rail-ceremony to a ref origin serves — either merge it to main, or push the branch and tell the runner which ref to check out — then re-queue. Left ready-for-session; the next automated attempt succeeds once the branch is reachable. If it stays unreachable, the runner's two-attempt rule escalates to a human.

No commits made; working tree clean.

**Blocked — the code under test is not in this checkout (ruled by agent under ADR 0174; veto anytime).** This ticket is a *test sweep* scoped entirely to Ben's UI pass on branch `founding-ui-two-colour-rail-ceremony`. That branch is **not present** here and cannot be reached from this host, so there is nothing to test. What I verified (this session, on a checkout reset to `origin/main`): - **Branch absent.** `git ls-remote --heads origin` has no `founding-…`/`…colour…`/`…ceremony…` ref; `git log --all` across every fetched ref finds no dashboard implementation commit (only the design record #1395). No local branch either. - **Components absent.** `find` over the tree (excl. `node_modules`) returns nothing for `PlaceScreen.vue`, `RentServerScreen.vue`, `RentedScreen.vue`, `DeviceAddDialog.vue`. - **Seam is the OLD shape.** `dashboard/src/lib/deviceAdd.ts` on `main` is still the pre-relayout P2-S1 role-hint flow (`IntendedRole`, `MintCode`, `INTENDED_ROLE_OPTIONS`). It has **none** of the ticket's new types: `DevicePlaceOption`, `ServerOffer`, `RentServerRequest`, `RentedServer`, nor the optional `placeOptions/serverOffer/rentServer` on `DeviceAddSource`. - **STATUS.md agrees.** The #1395 entry states the dashboard half is *"built + unpushed, unreachable from this host."* This matches the ticket's own precondition: *"Run after Ben declares the UI pass complete … a swarm worker would start from main and find none of it."* That precondition is not yet met — the branch has not been pushed/merged to a ref this host can fetch. **No two-way-door work is available** without the code: every deliverable (device-add screens, navigator `dialog` state, Overview relayout rows, `NavChrome`/`OcPlaceArt`/base-layer, and even the "pre-existing 4 failing files" which failed *on the branch*) presupposes the branch's tree. I did not run the vitest/`vue-tsc` sweep because results on bare `main` would not correspond to the branch's state and would only mislead. **To unblock (human residue):** push/merge `founding-ui-two-colour-rail-ceremony` to a ref `origin` serves — either merge it to `main`, or push the branch and tell the runner which ref to check out — then re-queue. Left `ready-for-session`; the next automated attempt succeeds once the branch is reachable. If it stays unreachable, the runner's two-attempt rule escalates to a human. No commits made; working tree clean.

Blocked — the control-panel relayout code under test is still not reachable from this host, and the residue is Ben's hands (ruled by agent under ADR 0174 — veto anytime).

Second attempt (the first was blocked 2026-09-11T21:02Z on "branch absent"). The branch founding-ui-two-colour-rail-ceremony is now present and fetched here — but it carries Ben's founding wizard UI arc, not the control-panel device-add relayout this sweep tests. STATUS.md's lead entry says exactly this: the branch's unit debt is "the founding sibling of #1399's control-panel sweep" — two different piles of work. The control-panel half is the one STATUS #1395 / the 2026-09-09 lead record as built locally + unpushed, unreachable from this host.

What I verified this session (checkout on founding-ui-two-colour-rail-ceremony @ ff840895, after git fetch --all --prune):

  • Components absent. No PlaceScreen.vue / RentServerScreen.vue / RentedScreen.vue / DeviceAddDialog.vue anywhere in the tree; device-add/ still holds the pre-relayout AddDeviceScreen/CodeScreen/ConnectedScreen set. No OverviewScreen(single)/DeviceCards/SystemCard/ServiceCards/MembersTable/ActivityColumn; the old OverviewSurface.vue + RecentActivityLine.vue still stand. No OcPlaceArt in packages/ui-kit.
  • Seam is the OLD shape. dashboard/src/lib/deviceAdd.ts is still IntendedRole / MintCode / INTENDED_ROLE_OPTIONS — none of DevicePlaceOption, ServerOffer, RentServerRequest, RentedServer, nor the optional placeOptions/serverOffer/rentServer on DeviceAddSource.
  • Test scaffolding absent. dashboard/tests/fakes/deviceAdd.ts has none of the new sources; dashboard/tests/support/ has no navigator dialog/closeDialog; no test file exists for any relayout component.
  • No reachable ref carries it. git grep for DevicePlaceOption/RentServerRequest across every refs/remotes/origin/* on dashboard/src/lib/deviceAdd.ts → NONE. Branch tip unchanged after a fresh full fetch.

There is no two-way part of this ticket I can land: its entire scope is testing code that has never left Ben's machine. Running the pushed branch's suites would only characterise the founding sweep (a separate ticket) — barred as scope by ADR 0174 rule 1.

Why human

Ben's hands. The control-panel relayout half of the founding-ui-two-colour-rail-ceremony pass (the device-add dialog place → rent → rented | form, the navigator dialog state, the single OverviewScreen with its device/System/service/members rows, the OcPlaceArt/NavChrome chrome — built locally per STATUS #1395 / the 2026-09-09 lead) has never been pushed to origin. No agent session can test code that only exists on Ben's laptop. Residue: Ben pushes that unpushed control-panel relayout branch (or cherry-picks its dashboard/ui-kit half onto founding-ui-two-colour-rail-ceremony), then re-labels this ticket ready-for-session. Until then every session lands here and finds nothing to test.

**Blocked — the control-panel relayout code under test is still not reachable from this host, and the residue is Ben's hands (ruled by agent under ADR 0174 — veto anytime).** Second attempt (the first was blocked 2026-09-11T21:02Z on "branch absent"). The branch `founding-ui-two-colour-rail-ceremony` is now **present and fetched** here — but it carries Ben's **founding wizard UI arc**, not the control-panel device-add relayout this sweep tests. STATUS.md's lead entry says exactly this: the branch's unit debt is *"the founding sibling of #1399's control-panel sweep"* — two different piles of work. The control-panel half is the one STATUS #1395 / the 2026-09-09 lead record as **built locally + unpushed, unreachable from this host.** What I verified this session (checkout on `founding-ui-two-colour-rail-ceremony` @ `ff840895`, after `git fetch --all --prune`): - **Components absent.** No `PlaceScreen.vue` / `RentServerScreen.vue` / `RentedScreen.vue` / `DeviceAddDialog.vue` anywhere in the tree; `device-add/` still holds the pre-relayout `AddDeviceScreen`/`CodeScreen`/`ConnectedScreen` set. No `OverviewScreen`(single)/`DeviceCards`/`SystemCard`/`ServiceCards`/`MembersTable`/`ActivityColumn`; the old `OverviewSurface.vue` + `RecentActivityLine.vue` still stand. No `OcPlaceArt` in `packages/ui-kit`. - **Seam is the OLD shape.** `dashboard/src/lib/deviceAdd.ts` is still `IntendedRole` / `MintCode` / `INTENDED_ROLE_OPTIONS` — **none** of `DevicePlaceOption`, `ServerOffer`, `RentServerRequest`, `RentedServer`, nor the optional `placeOptions`/`serverOffer`/`rentServer` on `DeviceAddSource`. - **Test scaffolding absent.** `dashboard/tests/fakes/deviceAdd.ts` has none of the new sources; `dashboard/tests/support/` has no navigator `dialog`/`closeDialog`; no test file exists for any relayout component. - **No reachable ref carries it.** `git grep` for `DevicePlaceOption`/`RentServerRequest` across every `refs/remotes/origin/*` on `dashboard/src/lib/deviceAdd.ts` → NONE. Branch tip unchanged after a fresh full fetch. There is **no two-way part of this ticket I can land**: its entire scope is testing code that has never left Ben's machine. Running the pushed branch's suites would only characterise the *founding* sweep (a separate ticket) — barred as scope by ADR 0174 rule 1. ## Why human **Ben's hands.** The control-panel relayout half of the `founding-ui-two-colour-rail-ceremony` pass (the device-add dialog `place → rent → rented | form`, the navigator `dialog` state, the single `OverviewScreen` with its device/System/service/members rows, the `OcPlaceArt`/`NavChrome` chrome — built locally per STATUS #1395 / the 2026-09-09 lead) has **never been pushed to origin**. No agent session can test code that only exists on Ben's laptop. Residue: **Ben pushes that unpushed control-panel relayout branch (or cherry-picks its dashboard/ui-kit half onto `founding-ui-two-colour-rail-ceremony`)**, then re-labels this ticket `ready-for-session`. Until then every session lands here and finds nothing to test.
Author
Owner

Sweep in progress (session, 2026-09-12). Ben called the UI pass done; the pass is committed as 078cd5b3 on founding-ui-two-colour-rail-ceremony and the sweep is running against it: vue-tsc clean on dashboard + ui-kit, eslint clean, 27 red unit files being re-homed (every one pins UI the pass replaced), new coverage for the pass's components landing alongside. The end-of-pass review filed the backend gaps behind the UI as #1428–#1442 (recovery kit, stack export packer, per-dataset export, mint-wire location, P9 edit, per-service monitoring, fleet wire facts, install-to-device, catalogue wire, resting catalogue 404, invite role, roles ruling, no-invite approve, activity emitters, wireframe sync). This ticket closes with the merge commit.

**Sweep in progress (session, 2026-09-12).** Ben called the UI pass done; the pass is committed as `078cd5b3` on `founding-ui-two-colour-rail-ceremony` and the sweep is running against it: vue-tsc clean on dashboard + ui-kit, eslint clean, 27 red unit files being re-homed (every one pins UI the pass replaced), new coverage for the pass's components landing alongside. The end-of-pass review filed the backend gaps behind the UI as #1428–#1442 (recovery kit, stack export packer, per-dataset export, mint-wire location, P9 edit, per-service monitoring, fleet wire facts, install-to-device, catalogue wire, resting catalogue 404, invite role, roles ruling, no-invite approve, activity emitters, wireframe sync). This ticket closes with the merge commit.
Author
Owner

Closed — swept and merged to main 2026-09-12.

On main: 606531a0 (Ben's UI pass, one commit), 216315d1 (review fixes + this sweep), 041edc68 (drive fixtures follow the pass — a provisioned row carries no change-node-<id>; openGatewayChange / openDeviceChange / the stray walk-off go name → P9 → change-device-<id>), 427c840e (the waiting row's Approve wired to #1440's per-person verb, which landed the same hour).

Acceptance: vue-tsc clean on dashboard and packages/ui-kit; eslint clean; ui-kit suite 209/209; app e2e fixture tests 408/408; dashboard suite 1604 passing — the only reds are pendingLive / pendingActsLive, which time out under a full 15-worker run on origin/main's own baseline too and pass alone (6/6). app vue-tsc was not part of this sweep (nothing under app/src changed).

What the sweep did: 27 red unit files re-homed onto the new surfaces — every red pinned UI the pass replaced (the P4-S2b Browse tab, the Fleet table, the Services status tables, the approval queue, the first-run screen, Review & confirm, the two-path device add) — with a dated ruling comment at the top of each file where a behaviour was deleted; ApprovalQueue.vue retired; new coverage for every component the pass created (deviceAddStages, overviewCards, navigatorDialog, communityNameChrome, ui-kit ocDialog, navChromeSidebar).

Review fixes that rode 216315d1: a live TypeError on any device card with services (memGb/chip.tone vs the wire's mem_mb + omitted chip), the Backups gate hiding the map behind a degraded catalogue entry, the Overview's SYSTEM HEALTHY over a muted owner, the invite ROLE select silently dropped by the seam, the Services cards' dropped empty state, a minted invite never reaching the open-invites ledger, a swallowed approve/decline refusal, the Esc stack moved out of a plain <script> block.

Backend gaps behind the UI, filed from the review: #1428 recovery kit · #1429 stack-export packer (ruling) · #1430 P7-S6 export · #1431 mint wire drops location · #1432 P9 edit · #1433 per-service monitoring · #1434 fleet wire facts · #1435 install-to-device · #1436 catalogue wire · #1437 resting catalogue 404 · #1438 invite role (ruling) · #1439 roles (ruling) · #1440 no-invite approve (landed) · #1441 activity emitters (landed) · #1442 wireframe sync · #1444 code hygiene · #1445 front-door card homeless.

Unproven until a drive runs: the fixture change in 041edc68 — the next P4/P5 regression drive is its proof.

**Closed — swept and merged to main 2026-09-12.** On main: `606531a0` (Ben's UI pass, one commit), `216315d1` (review fixes + this sweep), `041edc68` (drive fixtures follow the pass — a provisioned row carries no `change-node-<id>`; `openGatewayChange` / `openDeviceChange` / the stray walk-off go name → P9 → `change-device-<id>`), `427c840e` (the waiting row's Approve wired to #1440's per-person verb, which landed the same hour). **Acceptance:** vue-tsc clean on `dashboard` and `packages/ui-kit`; eslint clean; ui-kit suite 209/209; app e2e fixture tests 408/408; dashboard suite 1604 passing — the only reds are `pendingLive` / `pendingActsLive`, which time out under a full 15-worker run on origin/main's own baseline too and pass alone (6/6). `app` vue-tsc was not part of this sweep (nothing under `app/src` changed). **What the sweep did:** 27 red unit files re-homed onto the new surfaces — every red pinned UI the pass replaced (the P4-S2b Browse tab, the Fleet table, the Services status tables, the approval queue, the first-run screen, Review & confirm, the two-path device add) — with a dated ruling comment at the top of each file where a behaviour was deleted; `ApprovalQueue.vue` retired; new coverage for every component the pass created (`deviceAddStages`, `overviewCards`, `navigatorDialog`, `communityNameChrome`, ui-kit `ocDialog`, `navChromeSidebar`). **Review fixes that rode `216315d1`:** a live TypeError on any device card with services (`memGb`/`chip.tone` vs the wire's `mem_mb` + omitted chip), the Backups gate hiding the map behind a *degraded* catalogue entry, the Overview's SYSTEM HEALTHY over a `muted` owner, the invite ROLE select silently dropped by the seam, the Services cards' dropped empty state, a minted invite never reaching the open-invites ledger, a swallowed approve/decline refusal, the Esc stack moved out of a plain `<script>` block. **Backend gaps behind the UI, filed from the review:** #1428 recovery kit · #1429 stack-export packer (ruling) · #1430 P7-S6 export · #1431 mint wire drops location · #1432 P9 edit · #1433 per-service monitoring · #1434 fleet wire facts · #1435 install-to-device · #1436 catalogue wire · #1437 resting catalogue 404 · #1438 invite role (ruling) · #1439 roles (ruling) · #1440 no-invite approve (landed) · #1441 activity emitters (landed) · #1442 wireframe sync · #1444 code hygiene · #1445 front-door card homeless. **Unproven until a drive runs:** the fixture change in `041edc68` — the next P4/P5 regression drive is its proof.
ben closed this issue 2026-09-12 15:38:06 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1399
No description provided.