Notes on how a WordPress core update round actually goes for a one-person agency that maintains its own themes and plugins on Roots Trellis and Bedrock sites: what gets tested, where the time goes, what breaks, and what is worth automating.
The flow assumes a Bedrock/Trellis setup, where core, themes and plugins are Composer dependencies and deploys run through Trellis. On a classic wp-admin-updated install, the RC setup and deploy steps differ; the testing and logging parts carry over.
Not a tool. A running record, one file per round, so the next round starts from numbers instead of memory.
- Set up a local test copy on the release candidate (backup the DB first; on Bedrock, core is moved with
wp core update --version=<RC>, not Beta Tester, and acomposer installresets it; see docs/bedrock-composer.md). - Grep each repo for the APIs the release changes (field guide and dev notes).
- Test per repo: lint and unit tests, pattern validation, editor pass (blocks valid after save and reload), front end, admin, console and
debug.log. - Fix what breaks, one branch per repo.
- Release: changelog, version bump,
Tested up to, PR with test results in the body, merge, tag after merge, publish. - Deploy: bump the Composer pins in the main-site and demo repos, run
trellis deploy, then verify in a real browser. - Log results and gaps (what was not tested), and re-run on the final RC.
The 7.2 round was driven by an AI coding assistant, mostly Claude Code, with Mistral Vibe on Ixian. The assistant proposed and ran the commands: DB backups, moving core to the RC, the local Sentinel login, syncing packages to the test sites with wp-ops, the grep pass, the Playwright scripts, PR bodies and release steps. The person approved each command, steered, and supplied the WordPress field guide and dev notes. The checks themselves are our own tools and standard ones (WP Pattern Sentinel, pt-cli, wp-ops, Playwright, PHPCS, PHPUnit). There is no scheduler and no unattended pipeline.
| Step | Who does what |
|---|---|
| Set up RC copy, DB backup | Claude Code proposes and runs the WP-CLI commands in the Trellis VM; the person approves |
| Local test login for Sentinel | Claude Code proposed a helper script that creates a local-only admin user after each production DB pull |
| Sync packages to the test sites | Claude Code runs wp-ops rsync-package-to-site (wp-ops is our own CLI) |
| Grep for changed APIs | Claude Code searches each repo against the field guide and dev notes the person supplies; the person reviews the hits |
| Static pattern check | pt-cli via composer check, seconds per repo |
| Pattern validation in the editor | WP Pattern Sentinel opens each pattern in a real block editor and flags invalid blocks (Elayne: ~20 min for 161 patterns), run by Claude Code |
| Editor and front-end passes | Claude Code writes and runs Playwright scripts per repo (mostly throwaway; tests/browser-check.js in Aviendha and Elayne Legal is kept); the person looks at the results |
| Lint and unit tests | PHPCS, PHPUnit, Plugin Check through composer lint / composer check, run by Claude Code |
| Fixes | Claude Code proposes, the person reviews, one PR per repo |
| Release | Claude Code drafts changelog, PR body and release steps; the person approves, merges and tags after merge. A candidate for templating (see the round notes) |
| Deploy | Composer pin bump, then trellis deploy, run by Claude Code on approval; the result is checked in a browser |
Rounds follow WordPress core releases, not client requests, and the person starts each one. The exact commands, step by step, are in docs/automation-details.md. Ideas for automating more (parallel Sentinel, shared scripts, release templating) are in docs/improvements.md.
Claude Code and Mistral Vibe do not improvise the checks. They run tools we built earlier, which is why a round fits in a day. The assistant decides which command to run and reads the output; the tool does the work.
| Tool | What it does | Where it saved time in the 7.2 round |
|---|---|---|
| WP Pattern Sentinel | Loads each block pattern into the real Gutenberg editor with Playwright, saves it and reports block validation errors and content mismatches. Reads Trellis credentials from the vault with --trellis and writes a JSON log. |
Validation that only a browser can do (the editor's save() rewrites markup in ways PHP can't predict): 161 Elayne patterns, Aludra's 53 and the other themes. Together with pt-cli and fixing drift, about 1.25 of the ~7.5 hours; the Playwright and editor passes took longer (~2.25 h). |
| wp-ops | Our CLI for the work between Trellis deploys (trellis ops add-on, also wp-ops). db-pull and files-pull copy production to local, rsync-package-to-site syncs a theme or plugin working copy into a site, and there are backups, update-snapshot / update-compare for before/after screenshots, checkout-check, monitoring and security scans. Every command is also an MCP tool, so Claude can call it directly. |
Syncing each unreleased theme and plugin to the demo and main-site copies, and DB backups and pulls, each as one command. These run in seconds, so the gain is consistency, not hours. |
| pt-cli | Static block-markup check of patterns and templates, no WordPress needed. | A seconds-long first pass before the 20-minute Sentinel run. |
What the AI adds on top is the glue: which backup or core-update command to run for this setup, the helper that gives Sentinel a local login after a DB pull, grep patterns from the field guide, throwaway Playwright scripts for the editor and front end, and the PR and release text. Without the ready-made tools those steps would be the slow part.
Both sites are Bedrock installs deployed with Trellis, so core, themes and plugins are Composer dependencies, not wp-admin updates. That changes how the RC is installed (wp core update, which a composer install resets), how packages reach production (release, bump the pin, trellis deploy) and which checks apply to hybrid versus FSE themes. Details in docs/bedrock-composer.md.
The flow above is for the Bedrock/Trellis sites. Client sites on plain shared hosting (classic WordPress, updated through wp-admin or WP-CLI, no Composer) work differently, and nothing in the rounds covers them. Three differences:
- Test locally, pinned to the host. Pull files and DB into a local Laravel Valet copy, pin the PHP version to the host's (
valet isolate php@8.x), and run the update there. PHP is what has to match, sometimes MySQL; the web server (Nginx locally, Apache on the host) has not caused a failed update. The exception is a plugin that writes its own.htaccessrules (page cache, WebP rewrites, security plugins), which gets rechecked on production. - Check the same way, by hand or script. Debug log, console, then before/after screenshots of key pages (
wp-ops update-snapshot/update-compare) and a manual click-through, including a test order and the contact form on shops. MailHog catches local mail. - Repeat on production. The update is applied again on the host, so production is not the tested artifact. There is no atomic rollback: take a full DB and files backup first, then check production again afterwards.
Limits that come with shared hosting: often no SSH or WP-CLI on the host (FTP and wp-admin only), licences bound to the production domain that refuse the local one (so those plugins can only be tested on production), and legacy page builders that need their own care after an update (for example regenerating the CSS cache). These rounds are started on request, not on a schedule, and are not a subscription. The Valet debugging setup and the FTP and PHP scripts for hosts without SSH are in docs/shared-hosting.md.
- WP Pattern Sentinel: validates block patterns in a real editor (see above).
- pt-cli: static block-markup check of theme patterns and templates, no WordPress install needed (
composer check). Fast first pass before Sentinel. - Playwright scripts for editor and front-end passes (per-repo
tests/browser-check.jswhere it exists). - Claude Code and Mistral Vibe: AI coding assistants that drive the round (commands, scripts, grep, PR drafts). A person approves and steers; Claude Code did the 7.2 round except Ixian, which was done with Vibe.
- wp-ops: our own CLI and MCP server for WordPress operations (DB backup and pull, package sync, audits); see above.
- Plugin Check, PHPCS, PHPUnit.
- Composer: core, themes and plugins are dependencies on Bedrock; pins and lockfiles decide what ships, and
composer lint/composer checkscripts run the checks in each repo. - Packagist: where released versions of our own themes and plugins are published (tags are immutable).
- WP Packages: Composer repository for third-party WordPress.org plugins and themes (
wp-plugin/*,wp-theme/*). - Trellis and Bedrock (both from Roots): server provisioning and deploys, and the Composer-based WordPress project structure.
| Round | Scope | Notes |
|---|---|---|
| WP 7.2 (Nov 26, 2026) | 10 repos, 4 plugins and 6 themes | ~11.5 h wall-clock, ~7.5 h on the round (minus lunch, dinner, cambridge-practice, social), mostly verification; 3 code bugs found |