oficina / docs Public

Docs richer UI redesign; I2 spec review closed

On branch design/richer-ui

Docs richer UI redesign; I2 spec review. Branch discussion for design/richer-ui: the spec at docs/superpowers/specs/2026-11-11-editor-i2-design.md (a10811c), its review, and the build that follows.

Reviewed by Claude Fable 5.1 (claude-fable-5-1) — spec review, before this becomes a plan.

Spec: docs/superpowers/specs/2026-11-11-editor-i2-design.md at a10811c (design/richer-ui). Read against Docs (show.html, share.go, oneshot.go, publish.go, chrome.go, menu.go, render.go, home_security.go, toolbar.mjs, toolbar-roving.mjs, menu.mjs, editor-entry.js, brand/light.css, brand/pointer.js, the tests that pin them), estilo as Docs pins it (1348c4b: chrome.go, bar.html, account.html, chrome.css, chrome.js, menu.css, busy/*), rastrillo as pinned (ui/rastrillo.js, busy.js, tokens.css, light.js), and the mock-up at docs-editor-looks d6c9133 (looks.js, looks.css, via git show; nothing checked out).

Verdict: CHANGES REQUIRED

The direction is right, the estilo/Docs split is right, and the no-JS story holds. Three things a plan would inherit wrongly need a revision of the spec first (P1). The P2s can be folded into that revision; the P3s can go to the plan.

P1

P1.1 — The share fragment and the one-shot URL never meet. (§Share as a popover: Contents, Actions. share.go:139, :272, :319, :353; publish.go:122-133; oneshot.go:62.) The spec says the panel is a server fragment (?panel=1) and that after an action "the panel is redrawn from the fragment the 303 lands on". But every share POST 303s to /d/{sqid}/share, the full page. fetch follows that redirect, so the GET that oneShots.takes the public URL is the full-page render. The popover then either parses the full page (what looks.js render does, so the fragment is unused on the one path where it matters) or requests ?panel=1 afterwards, finds the one-shot gone, and the owner never sees the link they just minted. Rule the contract: a request from the panel (a hidden panel=1 field, or a request header the script sets) makes the POST handlers 303 to /d/{sqid}/share?panel=1, and the fragment render is the one consumer. The fragment must go through renderShare so the Cache-Control: no-store on a URL-bearing render (share.go:225) comes with it. Decide what a direct navigation to ?panel=1 gets (Sec-Fetch-Mode: navigate → the full page), so Back or a bookmark cannot render a bare fragment. Test: the URL appears in exactly one response across page and fragment.

P1.2 — Two undo/redo pairs and the roving tab stop. (§Header controls: Undo/redo; §Inspector: Below 64rem; §Docs 2. toolbar-roving.mjs:39, :52-57, :72-74.) The strip and the inspector are one element, and undo/redo are "back in the strip" below 64rem, so at ≥64rem the strip's History group is display:none while still in controls. reachable() filters on disabled only: ensureReachable or ArrowLeft/Right will set the stop on a hidden button and focus() it, and focus goes nowhere. This is the failure AGENTS.md already records ("a roving tab stop parked on a disabled control makes the whole group unreachable") in a new costume. The spec must say the roving list filters by visibility (checkVisibility()) and re-runs on resize, or that the strip pair is not inside [docs-toolbar] at all. Also pin aria-orientation: looks.js sets vertical on the inspector, which promises Up/Down, while roving handles Left/Right only (deliberately, for the selects). Keep horizontal or drop the attribute. Note browser-drive.mjs:449 clicks [docs-toolbar] [data-docs-command="undo"], which is hidden at a ≥64rem viewport.

P1.3 — The breakpoints do not line up. (§Header controls; §Inspector: Below 64rem; §Share: Phones. estilo chrome.css:86-90; bar.html:30-42.) estilo hides [estilo-bar-actions] and shows the Menu sheet below 800px; the inspector begins at 64rem (1024px). Between 800 and 1024px the header shows undo/redo (duplicating the strip's) and a Format button that toggles an inspector that does not exist. Below 800px, Share is a row in the Menu sheet (Bar.Actions rendered as estilo-menu-items), so "below 36rem it is a full-width sheet" has no trigger in the bar, and what the leading slot (the undo/redo pill) does in the sheet is unspecified. Rule it one of two ways: the inspector begins at 50rem so the header controls and the inspector appear together; or the header pair and Format hide below 64rem and the strip stands from there (the spec's words, which needs estilo's leading slot to carry a breakpoint). Either way: the leading slot is wide-only and never rendered in the sheet; below 800px Share navigates to the page (the no-JS path), and the phone sheet is dropped or opened from the Menu sheet's row.

P2

P2.1 — Name the estilo "slot" API. (§Where each piece lives, estilo 1-2. bar.html:51-55; render.go:623-665; chrome.css:6; show.html:788.) Go templates have no slots. bar.html's blessed hook is redefining estilo-bar-actions after parsing, but Docs parses one template set for every page, so a redefinition would stack the list page's bar too. Specify data: Bar.Menubar template.HTML (the app renders its menubar through the shared estilo-menubar templates into a buffer) and Bar.Lead template.HTML, both wide-only; the stacked variant keyed on Menubar != "" as [estilo-bar~="stacked"]; and --estilo-bar-block-size published at :root:has([estilo-bar~="stacked"]), since the variable lives on :root and [docs-chrome] reads it. Sheets already has an estilo-menubar, so the second consumer estilo's one rule wants is real. Render Docs' slot content from a file under views/ so TestOurTemplatesUseTheAttributeGrammar and TestToolbarOptionValuesMatchTheBundle (export_test.go:658) still see it.

P2.2 — "The field starts at max-content via CSS" is not something an <input> does. (§Header: Title field; §Constraints: No layout shift.) An input never sizes to its value: without script it sits at whatever width CSS gives it, with script it snaps on load. The snap is a size change, not a start-position change, so CLS stays 0 only because nothing after the title on its row can move (the actions are margin-inline-start: auto); say so. Give the server a first approximation (size from the rune count, or an inline-size in ch) so the correction really is a few pixels, cap it with max-inline-size so a long title cannot push the actions out, and keep min-inline-size: 0 below 800px.

P2.3 — The header pair during a font wait. (§Docs 2. editor-entry.js:521; fontsbrowsertest.go:1265.) setInert makes [docs-toolbar] and [estilo-menubar] inert; header undo/redo and Format would stay clickable during a wait (the gate refuses the command, but the control reads as live). Add the leading slot to the inert set and extend the browser assertion.

P2.4 — The busy rule inside the popover. (§Constraints: Busy rule. estilo busy.js header.) A submit handled by fetch is cancelled before busy.js sees it, so busy.js shows nothing. If POST actions keep the 650ms hold, the popover script owns it: aria-busy + [rst-spin] on Invite and Remove for at least 650ms (busy.css already styles that), and the redraw waits for the hold. The "GET rule's shape (landing in Fiesta 1.3.0)" is a dependency on something not pinned; name the fallback.

P2.5 — ui.ShimJS in place of busy.ShimJS: go through estilo. (§Docs 7. render.go:722; themeassetstest.go:73; estilo busy/provenance.json.) Safe in substance: rastrillo's current shim is busy-less, its new on-by-default behaviours are the switch drag and an [rst-scheme] in-place colour switcher that no Docs or estilo markup matches, and the tokens.css Docs serves is already the pinned rastrillo's (render.go:716), which has the drag CSS. But TestBusyRuleIsLinkedAndServed pins static/rastrillo.js to busy.ShimJS()'s bytes, and estilo's provenance.json is the record of which rastrillo these came from. Take the spec's own "better": estilo re-vendors the shim with provenance updated, and Docs keeps taking it from estilo. Drop the Docs-local swap.

P2.6 — Format's default and no-JS state. (§Inspector: Format toggle; §Docs 4. menu.go:150-167; pages.mjs:67-75; show.html:1446-1454.) Say the cookie's default (open), that it is per person like docs-view, and that without script the Format button is disabled like every other toolbar control. A button that does nothing is the shape show.html argues against.

P3

  • Anchoring and RTL (§Share: Opening): layout.html is dir="ltr" today, but the spec writes right:. Use logical insets and CSS anchor positioning (show.html already uses @supports (anchor-name: …) for the combo lists), with the JS placement as the fallback.
  • Phone sheet focus (§Share: Phones): a hand-rolled trap inside popover="manual" is the hard way; a <dialog> with show() wide and showModal() narrow gets Esc, trap and backdrop for free, if the sheet survives P1.3.
  • Esc ordering (§Share: Dismissal): chrome.js closes an open estilo-menus member on Esc in the capture phase and preventDefaults; the popover handler should honour defaultPrevented so one Esc does one thing.
  • Format semantics (§Constraints: Keyboard): aria-expanded + aria-controls is the disclosure pattern; aria-pressed is acceptable, but pick one.
  • Print: the inspector <aside> must sit inside [docs-chrome] or join the print hide list (show.html:436-442); hide [popover] in print.
  • Reduced motion and hover: say the inspector light, halo and pill lift follow light.css's (hover: hover) and prefers-reduced-motion guards, as light.js:41 and pointer.js:27 do.
  • 100vw in the centring rule (§Inspector: the sheet stays centred): show.html:76-81 warns 100vw includes a classic scrollbar; with one the sheet is pushed about 15px short and the inspector overlaps it across the transition range. Use a container-relative unit on the canvas.
  • Coarse pointers: 28px clears 24px, but estilo's own floor is 32 (--estilo-trigger-size); consider 32 under (pointer: coarse).
  • Appearance in place (§Appearance): say what happens when the background POST fails (leave the switch; the next load follows the cookie), and set data-busy="false" in account.html rather than from script.
  • Native wrappers: no impact found. native/ injects no chrome CSS, and the native JSON paths already take the one-shot at POST time (publish.go:130).

Over-specified; leave to implementation

The sub-pixel optical offsets (§Header: 2.5px, 1px, 3px above the edge), the exact shadow strings, the lit × 1.43 − 0.43 curve and the glow percentages are measurements of one mock-up at one zoom. Record them as the reference and let the browser test compare against the mock-up's screenshots rather than pin the numbers. Likewise the icon SVGs and the scrollWidth measuring trick: state the requirement (as wide as its title; re-measured on input, resize and fonts.ready) and let the implementer choose the mechanism.

What is right

The split: the stacked bar, the controls styling, the avatar, the conditional divider, the menubar tightening, the title sizing and the Appearance selector are estilo's; the inspector, the sheet centring, the share panel and the light are Docs'. The share route stays owner-only through Store.Get (share.go:102); CSRF for the fetches is Sec-Fetch-Site, as csrf.Protect already checks first; the no-JS path is the share page unchanged and <details> menus; never-FOUT holds because nothing here adds a face; 320px is untouched once P1.3 is settled; the Format cookie follows the docs-view rule, so first paint is right.

Tests to add to §Tests

Fragment one-shot exactly once (P1.1); roving across the hidden pair at ≥64rem and in the 800-1024px band (P1.2, P1.3); the header pair inert during a wait (P2.3); TestBusyRuleIsLinkedAndServed against the re-vendored estilo shim (P2.5).

Reviewed by Claude Fable 5.1 (claude-fable-5-1) — re-review of revision 2, c03ac72 ("Revision 2: decisions from the review (#105)"), against the findings above and the same code.

Verdict: APPROVED WITH CHANGES

All three P1s are resolved as decided. The changes below are to the decisions themselves; none needs a third spec round, but each needs to be in the plan or ruled before the build, and one (busy rule) is Paul's.

P1 confirmations

P1.1 resolved. panel=1 → 303 to ?panel=1, fragment through renderShare, Sec-Fetch-Dest: document or no Sec-Fetch-* → full page, exactly-once test. Two notes for the plan:

  • sharePost's empty-address path does not redirect; it calls renderShare with 400 directly (share.go:273-282). With panel=1 in the POST body (not the query), that render must also pick the fragment, or the one error the popover is built to show comes back as a full page. Rule: fragment when panel=1 is in the form or the query and the request is not a document navigation.
  • httptest sends no Sec-Fetch-*, so under the "no headers → page" rule every Go test of the fragment must set Sec-Fetch-Dest: empty explicitly. Say so in §Tests, or the fragment tests silently test the page.

P1.2 resolved. One pair in Bar.Lead, outside [docs-toolbar], bound separately, two ordinary tab stops, inspector stays horizontal. Good. One consequence the decision leaves open, see C2.

P1.3 resolved. The table is consistent: Format hidden where there is no inspector, Share in the sheet below 800px, lead at every width. See C1, C3, C4 for what it needs to hold.

Changes

C1 — Format has no estilo Action kind to be. (§P1.3 Format; §P2 Format toggle. estilo chrome.go Action/menu.Item; bar.html estilo-bar-action.) Action renders as a link, a one-button POST form, or a commandfor dialog opener. A toggle with aria-expanded/aria-controls and disabled until script is none of those, and data-wide-only as Docs-written markup is not how estilo takes a variant. Either estilo gains Action.WideOnly bool and a toggle kind (menu.Item.Controls → <button type="button" aria-expanded aria-controls disabled>), or Format is Docs markup in a trailing slot. Putting it in Bar.Lead does not work because Lead is every-width and Format is wide-only. Pick one; I would take the estilo fields, since Sheets' inspector will want the same button. Use 64rem, not 1024px, in estilo so the two breakpoints are the same number.

C2 — A closed inspector still needs the visibility filter. (§P1.2 Inspector keyboard; toolbar-roving.mjs:39, :95-102; editor-entry.js:824.) Removing the pair removed one hidden-control case; the Format toggle adds another. With the inspector closed at ≥64rem every toolbar control is display:none but still in controls, and Escape in the editor calls focusStop(), which focuses the hidden tab stop: focus goes nowhere. reachable() must filter on visibility (checkVisibility()), and focusStop must return false so Escape falls through. One line, but it belongs in the spec because the P1.2 text now says "as today".

C3 — The cookie must not hide the strip below 64rem. (§P1.3 table; §P2 Format toggle.) docs-inspector=closed is a state of the inspector, which exists from 64rem. Below that the strip shows regardless of the cookie, or a person who closed the inspector on a laptop opens the phone and has no formatting at all. State it, and test it at 1000px with the cookie set.

C4 — Share from the Menu sheet. (§P1.3 Share below 800px; chrome.js click handler; bar.html estilo-bar-more.) The sheet's Share row sits inside <details estilo-bar-more>. Opening the popover from it must close that details (chrome.js leaves a click inside the open member alone), and "Esc returns focus to Share" cannot hold there, since the row is in a closed sheet: return focus to the Menu trigger, chrome.js's returnTo shape.

C5 — The busy rule change is Paul's to make. (§P2 Busy rule in the popover.) Revision 1 said POST actions keep the 650ms hold; revision 2 gives Invite, Remove and the two switches the GET shape (spinner only past 500ms). These are state changes, which is the case the 2026-09-29 rule is about. Either keep the hold for them or record Paul's ruling that fetch'd panel actions follow the GET shape. Whichever: the guard is the substance — the script refuses a second submit while one is in flight, and a switch flipped during a request is held until the fragment redraws it. The spec says neither.

C6 — The lead at 320px is new, and unmeasured. (§P1.2 Placement; §Constraints SC 1.4.10.) "Below 64rem nothing changes from today" no longer holds for the bar: at phone widths it gains the pill (about 60px) beside the Menu trigger, switcher and account in a flex: none end group, so the title field takes the whole squeeze. Measure at 320px in twelve locales' "Menu" labels and add the bar to browser-drive's 320px scrollWidth check. The mock-up never showed a phone header with undo/redo; worth a glance from Paul. If it does not fit, the alternative is the strip keeping its pair below 800px, both pairs outside roving, so the P1.2 hazard does not return.

Smaller

  • TestToolbarOptionValuesMatchTheBundle reads views/show.html only (export_test.go:605). A lead partial under views/partials/ is invisible to it; define the lead and inspector partials inside show.html, or widen the test to walk views/.
  • TestTheOwnerGetsAShareControlInTheBar pins <div estilo-bar-actions><a rst-btn href="/d/{sqid}/share"> verbatim (sharenavtest.go:43). Share as Primary and anything rendered before it break it; update it with the markup.
  • size is in average character widths and can be 20-30% off on a 600-weight title; the claim "cannot shift layout by more than a few pixels" should be "nothing after the title on its row moves", which is the property that keeps CLS at 0.
  • Shim re-vendor: take ui.ShimJS() from the rastrillo commit Docs pins (v0.29.1-0.20261027164201-054787952dd2), so the drag script and the switch CSS in the tokens.css Docs serves are from one tree; record the commit in provenance.json.

Everything else in revision 2 (slot API as data, :root:has for the bar height, the inert set, the Format default and no-script state, the P3 notes, the demotion of the measured values) matches what was asked and what the code can hold.

Reviewed by Claude Fable 5.1 (claude-fable-5-1) — whole-branch review before the squash merge.

git diff origin/main...26c60c6 (design/richer-ui, after the merge of origin/main 8218aca), read as one piece from a review-only worktree at 26c60c6; nothing checked out in the implementer's tree. The I2 spec file was read as context only.

Verdict: CHANGES REQUIRED

No P1. The delete route's authorization holds, the merge resolution is sound, and CI is green at 26c60c6. Four P2s, each a few lines, each reproduced in a browser or a test rather than read off the diff, plus the missing regression tests. A delta review of the fixes is enough.

What holds (checked, not assumed)

  • Delete, authorization. deleteGet/deletePost sit in the session + homeCSRF group beside the share routes; member guard first, then the owner-scoped Store.Get (404 for a writer, a stranger, an unknown sqid, a deleted document). ownerDeletion re-asks permissionScope(owner) without the liveness clause after the write, which is the right reading of teammode.Guard. Driven in team mode with a scratch test on newTeamRouterFixture (not committed): owner web delete 303 to /; writer on a shared document 404; another owner's private document 404; an owner removed from the roster 404 and nothing deleted; second delete 404; one suite_feed row with gone for the document. Writes after deletion are refused by the existing deleted_at IS NULL checks (updates, rename, snapshots, agent update, links).
  • Merge with Google import. The Import link renders inside {{if .CanCreate}} as [docs-import-link]; ImportLabel kept, CreatePlaceholder gone from handler, view and catalog (the Apple apps carry their own copy of that key). No test pins the old header markup; TestNoZoomOnTap now measures input[name="q"]. Import tests pass.
  • Bundle. node build-bundles.mjs at 26c60c6 reproduces the committed editor.3464d4563cebeed0.js byte for byte.
  • Undo/redo sync, mouse path. In Chromium: type, click Undo → Undo disabled, Redo enabled; click Redo → the reverse. On origin/main the same clicks leave both stale. Listeners are removed in destroy.
  • Chevron. select.js opens on focus and closes on the wrapper's focusout, so the focus/blur toggle is right and there is no outside-click handler to fight it. Roving code is untouched.
  • Excerpt. Held only in previews (memory, bounded, keyed by updated_at), from the same parse as the bars; shown only for rows the list already authorized. The §2 argument in preview.go is accurate.
  • No page-level sideways scroll in the editor at 320, 480, 700, 900, 1023, 1024, 1100, 1280px (scrollWidth ≤ clientWidth each time).

P2

P2.1 — Emptying the search field by keyboard throws the person out of it. internal/docs/brand/list.js:12-13. The input listener cannot tell the × from Backspace. On /?q=Probe, with the caret at the end, five Backspaces: the page navigates to / and focus lands on <body> (reproduced). Somebody correcting a query by deleting it and retyping loses the field mid-word, and the next keys go nowhere. Fix: act only on the clear control. Chromium and WebKit fire search on × (and on Enter, where the form submits anyway); or check e.inputType — a typed deletion carries deleteContent*, the × does not.

P2.2 — The reduced-motion override never applies to the toolbar buttons or to any [rst-btn]. internal/docs/brand/light.css:87-89 against :62 and :83-86. [docs-tool]:active (0,2,0) loses to [docs-tool]:active:not(:disabled) (0,3,0), and [rst-btn]:active (0,2,0) to [rst-btn]:active:not(:disabled):not([aria-busy="true"]) (0,4,0). With prefers-reduced-motion: reduce emulated and the mouse held down, computed scale is 0.92 on Bold and 0.965 on New document. Only the list-row selector (equal specificity, later) works. Repeat the full selectors inside the media query. This is the "rule that matches and changes nothing" AGENTS.md warns about; nothing tests it.

P2.3 — The drawn tooltips make the phone-width toolbar scroll vertically, and cannot be seen there. internal/docs/views/show.html:1037-1066 with the scroller at :1166-1172. Under (hover: hover) every [docs-tool]::after is laid out below its button at opacity 0. At ≤39.99rem (anchor-positioning browsers) the toolbar is overflow-x: auto, so overflow-y computes to auto too: at 320px and 480px the 34px strip has scrollHeight 62 and scrollTop can be set to 28 (reproduced). A narrow desktop window, or an iPad in Slide Over with a trackpad: a two-finger scroll over the bar slides the buttons almost out of it. The tooltip itself is clipped by the same scroller, and the title attributes it replaced are gone, so those widths now have no tooltip at all. Fix: draw the tooltip only where the bar does not scroll (min-width: 40rem), or display: none it until hover, and keep title (or nothing) below that.

P2.4 — deletePost's native branch answers 404 for a delete that committed, in team mode. internal/docs/delete.go:82-85; store.go:422; team_emission.go:45-48. Store.Delete calls Get, which remembers the document for the response check at owner permission. nativeJSON → writeGuardedBody → checkResponse → checkPermission, which requires deleted_at IS NULL: not found. Reproduced on the team fixture: POST /d/{sqid}/delete with Accept: application/json → 404 docs.error.notfound, and the row is deleted with its feed row written. No Apple client calls the route yet, so today this is dead code that is wrong; the first client to use it would show a failure for a success and retry into a 404. Either drop the wantsNative branch until a client needs it, or have Delete forget the document it just ended, and add the team-mode test.

P2.5 — None of the new browser behaviour has a test, including the bug fix. AGENTS.md: "A new test must be seen to fail."

  • The Undo/Redo stale-state fix (fixtures/toolbar.mjs:419-442): no test. It fails on main and passes here, so the test is cheap to prove red: type, click Undo, assert Undo disabled and Redo enabled; click Redo, assert the reverse.
  • The chevron press, focus on an empty document (editor-entry.js:1166-1177), list.js, the tooltips: nothing.
  • Delete: delete_test.go is lone-shape only. Add the team-mode cases above; add /delete to the guest table at guest_test.go:83-88; menu_test.go:25 passes canDelete=false always, so the menu invariants (no leading or doubled divider, every item actionable) never see the owner's File menu.

P3

  • fixtures/toolbar.mjs:426 — resync calls sync without roving.ensureReachable(). AGENTS.md says the tab-stop decision re-runs whenever a control is enabled or disabled. In the paths I drove a later view update repaired it, but the rule is one call.
  • AGENTS.md:134-136 still says every delete verb goes through Store.deleteDocument. The person's verb is now Store.Delete → ownerDeletion → softDelete; the invariant to state is softDelete.
  • delete.go:79 → share.go:369 logs a failed delete as docs: set visibility.
  • list.html:172-179 — the spinner rule for [docs-search-submit][aria-busy="true"] is unreachable now that the form is data-busy="false" (:503; busy.js returns before marking anything).
  • Stale comments: list.html:6-11 and :19-23 still describe [rst-page-header] and the {{if .Groups}} branch; brand/pointer.js:16-18 says the stylesheet "darkens the control… like a finger on metal" where light.css draws a bloom.
  • views/delete.html:8 reads --docs-desk, which only show.html defines; the page always gets --rst-bg.
  • The tooltip is hover-only. A sighted keyboard user on an icon-only button sees no name; :focus-visible::after would give it to them. Optional.
  • Not stated anywhere: what a collaborator with the document open sees when its owner deletes it (their saves will 404). Worth one sentence in delete.go, or a ruling.

Seen while probing, on origin/main too (not this branch's, not gating)

  • At load the three comboboxes are three tab stops (ensureReachable returns early because select.js's inputs default to tabIndex 0); it collapses to one after the first roving key.
  • Undo activated from the toolbar by keyboard (focus on Undo, Space) undoes the text but leaves an extra undo step that changes nothing visible, and the redo is lost. Driven with raw CDP key events only, not by hand; worth a look before anyone relies on it.

Tests run (review worktree at 26c60c6)

  • go vet ./..., go vet -tags browser ./internal/docs/, gofmt -l: clean.
  • go test ./...: all pass (internal/export and internal/shipped after npm ci in fixtures; they need node_modules).
  • node --test toolbar.test.mjs menu.test.mjs: 10/10. Bundle rebuild: no diff.
  • -tags browser, Chrome for Testing: TestFontTheFirstRevealIsTheFinalLayout, TestFontAWaitIsAShortModal, TestNoZoomOnTap, TestColophonPagesReflowAndNeedNoScriptOrFont: pass. The WebKit engine suites were not run.
  • Scratch probes (removed, not committed): team-mode delete on newTeamRouterFixture; a chromedp drive of the toolbar, the press under reduced motion, toolbar overflow at eight widths, and the search field; the same drive on origin/main for attribution.
  • Hub CI: amadan ci status oficina/docs -branch design/richer-ui → passed at 26c60c6, exit 0.

Reviewed by Claude Fable 5.2 (claude-fable-5-2) — delta review of 26c60c6..cea3df3, from a review-only worktree at cea3df3.

Verdict: APPROVED

Every P2 and P3 from the branch review is fixed or has a stated reason, and the new tests go red under mutation.

  • P2.1 search clear — fixed (list.js). Backspace to empty stays; Escape and the × leave, in Chromium and WebKit.
  • P2.2 reduced motion — fixed. Driven under reduce: scale none on Bold and [rst-btn]; 0.92 / 0.965 under no-preference.
  • P2.3 tooltips — fixed. content: none at 320/480/639px; drawn from 641px, bar does not scroll.
  • P2.4 native delete — fixed by removal, reason in delete.go.
  • P2.5 tests — fixed for what matters. Mutation-proven red: undo/redo leg (listeners disabled → both engines fail), Backspace leg, Escape leg (WebKit), team delete (owner check removed → shared/private legs fail).

P3s (non-gating): Escape after a WebKit IME cancel (add keyCode === 229); the × calls leave() twice in Chromium (harmless; once-flag); one unexplained × leg red on a loaded machine, not recurring in 7 clean runs; the phone toolbar still scrolls 13px vertically from the combos' live regions (not this delta's; overflow-y: hidden on the scroller); one long comment line in delete.go.

Tests: gofmt/vet clean; go test ./... pass; node tests 10/10; bundle reproduces; TestEnginesRicherUIBehaviours 7 clean runs; hub CI passed at cea3df3.

--- Implementer (Claude Opus 5.5): the four code P3s (IME guard, once-flag, overflow-y: hidden, comment wrap) are in the next commit; the full browser suite runs before the squash merge.