Skip to content

Console redesign: approved control-room UI and device Watch page #1425

Closed
8 of 8 issues completed
Closed

Description

@V3RON

Request: none

Problem

The console's current layouts and components do not match the maintainer-approved control-room design. Operators need a consistent way to scan fleet health, leases and activity and to watch a device without navigating a screen tab inside a drawer.

Who it is for

Operators running one worker or a gateway fleet, on desktop or phone, with an operator token or the existing sign-in proxy.

Outcome

Operators see the approved page compositions, concise statuses and legible identities, use the existing actions, and open a dedicated view-only streaming page. The same layout works in derived light and designed dark themes.

How it works for the user

flowchart TD
  A[Open console] --> B[Sign in]
  B -->|accepted| C[Overview and navigation]
  B -->|refused| D[Sign-in reason]
  C --> E[Fleet and worker details]
  C --> F[Leases summary or inspector]
  E --> G[Watch device]
  F --> G
  G -->|running| H[Picture, holder, facts and recent events]
  G -->|unavailable or ended| I[Reason without stale picture]
  H -->|Stop watching| E
  C --> J[Baselines, Activity, Inbox, Queue or Usage]
Loading

Before: open /fleet/<worker>/<device>?drawer=screen to watch inside the device drawer (stage 4 Facts). After: choose Watch to open /fleet/<worker>/devices/<device>/; Stop watching returns to the worker. Existing drawer links still open details. The session and daemon refusal wording stay authoritative. No CLI command or output changes.

Examples

Input or situation Today After
codex:session-012345678901234567890123456789 Full requester available to existing views Tool chip and middle-shortened display, full title/copy
mcp:48213, release-bot, codex/free-label Requester labels Neutral chip; no guessed tool
Worker with twenty slots Slot model lists slots Meter and printed leased/total fraction
Selected lease at 1280 CSS px Drawer Stable inspector pane
Selected lease at 1279 CSS px Drawer Focus-trapped drawer
Device not running Stream refused by existing policy Existing reason, no stale canvas
Unknown load or baseline size Optional daemon data Unavailable marker, never fabricated zero

What could go wrong

Long host or holder names could cover controls; fixture cases make this likely defect visible.
A capture could survive navigation; explicit lifecycle tests must catch it.
A low-contrast light palette could hide status; both-theme axe and visual inspection gate it.
Parallel edits could lose another page's changes; shared ownership and merge-forward integration constrain it.

Words used

Inspector: lease details beside the table, or a modal drawer on a narrow screen.
Render: an approved PNG page reference, for example 1-overview.png.
Holder: the requester identity on a lease, for example codex:session-id; display text never changes identity.
Foundation baseline: stage 0's independently reviewed branch/head, retained in the feature stack.
View only: watching a device opens no device-input socket.

Non-goals

Device enrol/remove, warm-target editing, Add device and Settings work (#1130/#1131/#1137/#1151 and their tasks); new leasing or baseline-creation product workflows; multi-device Screens page from PR #1256; backend cache, auth, protocol, stream policy or native capture changes; device input.

Completion conditions

  • C1: Each of the eight approved dark page states matches its reference, with deviations limited to data, the preserved-collapse header-control and evidence-backed WCAG-AA colour amendments below, plus the explicit Baselines Ready-filter/Prepare-baseline-link/omitted-row-menu and Fleet Add-worker-docs/View-leases-link amendments in PLAN and DESIGN, recorded in paired stage-2/stage-5 PR images; the ready-row substitution keeps the reference row/pill geometry and every other reference geometry remains required; stage 0 shell, stages 1–6 page Done when, stage 7 integrated audit. (decided in delivery, pending the maintainer)
  • C2: Every listed page works at the required desktop, intermediate and phone viewports, in both themes, with no horizontal page overflow and no WCAG AA axe violations; stage 7 Done when.
  • C3: Watch opens the correct dedicated device page, owns one capture, cleans up on exit and preserves refusal/session behavior without input; stage 4 direct/drawer lifecycle Done when plus stage 7 integrated sibling Watch-link Tests.
  • C4: All pages without renders keep their existing structures and receive the new controls, with screenshots for review; stage 6 Done when.
  • C5: Website console/Watch text and screenshots describe the delivered UI in the same stack; every stage's docs Done when and stage 7 consolidation.
  • C6: Shared components and holder formatting have one owner and no unused compatibility remains after integration; stage 0 interface Done when and stage 7 cleanup.

Fleet control amendment: Add worker links to the existing published gateway/joining-workers instructions; the reference Release leases control becomes an equally styled View leases link to /leases, with no bulk write. Stage 2 pins both navigation cases and records the exceptions in paired images (decided in delivery, pending the maintainer).

Open questions

None.

Decisions

  • Baselines row-menu amendment: there is no existing baseline-action model. Omit the unsupported row-menu trigger and retain its empty reserved column width, row height and pill geometry; do not render an inert control or invent an operation. Record the missing trigger as an explicit reference exception in paired stage-5/stage-7 images. Foundation records this amendment in PLAN and DESIGN without changing original PNGs. (decided in delivery, pending the maintainer)

  • ADR 0011 §§1–5 — keep the locally built/served console, session and CSP constraints; no external assets or style elements.

  • ADR 0013 §§1,2,4,5 — route-based console and stream connection remain; §3 is superseded, not reinstated.

  • ADR 0037 §§1–5 — Base UI interaction behavior, centrally described actions, confirmations and toasts remain authoritative.

  • ADR 0044 §§1–3 — use existing state query cache, stale-key map and shared recent feed; do not reintroduce per-page polling storms.

  • ADR 0045 §§1,3–6 — worker/device streaming identity, running-state lifetime, one capture per viewer and no new business events; operator UI remains view only.

  • Approved reference commit 3b8c44d: docs/internal/console-redesign/PLAN.md, renders, prototype sources and DESIGN.md. Maintainer adopted derived light, inspector drawer below its cutoff and view-only streaming; no new interview.

  • Baselines amendment: use only supported ready/stale statuses. Foundation substitutes supported ready data for the fictitious building row and documents the DATA substitution in fixture/current-page evidence. Stage 5 must give the replacement the identical reference row/pill geometry and capture the final Baselines state; stage 0 does not build that ready pill. Use All / Stale / Ready and an equally styled Prepare baseline link to https://callstackincubator.github.io/simlock/docs/worker/baselines, replacing Building and Build baseline. The URL follows website/astro.config.mjs:20-29,117 and website/src/site/content.ts:8-16; preparation content already exists at website/src/content/docs/docs/worker/baselines.mdx. baseline.save requires a held lease and ends it (src/contract/operations.ts:711-725; src/http/admin-declarations.ts:158-174), so this presentation adds no save workflow or progress wire field. Keep original render files unchanged; PLAN and DESIGN record the filter/link amendment and the stage-5 PR records these explicit visual differences. (decided in delivery, pending the maintainer)

  • Foundation runs first on the current committed baseline, then stages 1–6 use its reviewed pinned head. Redesign owns WorkerPageBody/DevicesTab/action hunks overlapping Console: enrol a phone from the plugged-in list or by id, and remove an enrolled one #1133, Warm pool hunks overlapping Console: edit the warm pool's targets on a worker's Warm pool tab #1145, and DeviceDrawer hunks overlapping Console: enrol a phone from the plugged-in list or by id, and remove an enrolled one #1133 throughout this feature. Those tasks stay drafts and adapt afterward through normal merge-forward resolution. Console: delete an idle simulator or emulator #1135/Console: Add device… from the catalog keeps one more warm #1146/Console: edit settings and restart the daemon from the Settings page #1156 are future hunk conflicts, not consumed dependencies or prerequisites; no unrelated issue specs or claims change. (decided in delivery, pending the maintainer)

  • PR feat(console): watch running device screens side by side #1256 inspected head 54a1dc3 overlaps streaming/docs, not foundation DS/paths. It is not imported into this redesign. Foundation edits only its owned shared-shell docs. Stage 4 rechecks current merge-base/head at its start and resolves actual merged changes, preserving ScreenPanel callable props, four-argument useDeviceScreen callers, any merged optional capture-acquisition argument and cancellation ownership; reconcile an extracted renderer rather than discard it. Its independent /screens route is no functional prerequisite and its branch is not overwritten. (decided in delivery, pending the maintainer)

  • Foundation owns mechanical replacement of all --chip/--field screen CSS consumers alongside DS tokens, with other edits to those screens deferred to their page stages. Public DataTable grouping, selection and count-only footer retain existing paging; stage 0 Tests pin these decisions at the existing static component/browser seams. (decided in delivery, pending the maintainer)

Shared values

Scrollbar acceptance clarification: the new shared shell is verified by actual reference-aligned navigation/content geometry, containment and usable scrolling, not a mandatory html.scrollbar-gutter CSS value absent from the prototype. Update the existing layout.spec.ts scrollbar test to assert those literal rendered contracts across its real routes and scroll states; if geometry or scrollability fails, fix the shared layout code. Do not skip the test, relax reference dimensions, or add a global gutter merely to satisfy the obsolete property sentinel. Existing navigation/actions/scroll access remain supported. (decided in delivery, pending the maintainer)

Stage-specific shell documentation assets: foundation may add website/public/console-shell-dark.png and console-shell-light.png, real fixture-driven screenshots actually referenced by its owned navigation/account wording. This narrowly permits these two new shell illustrations before stage 7, not rewriting existing page images or committing ignored current/prototype outputs or evidence-only assets. Use their pinned committed URLs with the unchanged original reference for PR paired evidence, scope/crop/difference notes and retained viewport/axe records. Stage 7 refreshes them at the integrated final UI or removes them if superseded. No release/storage setup or extra screenshot tooling project. (decided in delivery, pending the maintainer)

Foundation acceptance cleanup: the nine approved files under docs/internal/console-redesign/renders/ are intentional committed PNG binaries. Extend only their exact binary classification in src/source-hygiene.test.ts, keeping original bytes and the NUL scan for all other source/docs. Resolve Fallow by checking actual callers/imports: unused unpromised AgentKind/Group type re-exports may be removed without removing required components/props; the required state/navigation.ts facade may be declared explicitly as a public entry until page consumers integrate; genuinely used pixelmatch/pngjs test-only imports may use the existing narrowly reasoned dependency exception pattern if the push confirms false positives. No blanket suppression/severity reduction. Stage 7 removes any temporary navigation entry after real imports exist. (decided in delivery, pending the maintainer)

Preserved-collapse reference amendment: keep the existing desktop collapse/expand action, labels, persistence and mobile-menu behavior, but move its control from sidebar-foot to the wordmark/header row. Use a compact accessible control that fits expanded/collapsed widths; do not displace the account box or cause overflow. This retained header control is the only additional shell-reference exception; record it in paired stage-0/stage-7 images while preserving all other shell geometry, original PNGs and accessibility. Test collapse/expand and account-bottom geometry through existing shell.spec.ts. Unused new primitive APIs use public static-props/token verification before forks; their real page-consumer captures belong to the owning page stages. Do not create a showcase route or fake a production capture. (decided in delivery, pending the maintainer)

Capture raster stability rule: compare only captures of the same seeded case/viewport, both repeated captures within a settled context and captures across independent fresh daemon/browser contexts. Visible fixture data, computed presentation styles, geometry and all paint inputs associated with visible SVGs (markup, definitions, clip references and matrices) must match exactly; consistently normalize framework-generated identity references only, never paint semantics. Require matching dimensions and unchanged alpha. Same-source capture stability uses the fixed public pixelmatch 7.1.0 matcher with threshold 0.1 and includeAA=false; allow zero matcher-flagged differing pixels. This replaces the delivery-only custom 32-pixel/one-RGB-level residual rule. No location/region masks, skipped cases or retry-until-green. A single matcher-flagged pixel still fails; exact visible-state and SVG guards reject their changes independently of the image matcher. Do not tune these fixed parameters in response to later failures. Preserve both raw captures plus raw/recognised-edge/residual counts and channel deltas in evidence. Verify the chosen detector version's public API/source; do not vendor tool internals. This permits bounded raster noise only in fresh-run stability checks, not a new exception to approved reference tokens, typography, geometry or paired-image acceptance. Test identical images, recognised AA edges, known below/above-threshold flat non-AA changes and single matcher-flagged pixel rejection, alpha/dimension changes, and deliberate real SVG path/clip and visible UI/data/style/geometry mutations; the latter must fail independently of the raster budget. (decided in delivery, pending the maintainer)

Render bootstrap and acceptance ownership: foundation seeds all eight reference datasets, but captures only currently implemented equivalents: Overview, Fleet, worker page, existing device Screen drawer, Leases list, existing selected lease drawer, ready/stale Baselines table and Activity, plus no-render pages. Use existing signed-in routes; do not implement the new streaming page, selected inspector or Baselines ready pill in stage 0. Name/document each baseline-to-reference mapping and initialize separate discovered page-case modules before forks. Each stage 1–6 later changes only its owned case module to capture its approved page state. Foundation proves stable named captures, fixture data, empty/long/refused cases and its own shell/header/card crop, viewports and evaluated both-theme contrast; old layouts need only remain usable. Stages 3/4 own new inspector/streaming geometry. Foundation verifies/document ready/stale fixture data substitution, while stage 5 owns identical replacement row/pill geometry plus Ready-filter/Prepare-baseline-link/omitted-menu acceptance; stage 7 verifies all eight final states. No final reference requirement is waived and original PNGs remain unchanged. (decided in delivery, pending the maintainer)

Shared-primitive documentation exception: foundation mechanically corrects existing factual descriptions of any shared primitive its current changes make false, before page branches fork, including worker/console.mdx:112 and gateway/fleet-console.mdx:28 slot claims. Slots show squares through ten; above ten use a meter, printed leased/total fraction and accessible state counts. Unknown or unavailable load remains unavailable, never fabricated zero. These edits may occur inside later stages' reserved page sections, but only change the false shared-primitive description; do not rewrite page structure, layout, actions, workflows or future-stage instructions. Later page owners inherit the corrections from the reviewed baseline and retain all other section ownership. Run the website build/OpenAPI check with these edits. (decided in delivery, pending the maintainer)

Holder-cell scope exception: foundation owns only the existing Leases table Holder cell in ui/src/screens/leases/index.tsx:71-76, its cell-local styling in leases.css and static tests in leases.test.tsx, plus additive presentation fields in model/leases.ts and state/leases.ts. Keep row.holder as the existing complete resolved label for search/action labels; retain the complete requesterId separately as holderTitle, use shortHolder(row.holder) as display, and derive agent kind only from requesterId. Pure model row builders compose holder helpers; state exposes/passes the plain presentation values; the screen composes AgentChip and the existing Link with title=holderTitle. Preserve every existing row/link/action/filter/paging/selection/inspector contract and the existing table columns/structure; no page-stage layout or behavior redesign is authorized. Foundation owns these hunks before forks; stage 3 adapts its later Leases redesign from the reviewed baseline. Use the already exported LeaseTable with inConsole/renderToStaticMarkup and rows derived through the real leaseRows builder; re-export that builder through state like the existing worker builders, not a new test-only component. Extend the existing static lease-table test seam and preserve all other assertions. Update only shared holder-identity wording in website docs now. (decided in delivery, pending the maintainer)

WCAG-AA colour amendment: where an approved dark-reference text/background or essential indicator pair fails AA, change only the minimum foreground/stroke colour needed to pass (4.5:1 for normal text, 3:1 for essential non-text indicators). Preserve geometry, typography, background fills and original PNGs. Record the affected selector/token, reference/current colours, measured before/after ratios and paired images as an explicit non-DATA reference exception; this is not permission for unrelated visual differences. In particular, sidebar group labels at #6f6f79 on #141416 measure 3.702:1 and must use an accessible foreground while retaining their 10.5px shape. Foundation fixes shared colours and aligns PLAN, DESIGN and ui/AGENTS.md Look authority before page branches fork; page stages verify their own pairs and stage 7 verifies the integrated head. Both-theme axe must actually evaluate contrast, with no violations suppressed. (decided in delivery, pending the maintainer)

Foundation mechanically moves the existing Fleet worker-action cases from e2e/console/actions.spec.ts into e2e/console/workers.spec.ts before page branches fork, preserving their titles, assertions and action semantics. It splits the combined lease/worker case at that point without dropping either half. Stage 2 owns subsequent worker-layout locator adaptation and coverage in workers.spec.ts; it leaves actions.spec.ts untouched. Stage 3 owns only the remaining lease-inspector assertions in actions.spec.ts. No parallel page owner edits the same test hunks. (decided in delivery, pending the maintainer)

Copy id failures: if the Clipboard API is absent, rejects (including NotAllowedError), or has not settled within 5000 ms counted from the click, announce "Couldn't copy. Select and copy the id." without a success toast, keep focus on Copy id and leave the complete id selectable. No legacy clipboard workaround, permission request, retry loop or daemon write. A late result after timeout/navigation must not publish success. Use a fake clock for deadline tests (decided in delivery, pending the maintainer).

Value or state Rule Written by Read by Source
Visual authority and theme Approved dark renders win over prose except the explicit Baselines DATA/filter/link/omitted-row-menu, Fleet navigation-link, preserved-collapse header-control and evidence-backed WCAG-AA colour amendments above; derived light retains structure, checked with axe and screenshots. Orange is interaction, never status. stage 0 tokens; stage 7 final theme stages 1–6 ui/src/ds/foundation.css:4-82 and approved PLAN/DESIGN at reference commit
Shell and DS API Foundation alone edits shared DS and barrel and mechanically replaces retired-token screen CSS consumers before branches fork; page stages compose published primitives. Additive page needs use new page-local modules, no competing barrel/token edits. Stage 7 consolidates and removes unused compatibility. Pill, AgentChip, Ring, grouped DataTable and existing ListRow APIs are specified in stage 0. stage 0; stage 7 cleanup stages 1–6 stage 0 F2/F3
Holder identity Pure shortHolder/agentKind in model/holder.ts; foundation integrates only the existing Leases Holder cell with additive raw-id/title/display/kind values, preserving resolved search/action labels and existing behavior, before forks. State passes complete title and formatted display/kind to screens/DS; full identity is used for grouping/copy. stage 0 stages 1–6 stage 0 F4/F5
Shared worker visuals Plain-prop worker visual in DS; existing worker health/slots/load stay in model. No screen-to-screen imports in final code. Keep WorkersTable compatibility until integration removes its final user. stage 0 DS; stage 7 removal stages 1/2 stage 1 F1; stage 2 F1
Device page addresses Existing devicePath remains drawer address. streamPath encodes each id and ends /; FleetAddress.streaming selects streaming page. State/navigation re-exports helper; stage 4 owns FleetScreen dispatch only; stage 2 owns FleetBody and WorkerPage layout. stage 0 grammar; stage 4 dispatch stages 2/3/4 stage 4 F3/F5; ui/src/model/paths.ts:27-54
Streaming ownership One mounted ScreenPanel per device page; stage 4 owns ScreenPanel/DeviceDrawer and new streaming model/state modules. Stage 2 owns worker layout and its plain Watch link through the foundation navigation helper; stage 4 never edits that layout. Use existing capture/session cleanup; preserve ScreenPanel props, four-argument hook callers, merged optional acquisition/cancellation ownership and any extracted renderer after the stage-4 merge-base/head recheck; no input socket. stage 4 stages 2/3/7 stage 4 F1–F4
Inspector and responsive cutoffs Pane width 420 CSS px; drawer strictly below 1280 CSS px, pane at 1280. Sidebar menu below 768 CSS px. Verification 1440×900, 1280×800, 390×844, boundary pairs, existing 360px floor. stage 0 tokens; stage 3 inspector; stage 7 audit stages 1–6 approved PLAN/DESIGN; stage 7 F2
Render fixture and cases Foundation owns shared setup/response fixture and initializes separate discovered baseline page-case modules using current supported equivalents; stages 1–6 own their modules after foundation review and capture their approved states. Capture current/.png only; ignored output never committed. Ready/stale fixture data only; foundation documents the ready DATA substitution and stage 5 proves identical replacement row/pill geometry. No page branch changes shared fixtures without foundation-owner integration. stage 0 setup; page owners cases all stages e2e/console/stub-answers.ts:6-13, playwright.config.ts:8-22
Website section ownership Every stage updates its described public change in the same PR. Split worker/console.mdx and gateway/fleet-console.mdx by section: stage 1 Overview, stage 2 Fleet except Watch, stage 3 Leases, stage 4 Open a device/Watch, stage 5 Baselines, stage 6 remaining pages; stage 0 shared shell/holder-identity wording and mechanical shared-primitive factual corrections only, including slot-cap descriptions inside otherwise reserved sections. Stage 7 alone rewrites intros, shared images or cross-section structure, except the two dedicated foundation shell illustrations allowed above; stage 7 refreshes/removes those at final integration. corresponding stage stage 7 consolidates source headings inspected in website pages; documentation rule 9
Cache, clocks and actions Preserve eventRows(events, workers, subject, search?) and its unfiltered row/link behavior for worker/lease callers while Activity adds its own facet/range derivation. Keep route keys, query timings, connection classification, shared recent feed and action in-flight keys authoritative; new pages consume them. Stage 6 modifies Activity hook only, not useRecentEvents; stages 3/4 consume shared recent feed. existing state/data owners page stages stage 1 F2; stage 3 F2/F4; stage 6 F3

| External scheduling | Foundation first on current committed baseline; redesign owns DevicesTab/actions and Warm pool (stage 2) and DeviceDrawer (stage 4) throughout the feature. External drafts adapt afterward; no external prerequisites. Stage 4 reconciles actual merged #1256 changes; foundation owns only shell docs. (decided in delivery, pending the maintainer) | foundation then page owners | all stages | delivery decisions above |

Behaviours

Behaviour (invoker, action, what it sees) Seam Cases Task
An operator opens the console and sees the floating shell, page header and card with keyboard navigation: cases dark and light, zero and nonzero Inbox count, connected and reconnecting, signed-in token and proxy session, preserved desktop collapse/expand in the header and account-bottom geometry; extend shell.spec.ts. holder/paths exports + signed-in console browser Cases named in the behaviour #1426
An operator reads a holder and sees its complete identity through the title and a tool chip only for a known prefix: cases empty, 34 and 35 code units, claude-code:, codex:, cursor:, pi:, mcp:48213, token label, slash label and 256-character free-form; drive holder.ts unit exports and the existing LeaseTable/inConsole static seam with rows derived via the real leaseRows builder; assert complete requester-id title, helper-shortened resolved display, known-prefix-only chip, and unchanged lease link plus full search/action label identity. holder/paths exports + signed-in console browser Cases named in the behaviour #1426
An operator reads slots and sees accessible state counts, squares through ten and a meter with a printed fraction above ten: cases zero, ten, twenty, absent, quarantined and unknown load. Extend workers.spec.ts at the signed-in browser seam for the changed shared Slots primitive only; preserve existing worker-page structure and use the existing fake-driver/full-response fixtures. holder/paths exports + signed-in console browser Cases named in the behaviour #1426
An operator follows a device address and retains both opaque ids: cases existing drawer, new streaming path, slashes, dots, percent characters, malformed escape, missing or extra segments; drive paths.ts exports. holder/paths exports + signed-in console browser Cases named in the behaviour #1426
An operator uses shared controls without losing focus or duplicate actions: cases keyboard menu, confirmed and cancelled danger action, double click, dialog close, palette result changes and toast announcement; extend actions.spec.ts, workers.spec.ts and search.spec.ts where the changed primitive affects them; foundation also mechanically migrates unchanged Fleet worker-action cases to workers.spec.ts before page branches fork, preserving every assertion. holder/paths exports + signed-in console browser Cases named in the behaviour #1426
A reviewer opens the render harness and receives stable named screenshots from signed-in fixture pages: cases current supported equivalents of all eight reference datasets and pages without renders, repeated capture, empty data, long ids, and a refused route; nine baselines use ready/stale only and the ready replacement data is documented. Test baseline-to-reference mappings explicitly: existing device Screen drawer, selected lease drawer and ready/stale table, not unimplemented page states. Final inspector/streaming geometry belongs to stages 3/4 and identical Baselines row/pill geometry to stage 5, all verified at stage 7. Repeated and fresh-context capture equality use the same bounded raster stability rule above, with exact visible state/styles/geometry and cases identical, fixed perceptual/AA matching, below/above-threshold non-AA and single flagged-pixel rejection, alpha change and deliberate real SVG path/clip/visible mutation; approved-reference comparison remains unchanged. holder/paths exports + signed-in console browser Cases named in the behaviour #1426
An operator opens Overview and sees the banner, six KPI tiles, worker wall, capacity rings and compact lists: cases attention zero or many, zero capacity, unknown worker data, twenty slots, long holder or hostname, refused requests with unavailable Queue and Waiting rather than zero, and unsupported requests retaining the existing no-queue fallback. signed-in console browser; pure model helpers where named Cases named in the behaviour #1427
An operator changes Overview range and sees the selected stats window in the area and waiting bars with accessible numbers: cases 1h, 6h, 24h, 7d, partial history, no samples and refused stats; extend overview.spec.ts. signed-in console browser; pure model helpers where named Cases named in the behaviour #1427
An operator follows Overview links and reaches the relevant page with the correct identity and supported range: cases attention banner, worker tile, ending lease, waiting request and all six KPI links (Leased to Leases, Ready to Fleet, Waiting to Queue, Wait p95 to Usage with selected range, Ending soon to Leases, Workers to Fleet), at default 1h and selected 6h/24h/7d. signed-in console browser; pure model helpers where named Cases named in the behaviour #1427
An operator filters Fleet and sees attention cards, healthy tiles and a worker log: cases All, Issues, Busy, search hit or none, disconnected, drained, high disk, unknown load, twenty slots and a long .local hostname. signed-in console browser; pure model helpers where named Cases named in the behaviour #1428
An operator opens a worker and sees gauges, slots, host facts, baselines and Devices or Warm pool with an always-visible event log: cases devices, warm-pool, old host/events links, missing worker, absent capability, no devices and protocol mismatch. signed-in console browser; pure model helpers where named Cases named in the behaviour #1428
An operator uses worker controls and retains their confirmation and availability: cases gateway or worker mode, drain, undrain, refused write, a concurrent action, Add worker opening the existing joining-worker instructions and View leases opening /leases without a write; extend workers.spec.ts at the signed-in browser seam; existing shared action-runner tests remain in actions.spec.ts. signed-in console browser; pure model helpers where named Cases named in the behaviour #1428
An operator reads Fleet or worker events without mixing workers or duplicating events: cases live event, replay duplicate, older-page failure, worker switch and navigation away; extend worker-events state tests and workers.spec.ts. signed-in console browser; pure model helpers where named Cases named in the behaviour #1428
An operator opens Leases and sees the full-collection summary beside its filtered table: cases all or expiring or platform filter, search, empty data, unknown device, duplicate shortened holders and pagination. signed-in console browser; pure model helpers where named Cases named in the behaviour #1429
An operator selects, closes or follows a lease and sees one stable inspector: cases row click, keyboard, deep link, browser back, missing lease, live renewal, 1280px pane and 1279px drawer, narrow summary and focus restoration. signed-in console browser; pure model helpers where named Cases named in the behaviour #1429
An operator uses lease Watch, Copy id or Release and sees the correct result: cases encoded worker/device streaming link, missing identity, unavailable stream, complete clipboard id, unavailable clipboard API, denied clipboard access, clipboard no-answer deadline, successful and rejected clipboard settlement after timeout or navigation, confirm, cancel, refused release and duplicate click; extend leases.spec.ts and the lease-only assertions in actions.spec.ts. signed-in console browser; pure model helpers where named Cases named in the behaviour #1429
An operator reads lease Recent events in the inspector or Inbox drawer and sees only that lease once: cases replay, live duplicate, feed refusal, close and reopen, selection switch and one shared subscription. signed-in console browser; pure model helpers where named Cases named in the behaviour #1429
An operator follows Watch and sees the streaming page for the correct worker and device: cases device drawer, direct deep reload, encoded ids, legacy ?drawer=screen link, stream metadata/readout values differing from the reference and a non-phone landscape source with preserved picture aspect ratio; the phone, holder, facts and recent events identify the same device and both overlay pills reflect actual metadata/statistics. signed-in console browser; pure model helpers where named Cases named in the behaviour #1430
An operator watches one device and owns one stream until leaving or stopping: cases Stop watching, route change, back, device switch, hidden tab, sign-out, lease renewal and device state change, existing four-argument callers and merged optional capture acquisition with cancellation ownership; extend screen.spec.ts and state/screen.test.ts. signed-in console browser; pure model helpers where named Cases named in the behaviour #1430
An operator watches a device and sees the existing stream refusal or end state without a stale picture: cases unknown worker/device, not running, unsupported driver, disabled capability, authorization loss, header timeout, capture end and late frame after cancellation. signed-in console browser; pure model helpers where named Cases named in the behaviour #1430
An operator uses the streaming holder actions without starting input or a second capture: cases idle device, held device, copy full lease id, unavailable clipboard API, denied clipboard access, clipboard no-answer deadline, successful and rejected clipboard settlement after timeout or navigation, Lease details, release confirm or cancel or refusal; assert no input WebSocket opens and copy failures follow the parent message/focus/selectable-id rule. signed-in console browser; pure model helpers where named Cases named in the behaviour #1430
An operator filters or searches Baselines and sees platform-grouped matching rows with counts, sizes, Built and state: cases iOS, Android, stale reason, no match, duplicate names across workers, unknown worker and paging; All includes ready and stale, Stale selects stale rows, Ready selects ready rows, and search combines with each filter. signed-in console browser; pure model helpers where named Cases named in the behaviour #1431
An operator reads Disk used by baselines and sees each worker share against its own disk: cases zero known bytes, missing size, missing disk, multiple workers, duplicate labels and a stale worker view. signed-in console browser; pure model helpers where named Cases named in the behaviour #1431
An operator reads or acts on a baseline and sees only daemon-backed status and available actions: cases ready, stale, refused list and disappearing row; Prepare baseline is a keyboard-accessible link to https://callstackincubator.github.io/simlock/docs/worker/baselines, follows the preparation instructions and sends no baseline.save request; no Building filter, build-progress value or unsupported row-menu trigger is shown; ready/stale rows retain the reserved menu-column width and send no new action request. signed-in console browser; pure model helpers where named Cases named in the behaviour #1431
An operator filters Activity and sees facet counts, minute bars and matching feed rows: cases every kind including unknown, Problems only, worker id or unknown worker, multiple checks, no checks, search, 1h/6h/24h/7d and empty result. signed-in console browser; pure model helpers where named Cases named in the behaviour #1432
An operator opens Activity history or a linked event and retains the selected event and live updates: cases legacy subject links, replay duplicates, older history, partial range, unavailable history, retry, selection hidden by filters and navigation cleanup. signed-in console browser; pure model helpers where named Cases named in the behaviour #1432
An operator opens Inbox, Queue, Usage, sign-in or not found and sees the existing structure with the new controls: cases empty/populated/refused page, token rejection, proxy session, action confirmation and keyboard navigation; extend each page existing spec. signed-in console browser; pure model helpers where named Cases named in the behaviour #1432
An operator resizes every console page and sees contained cards, legible text and usable navigation: cases 1440x900, 1280x800, 390x844, 1279/1280 and 767/768 boundaries, existing 360px floor, long names and empty or unavailable data. signed-in console browser; pure model helpers where named Cases named in the behaviour #1434
An operator uses every console page in light or dark and gets accessible controls and text: cases all reference states, Inbox, Queue, Usage, sign-in, not found, menu, confirm, search and selected lease drawer; axe must evaluate color contrast and report no WCAG AA violations. signed-in console browser; pure model helpers where named Cases named in the behaviour #1434
An operator uses keyboard and reduced motion on the integrated console and retains focus, announcements and readable chart data: cases menu, palette, inspector close, navigation, sign-out, chart table and reduced-motion preference. signed-in console browser; pure model helpers where named Cases named in the behaviour #1434
A reviewer inspects stage 0 pages and sees the approved shape with no overflow or accessibility violations: cases 1-overview.png (shell/header/card crop), 1440×900, 1280×800, 390×844, dark and light; compare each dark reference and current PNG, run both-theme axe and list data differences and only the explicit Baselines/Fleet, preserved-collapse header-control and evidence-backed WCAG-AA colour amendments recorded in PLAN. signed-in render harness and axe Named pages, viewports and themes #1426
A reviewer inspects stage 1 pages and sees the approved shape with no overflow or accessibility violations: cases 1-overview.png, 1440×900, 1280×800, 390×844, dark and light; compare each dark reference and current PNG, run both-theme axe and list data differences and only the explicit Baselines/Fleet, preserved-collapse header-control and evidence-backed WCAG-AA colour amendments recorded in PLAN. signed-in render harness and axe Named pages, viewports and themes #1427
A reviewer inspects stage 2 pages and sees the approved shape with no overflow or accessibility violations: cases 2-fleet.png, 3-worker.png, 1440×900, 1280×800, 390×844, dark and light; compare each dark reference and current PNG, run both-theme axe and list data differences and only the explicit Baselines/Fleet, preserved-collapse header-control and evidence-backed WCAG-AA colour amendments recorded in PLAN. signed-in render harness and axe Named pages, viewports and themes #1428
A reviewer inspects stage 3 pages and sees the approved shape with no overflow or accessibility violations: cases 5-leases-empty.png, 6-leases-selected.png, 1440×900, 1280×800, 390×844, dark and light; compare each dark reference and current PNG, run both-theme axe and list data differences and only the explicit Baselines/Fleet, preserved-collapse header-control and evidence-backed WCAG-AA colour amendments recorded in PLAN. signed-in render harness and axe Named pages, viewports and themes #1429
A reviewer inspects stage 4 pages and sees the approved shape with no overflow or accessibility violations: cases 4-streaming.png, 1440×900, 1280×800, 390×844, dark and light; compare each dark reference and current PNG, run both-theme axe and list data differences and only the explicit Baselines/Fleet, preserved-collapse header-control and evidence-backed WCAG-AA colour amendments recorded in PLAN. signed-in render harness and axe Named pages, viewports and themes #1430
A reviewer inspects stage 5 pages and sees the approved shape with no overflow or accessibility violations: cases 7-baselines.png, 1440×900, 1280×800, 390×844, dark and light; compare each dark reference and current PNG, run both-theme axe and list DATA differences plus the explicit Ready-filter/Prepare-baseline-link/omitted-row-menu and evidence-backed WCAG-AA colour amendments, retaining all other reference geometry. signed-in render harness and axe Named pages, viewports and themes #1431
A reviewer inspects stage 6 pages and sees the approved shape with no overflow or accessibility violations: cases 8-activity.png, 1440×900, 1280×800, 390×844, dark and light; compare each dark reference and current PNG, run both-theme axe and list data differences and only the explicit Baselines/Fleet, preserved-collapse header-control and evidence-backed WCAG-AA colour amendments recorded in PLAN. signed-in render harness and axe Named pages, viewports and themes #1432
A reviewer inspects stage 7 pages and sees the approved shape with no overflow or accessibility violations: cases all eight reference states plus Inbox, Queue, Usage, sign-in and not found, 1440×900, 1280×800, 390×844, dark and light; compare each dark reference and current PNG, run both-theme axe and list DATA differences plus the explicit Baselines Ready-filter/Prepare-baseline-link/omitted-row-menu and evidence-backed WCAG-AA colour amendments, retaining all other reference geometry. signed-in render harness and axe Named pages, viewports and themes #1434
An operator uses DataTable through public groupBy, selectedId and footer props and sees correct data rows: cases a group spanning two pages, a repeated heading at the boundary, headings excluded from page size and totals, selected row aria-selected/accent only on its matching id, count-only range with supplied paging, omitted props preserving the existing pager and rowTo/menu output; render successive public-props inputs in ui/src/ds/table.test.tsx using the existing menu.test.tsx static component seam and extend e2e/console/long-lists.spec.ts for existing paging controls and URL state. public component props and signed-in console browser Cases named in the behaviour #1426
An operator opens existing pages after retired-token substitution and sees usable shared controls: cases sign-in, Inbox, Overview and device ScreenPanel in both themes, no unresolved --chip or --field consumers, and no screen layout or action changes before the page stages; extend e2e/console/views.spec.ts and the render harness. public component props and signed-in console browser Cases named in the behaviour #1426
An operator follows sibling Watch links on the integrated console and reaches the matching device stream: cases worker-device tile, lease inspector and encoded worker/device ids; extend e2e/console/screen.spec.ts only after stages 2, 3 and 4 are reviewed and integrated, asserting the destination identity and one capture without input. integrated signed-in console browser Named sibling links after stages 2/3/4 integration #1434
An operator reads the shared visual primitives and sees the supplied labels, values and unavailable states without invented business facts: cases Pill status/plain, Ring zero/value/unavailable, LogRow/FeedRow/GroupHeader/Banner plain values or ReactNode slots, and shared worker name/full title/link, supplied pill, platform slots, leased/limit fraction and known/unknown CPU/MEM/DISK. Drive the public ds/index.ts exports through renderToStaticMarkup in the existing DS unit-test seams; preserve existing ListRow/table/caller compatibility and keep daemon types/business health rules outside DS. public shared-component props and static rendered output Named shared UI contract cases #1426

Tasks

Delivery priority approved by the maintainer on 2026-11-08: freeze the working render harness; stop comparator experiments and new defensive harness requirements. Commit/push its current safe checkpoint and record concrete acceptance gaps. Next finish actual shared UI foundation (remaining primitives, worker/account visuals and retired tokens) and required shell visual/accessibility acceptance using this harness. Close required checks during that implementation/audit, rather than starting more standalone harness-polishing runs. After foundation audit and independent review, deliver Overview and Fleet first, up to two page tasks in parallel; verify each page with the harness while converting it. Keep all approved final reference requirements and the complete-stack merge gate.

flowchart TD
  S0 --> S1
  S0 --> S2
  S0 --> S3
  S0 --> S4
  S0 --> S5
  S0 --> S6
  S1 --> S7
  S2 --> S7
  S3 --> S7
  S4 --> S7
  S5 --> S7
  S6 --> S7
Loading

Execution: foundation runs first on the current committed baseline; external product drafts stay out of scope and are not prerequisites. Redesign owns the named overlapping functions/hunks throughout this feature, with those drafts adapting afterward. Stage 4 rechecks #1256 and reconciles actual merged compatibility changes. (decided in delivery, pending the maintainer) Stage 0 review unblocks stages 1–6 from its pinned reviewed branch. “Merge” in PLAN means merge-forward into the retained feature stack, never a partial merge into main. Stage 7 starts once stages 1–6 are reviewed/integrated. All PRs remain open, retargeted/linked in review order; delivery rule 15 merges the whole stack once complete. Apex handed off at 25af66b. Use GPT 6.1 Terra through OpenCode / GitHub Copilot (github-copilot/gpt-6.1-terra) for subsequent delivery stages, as the maintainer requested. Completed GPT 6.1 Sol spec checks remain valid; no check or build is restarted solely for the model switch.

Completion mapping: C1 → stages 0–7 visual Done when; C2 → stage 7 responsive/theme Done when; C3 → stage 4 lifecycle Done when and stage 7 integrated sibling Watch-link Tests; C4 → stage 6 no-render Done when; C5 → each stage docs Done when and stage 7 consolidation; C6 → stage 0 API and stage 7 cleanup Done when.

Open-work search: gh issue list --state open --limit 100 --json number,title,labels,body,url and gh pr list --state open --limit 100 --json number,title,headRefName,url,body, scoped to callstackincubator/simlock on 2026-11-07. It returned 62 issues and 15 PRs; checked relevant bodies for #1133/#1135/#1145/#1146/#1156, and PR #1256's actual changed-file list. Their overlaps and redesign-first scheduling are recorded under Decisions and Shared values. No changes or claims are made on them. #1419/#1421–#1424 and PR #1420 concern agent-device tenancy/front behavior rather than these console page functions; no dependency because this redesign neither reads their new responses nor edits their files. Dependency-update PRs #1385/#1386 may alter the installed baseline; revalidate after any merge, no product dependency. #1253 test audit and #1187 comment gardening require normal merge conflict checks if still open, not a new product prerequisite.

Written by an agent.

Sub-issues

Sub-issues

8 of 8 Issues completed
Loading 8 sub-issues

Activity

  1. added
    feature:spec
    on Nov 7, 2026
  2. V3RON commented on Nov 7, 2026

    @V3RON
    ContributorAuthor

    Spec updated: reconciled source citations, test ownership/cases and explicit reference exceptions; targeted checks precede readiness.

    Written by an agent.

  3. added
    feature:planned
    and removed
    feature:spec
    on Nov 7, 2026
  4. github-actions commented on Nov 9, 2026

    @github-actions
    Contributor

    Closing: all 8 sub-issues are closed. The PR that closed the last one walks the completion conditions (delivery rule 9); reopen this if one does not hold on main. Flip its ADRs to Accepted if delivery has not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:planned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions