> **Historical record.** This page describes the product as it was when it was written, under an earlier name, and is not kept up to date. For the current system (Astra) read [DESIGN_SYSTEM.md](../DESIGN_SYSTEM.md) for the UI, and [ARCHITECTURE.md](../ARCHITECTURE.md), [DEPLOYMENT.md](../DEPLOYMENT.md), [RUNBOOK.md](../RUNBOOK.md), [REMOTE_RUNNER.md](../REMOTE_RUNNER.md) and [SECURITY.md](../SECURITY.md). # UI review 3: review-2 fixes and step 4 (approvals and failure decision) Reviewed: `f9fab2a` (review-2 must-fixes), `4cae29d` (review-2 should-fixes + N2, N5), `6fe0316` (step 4), against `UI-REDESIGN.md`, `UI-REVIEW-2.md`. Sources: `shots/review2-fixes/*` (27), `shots/step4/*` (23), and code (`pages/TeamBoard.tsx`, `pages/AgentTeamPage.tsx`, `pages/ScenarioReview.tsx`). No product code edited. Note on the evidence: the `board-*` and `agents-page-*` screenshots in `review2-fixes` were taken at 22:52-22:55, before `4cae29d` (23:22), so they still show the zero counters and the old `/agents` breadcrumb. The code has both fixes (`TeamBoard.tsx` line 208 drops zero parts; `AgentTeamPage.tsx` has "Settings › Advanced" and "New test run"). I accept them from the code; please re-shoot `board-desktop-panel-open-light` and `agents-page-desktop-light` with the next batch. ## Review-2 status | Item | Status | Evidence | |---|---|---| | R2-M1 honest engine labels | **Fixed** (one gap, R3-S1) | `board-desktop-panel-open-light`: "AI on this run: none (built-in rules only)", cards "Built-in rules (no AI model on)" / "(no AI model used)", mint avatars; `/agents` cards "Designed for … / Now: built-in rules (no model connected)" | | R2-M2 board columns by container | **Fixed** | 3 x 2 at 1440 with panel open, no clipping; 6 when folded; 1 column on phone | | R2-M3 unbroken names | **Fixed** | "Synthesizer", "Script builder" whole; YOU tag in the corner | | R2-S1 crowded top bar | **Fixed** | `topbar-panel-open-desktop-light`: "Waiting for you" short chip, full title, Cancel in All details | | R2-S2 paused in amber | **Fixed** | `board-paused-desktop-light`: amber Coordinator, "Paused here" | | R2-S3 one action on Team | **Fixed** | Coordinator card only | | R2-S4 phone switcher scroll | **Fixed** | `switcher-team-phone-*` | | R2-S5 skeleton | **Fixed** | `steps-loading-skeleton-desktop-light` | | N2, N5 | **Fixed in code**, re-shoot needed | see note above | Lead's check (board at 1440, panel open, honest labels, 3 columns, no clipping): **confirmed**. --- ## Must-fix None. Step 4 can be signed off once the should-fixes below are in, or they can ride with step 5 if the lead prefers; none of them loses a function or misleads the user except R3-S1 and R3-S2, which I would not defer past step 5. ## Should-fix ### R3-S1. `/agents` right-hand "Workflow" list still states the design engine as fact - **Where:** `agents-page-desktop-light`, right column: Research "External AI model", Data planner "Local AI model", Triage "Local AI model" pills with no qualifier, beside cards that correctly say "Now: built-in rules (no model connected)". - **Fix:** prefix the column header with "Designed for" (header text: "Workflow · designed engine per agent"), and render the pills in the outline variant with the tooltip "Designed for: External AI model. Now: built-in rules (no model connected)." using the same `nowLine(agent, cfg)` helper as the cards. When a model is connected, the pill may stay solid. ### R3-S2. Dry-run time is shown as raw UTC text without a zone - **Where:** `approval-cards-fixture-*`, `approval-card-*`: "Dry run passed on Local mock pod · 2026-10-17 11:23". The code (`ScenarioReview.tsx` lines 41 and 80) slices the ISO string, so a consultant in India reads a UTC time as local. - **Fix:** use `shortWhen(d.at)` (viewer's time zone, "17 Oct 16:53") in both places; put the full ISO timestamp with "UTC" in `title`. ### R3-S3. Approve / Skip order differs between AI cards and scenario rows - **Where:** AI cards show `[Skip] [Approve]`; process-step rows show `[Approve] [Skip for this patch]`. - **Fix:** one order everywhere: **Approve first, then Skip for this patch** (the existing row order, which the unit tests and muscle memory already use). On cards narrower than 360px the visible Skip label may shorten to "Skip"; the `aria-label` stays "Skip for this patch" (it already does). ### R3-S4. The NextStep banner offers a button to the page you are on - **Where:** `failures-detail-desktop-light` ("Open failure review" on the Failures view), `scenarios-desktop-light` and `scenarios-phone-light` ("Open scenario review" on the Scenarios view). - **Fix:** in `NextStep`, drop the action when its target tab equals the current tab; keep the title and text. On phone, collapse the banner on these two views to one line ("Your review: approve the scenarios") because the page itself is the action; this saves about 140px above the list on 390px. ### R3-S5. The quick-simulation "no screen" box in the Judge card sits between the choices and Submit - **Where:** `judge-desktop-light`, `judge-quicksim-desktop-light`: an 85px dashed box under the three choices pushes "Submit my decision" down. - **Spec 3.4 / review-1 M4:** for quick simulations the screen column shows the empty state *in the screen column*; when the column stacks (card < 640px wide, accepted deviation), it should not cost that much height. - **Fix:** when stacked **and** the run is a quick simulation, replace the dashed box with one dim line directly under the We expected / What happened row: icon + "No screen: quick simulations don't open a browser." (13px, `--fpt-dim`). Keep the dashed empty state only in the side-by-side layout (>= 640px card width), where it fills the column instead of adding height. Same rule on the Failures detail view (`failures-detail-desktop-light` is side-by-side, so it is fine there). ### R3-S6. Failed-agent card shows a raw engineering error to consultants - **Where:** `failed-agent-card-*`: "Playwright produced no JSON report at attempt-0.json (exit 1); see the run folder". - **Fix:** card body shows a consultant sentence by agent: Test runner "The test browser stopped without saving results."; any other agent "This step stopped with an error." Below it a "Technical details" disclosure (collapsed, 12px mono) with the original message, first 400 chars. Admins see it expanded by default. The Coordinator line already gives the run-level action. ## Nice - **N1.** Model name wraps at its hyphen ("mistral- / large-2512") on AI cards. Wrap the model name in `white-space: nowrap` (and the whole meta line may ellipsis with the full text in `title`). - **N2.** Judge card "Show the steps" is a bare text button floating 8px right of the content edge. Give it the `IconListDetails` icon and align it to the content edge, matching "Show steps" on AI cards. - **N3.** Phone top bar still shows the full chip "Waiting for your scenario review" (`scenarios-phone-light`), pushing the env pill off screen. Use the short chip form on phone too. - **N4.** Failures detail view: the verdict radios start empty while the Judge card preselects the suggestion. Keep the behaviour (it is the existing function), but mark the suggested option with "· suggested" as the Judge card does, so the two views read alike. --- ## Verdicts on the stated deviations | # | Deviation | Verdict | Note | |---|---|---|---| | 1 | Board breakpoints 532 / 1072px (container) to guarantee 160px cards | **Accept** | Correct arithmetic including gaps and padding; update UI-REVIEW-2 R2-M2 numbers to these. | | 2 | "See the failed screen" link replaced by a screen column with "See all screens" | **Accept** | Matches spec 3.4. | | 3 | Screen column beside the text only when the card is >= 640px; stacks below at 1440 with panel open | **Accept, with R3-S5** | Stacking is right; the quick-simulation case must not add the dashed box when stacked. For browser runs, cap the stacked image at 220px high (`object-fit: contain`, click for full size) so Submit stays near. | | 4 | "See all screens" does not force the Failed filter, except when a waiting browser run is opened | **Accept** | Forcing a filter on every click would surprise; the opening rule covers the useful case. Make the Failed chip show its count ("Failed 1") so it is one click away. | | 5 | Dev-only fixture routes `/dev/board-fixture`, `/dev/approval-fixture` behind `import.meta.env.DEV` | **Accept** | Lead verified they are absent from the production bundle. Add a unit test asserting the routes are not registered when `import.meta.env.DEV` is false, and keep fixture data free of client-like names. | | — | Not verified with real data: AI approval cards (fixture + unit tests) and the failed-screen column with a real screenshot | **Accept for step 4, carry an open item** | Before release, one screenshot pair each from a real run: AI cards from an Oracle Fusion pod run (practice pod writes none), and the screen column from a full browser run with a failing scenario. Track as "open visual checks" in the step 5 hand-off. |