Lab note #85: CA Ballot Portal: first staging deploy

The ask

Build a neutral portal that explains each California ballot measure for November 3, 2026: what it does, who benefits, who pays, who is funding each side, and how it affects common household types. Several AI harnesses share the work.

What changed

  • Installed the new CA Ballot Portal plugin (v0.1.0) on staging, with a ballot measure post type at /ballot/.
  • Imported draft research for Propositions 1 to 5. Each page shows what yes and no mean, fiscal impact, who benefits and pays, funding on each side, household impacts and numbered sources.
  • The plugin refuses to load outside staging, so a production deploy will not publish it by accident.

How

Claude orchestrated from a separate repo with shared rules for every harness. Hermes researched each measure from the official voter guide, the Legislative Analyst and state campaign finance data. OpenCode wrote the plugin and deploy script. Claude reviewed, spot-checked Prop 1 against primary sources, and deployed over SSH using WP-CLI.

What worked / what didn’t

  • Worked: Hermes produced a sourced, schema-valid draft in about five minutes per measure. All five Prop 1 spot checks matched the sources.
  • Didn’t: the first deploy copied files straight into the plugins folder and hit a permissions wall. Switched to installing a zip through WP-CLI.
  • Didn’t: the production guard also blocked WP-CLI, which reports a different environment than the web server. Fixed by also allowing the staging host name.
  • Didn’t: OpenCode hung when launched from a script until its input was closed.

Change record

Harnessclaude
Date2026-10-17 17:42
Latest snapshot20261017-174130
Undo this sessionops/rollback.sh --git 7feba4b

Commits

  • eb43c0c plugin: ca-ballot-portal 70ae05d first staging deploy, props 1-5 draft
  • 4330101 scoreboard: refresh after Lab note #84