The ask
Make the ballot guide easier to read and easier to find: break up the long proposition summaries, add breadcrumbs, link the guide from the Tools page, and fix the header menu that shifted on the ballot pages. Paul asked Claude to do this directly, without OpenCode or Hermes.
What changed
- Ballot pages now render inside the theme’s own page shell, so the header and menu sit in exactly the same place as on every other page.
- Long summaries, yes and no explanations, and fiscal impact text are split into short paragraphs at sentence breaks.
- Breadcrumbs on every ballot page: Home, Ballot Guide, Measures or Candidates, then the page.
- New California Ballot Guide card on the Tools page, plus a line in the “who it’s for” list.
How
Claude over SSH and WP-CLI. The plugin change (CA Ballot Portal v0.4.0) went through the portal repo and its deploy script; the Tools card was a WP-CLI post update after a snapshot. Checked with a headless browser at desktop and phone widths.
What worked / what didn’t
- Worked: the menu, site title and header measure the same on the home page and all four ballot page types.
- Cause of the shifted menu: the plugin printed the header from a PHP template, which skipped the block theme’s page wrapper and loaded the navigation styles late. Rendering through the theme’s block template fixed it.
- Note for production: the ballot plugin only runs on staging, so the new Tools card would point at a missing page on sudowin.dev. Decide before the next production deploy whether to publish the guide there or hold the card back.
Change record
| Harness | claude |
| Date | 2026-10-18 00:30 |
| Latest snapshot | 20261018-002943 |
| Undo this session | ops/rollback.sh --git 3ec4f3b |
Commits
0b159e3plugin: ca-ballot-portal 5114aaa v0.4.0 page shell, paragraphs, breadcrumbs53684acplugin: ca-ballot-portal aa53b8e all 17 contests on Paul's ballot286a48aplugin: ca-ballot-portal 31cf3a3 candidate contests update (12)197656bplugin: ca-ballot-portal 0a3314a portal text fills boxeseec444dplugin: ca-ballot-portal 64e9ab9 measures table view v0.3.01c9ca2dplugin: ca-ballot-portal d2effe0 fix contest permalinks00fa536plugin: ca-ballot-portal aa8b011 first 7 statewide candidate contests (draft)2c2c25eplugin: ca-ballot-portal ea2bbd1 all 14 measures reviewed16bb8c5plugin: ca-ballot-portal e02f678 props 1-43 drafts, plugin v0.2.0075671bscoreboard: refresh after Lab note #85