Review by Claude Fable 5.1 (claude-fable-5-1) of design/docs-shape at c8588cb (branch commits 32b6aa9..920a0ab merged with origin/main 944a9ff). Read in a review-only worktree (git diff origin/main...origin/design/docs-shape), never the implementer's.
Gates. TMPDIR=/tmp make ci green (vet, gofmt, go test ./... incl. internal/slides 136 s and slidestest 126 s, migration check, credits). fixtures: npm ci && node --test green; node build-bundles.mjs and node generate.mjs leave git status empty, so the committed fontsgate bundle (971e476e) and the vectors are current. Browser: go test -tags browser -run 'TestBrowser|TestFontALate' ./internal/slidestest/ ok in 197 s, TestBrowserEditsTheTitle and TestFontALateEditorMovesNothing included, first run.
What I checked and found holding.
- The redirect.
showDeck(viewer.go:160) redirects only whenr.URL.RawQuery == "", afterdeckFor, toeditorHref(d.Sqid)built from the row's own sqid — no request input reaches the Location, so no open redirect.?slide=,?vp=phone,?present=1all stay on the viewer (TestADeckOpensInTheEditor), and every link the viewer emits goes throughviewerHref, which always writes?slide=N, so viewer-nav's in-placego()/popstate never fetches a bare address; if it ever did, the fetched page has no[slides-viewer]root and the fallback islocation.assignto the editor, not a loop. The projector (/p/…) and the share-link viewer (/s/{token},sharedDeck) carry no redirect at all, andsameViewerkeys on pathname so a/s/page never crosses into/d/. A stranger gets the 404 before the redirect; team-mode Unknown getsteamUnavailablebefore it; a member is redirected like the owner (both may edit). HEAD on/d/{sqid}is chi's 405 with noGetHeadmiddleware, exactly as on main — unchanged. Home's dashboard feed (dashboard.go:59) and the agent API'surlnow land a signed-in person in the editor, which is the branch's intent. - The rung form.
POST /d/{sqid}/share/accessis inside the signed-in group and thereforecsrf.Protect;ownedDeckFor(…, a.mayChangeRung)answers 404 to a member and to a roster owner on an orphan (teamowner.go unchanged; TestTeamRosterOwnerSharesAndRetitlesOrphansOnly covers both, and the owner re-added);validRungrefusesgranted, empty and unknown with a 422 on the page; the write isguarded(memberGuard),UpdateColumnscoped `id AND ownerid, and the lapse table in team_guard_test.go gained the row.saveDeckSettingsnow treats a missing rung as "leave it", keeps the 403 on a narrowing by a roster owner, and lets a deck already ongrantedbe saved without claiminggranted` is settable. The form is a real POST of choice cards, so scripts-off works. - Share… in the bar. Only
showDeckwithmayShareDeckadds the action;sharedDeckpasses a frame with context andpublic: trueand no actions; the member path has none (TestViewerOwnerButtons asserts the member page has no/shareat all). Settings page:ownedDeckFor(mayRetitleDeck)as before, rung radio gone, delete still gated bymayDeleteDeck. - Catalog.
slides.viewer.shareandslides.editor.file.settingsare removed with no remaining reference; the new keys all exist;LegendHidden,form-errorwith a string andpage-header'sSubare all in the rastrillo partials this module pins. - WCAG. The rail is
<nav aria-label="All slides">witharia-current="true"on the current entry, ringed and in full ink, and numbered by the counter; the overflow is a<details>whose summary carries an sr-only name (and works with scripts off); film links keepmin-height: 24px; Edit/Present pills are 36 px. - No-flash. The noscript move is entirely inside
@media (scripting: none)(editor.css:54), so a scripted page's grid is untouched — the areas are still bar/fonts/desk andTestFontALateEditorMovesNothingis the right guard. Browsers withoutscriptingsupport (Safari <17, Chrome <120) just keep the old placement.
Findings.
P2 — the settings page now dead-ends its only audience. decks.go:1332 (saveDeckSettings redirect), decks.go:1227/1232 (Cancel and Back). The page is reached only from the editor's <noscript>, i.e. by somebody with scripts off. After Save (or Cancel) they are sent to /d/{sqid}, which 303s to /d/{sqid}/edit — the page that just told them it needs scripts. It still works (the notice links the viewer again) but it is a loop. Fix: redirect to viewerStart(d.Sqid) after a save, and make Cancel/Back the same, so the scripts-off person lands on the one page that works for them.
P3 — at under 1100px the filmstrip is a single row that scrolls sideways (viewer.html, [slides-film] flex + overflow-x: auto, items fixed at 9.5rem). Before the branch it wrapped. At 320px a reader must scroll horizontally inside the strip to reach slide 4 onward; 1.4.10 tolerates it for a carousel-like region and each link is focusable, but a wrapping grid below the rail breakpoint would be the safer AA reading. Your call.
P3 — "Back to the deck" from the share page, the export form and status page, the delete confirm and the presenter view (share.go:169, exports.go:390/922, decks.go:1368/1370, presentation.go:832) all now resolve to the editor. That is consistent with "a deck opens in the editor" and I am not asking for a change; noting it so it is a decision rather than a side effect.
Verdict: APPROVED. Nothing leaks and nothing loops; the P2 is a one-line redirect I would land on this branch before it merges, and the two P3s are yours to take or leave.