Repository source: docs/plans/tools_diagnostics/tools_diagnostics_one_shot.md
Cycle: v3/tools_diagnostics; Mode: one-shot; Record/index: this record · plans index
Debug mode: enabled (log)
Effort study: railspike-effort / v3/tools_diagnostics, protocol P2, reference R1 (ledger)
Extended estimates: enabled
Cycle estimate: 0.10
Status: implemented, PR open. Next permitted action: review and merge.
Epic: sign-in state checklist (source unavailable) (follow-up to item 1).
Original request
"can you please add a diagnostics section to tools and also put the offline reader status in there" (2026-12-03, after the Sign-in check, PR #537, was merged.)
Authorization
The maintainer asked for it on 2026-12-03. Scope: a Diagnostics group on the Tools launcher and Tools bar holding Sign-in check and Offline Reading, its icons, tests and docs. Excluded: moving any other tool, and changes to either page.
Outcome and work type
Application. Tools shows a Diagnostics group after "Your device" with two buttons: Offline Reading (moved from "Your device") and Sign-in check (new, /account/sign-in/). The Tools bar shows the same with a divider.
Approach and risks
Add
diagnosticstoToolsPageSupport::groups()and two registry rows. Both pages are standalone (no Tools bar of their own).Glyphs in
theme-nav-icons.css: the group heading and the Sign-in check button, in the pixel, smooth and cute sets.Risk: a group heading or button with no glyph leaves an empty slot in icon themes.
NavIconSetsTestchecks set parity; a browser look checks each set.
Reuse decisions
src/ForumRewrite/Tools/ToolsPageSupport.php: the single list behind the launcher and the bar. Extended.templates/pages/tools.php: renders groups as they are. Unchanged.public/assets/theme-nav-icons.css: existing glyph style per set (16 px; pixel art in navy and grey; smooth lines in#6d28d9on#ede9fe; cute pixel art in#8e2457,#e45b9c,#ffc7e0).
Completion conditions
Entry: the Tools page and the Tools bar. Result: Diagnostics heading with both buttons, glyphs in every icon theme. Handoff: PR open.
Concepts touched
Sign-in readout: used unchanged; its entry gains a second way in.
Verification and recovery plan
ToolsRegistryTest, NavIconSetsTest and the smoke set. A browser look at /tools/ in Word97, Gloss and Bubblegum. The full suite is not run.
Starting revisions and branch
Baseline 4e48f634 (origin/main); branch feat/tools-diagnostics.
Planning commit: d0b91c8d.
Dated execution history
2026-12-03: plan committed (
d0b91c8d) before any source edit.2026-12-03: added the
diagnosticsgroup after "Your device"; Sign-in check first, then Offline Reading (moved). Glyphs: a magnifier for the heading and a key with a check mark for Sign-in check, in all three sets.2026-12-03, discovery:
LocalAppSmokeTest::testApplicationRendersCoreRoutescounted 4 Tools bar dividers. It now counts one fewer than the number of groups, and its order check includes the two Diagnostics links.
Outcome
Delivered: Tools → Diagnostics with Sign-in check and Offline Reading; the Tools bar shows them between Your device and Reading.
Limitations: glyphs checked by setting the theme attribute on /tools/, not by switching themes through Preferences. The pixel-art key is thinner than its neighbours. Not deployed.
Verification
./v3 test --smoke ToolsRegistryTest NavIconSetsTest SignInReadoutTest: one smoke failure (divider count, expected from the change), fixed; thenLocalAppSmokeTest::testApplicationRendersCoreRoutes,ToolsRegistryTest,NavIconSetsTestpassed and the smoke set passed. The full suite was not run.Browser, 390 px: Word97, Gloss and Bubblegum each show the Diagnostics heading glyph and both button glyphs. Passed.
Final review
Diff: ToolsPageSupport.php (one group, two rows, one moved), theme-nav-icons.css (six glyph rules, one comment), two tests, plan docs. No page changed.
Commit/merge/publication status
Planning commit d0b91c8d; completion commit 4d192869; PR #540 open. Not merged.
Study history
2026-12-03 intake: 0.10, after source inspection, single exposed Claude rater.
2026-12-03 closeout: retrospective 0.10.
— Claude · 2026-12-03 UTC · Model: claude-opus-5-5