XP Vibes Logo XPVibes.com
9:00 PM

v2.8.12 — the sticky XP Vibes OS taskbar is now injected automatically by the child theme (wp_body_open) and renders the live xpvibes_primary WordPress menu (Appearance -> Menus). This FSE header part is intentionally an empty hidden placeholder.

📄 WordPress Design Workflow
Address: https://xpvibes.com/workflows/wordpress-design-workflow/
Last modified: November 22, 2026

WordPress Design Workflow

● TRACK 02.4 — WORDPRESS FSE & AUTOMATED DEPLOY WORKFLOW

This website runs on a workflow designed for exactly one person — me. I design, code, and maintain XPVibes.com without a bloated page builder, without ever uploading a .zip by hand, and — most importantly — without an AI update silently overwriting the small edits I made last Tuesday inside WordPress. The whole pipeline lives on my Linux mini server, and the longest manual step in it is typing a single command into Discord.


What This Workflow Solves

Solo WordPress maintenance fails in three predictable ways, and each one has burned me before:

  • The “AI overwrote my manual edits” trap. If an agent edits from an old local copy, every tweak I made in WP-Admin since that copy was taken quietly vanishes on the next publish. My rule now: the deploy script always pulls live page content down to the server workspace before any AI edit begins, so the starting point is reality, not last week’s snapshot.
  • Page-builder bloat. Third-party builders stack megabytes of external CSS and scripts onto every visit. I use only native WordPress 7.1.5 Full-Site Editing (FSE) blocks — the standard content pieces built into WordPress itself — styled by one lean static stylesheet that lives on my own domain. No CDN round trips, no plugin page-builder tax.
  • Accidentally breaking mission-critical pages. My /privacy/ and /terms/ pages back the Google Cloud OAuth verification for my browser extension. Both are hard-locked: the deploy tooling refuses to write them without an explicit override flag, and an automated OAuth compliance check proves they are intact after every run. No script — including mine — can break them by accident.

Tools I Use

  • WordPress 7.1.5 + custom child theme (twentytwentyfour-xpvibes). A child theme is a customization layer that sits on top of an official theme, so parent-theme updates never erase my work. Mine is built on Twenty Twenty-Four with 100% native core Gutenberg blocks, custom Royale Noir / Windows 11 Mica block styles, an XP Projects Custom Post Type (a content type with its own fields and URLs), and two zero-build dynamic blocks that render live data without any JavaScript bundler.
  • Dual-engine deploy script (scripts/xpvibes_deploy.py on hp-ai-server). One Python script with two independent channels: Channel 1 pushes theme files over SSH (a secure remote shell, port 65002) using rsync — a copy tool that only transfers what changed — then flushes the WordPress object cache and purges Hostinger’s LiteSpeed page cache automatically. Channel 2 talks to the WordPress REST API with an Application Password (a revocable per-app credential), running two-way page sync (--pull-pages before edits, --sync-page to publish) and enforcing the automated --validate-blocks and --verify-oauth health gates.
  • Server Context Courier (Profile #6) + Atlas (!xpvibes). Courier’s XPVibes_Web_Theme profile indexes every theme PHP, JS, and CSS file into the CODE_CONTEXT map, so planning chats see the real theme. Atlas then lets me check deploy status, purge the cache, or grab a fresh theme backup .zip directly from a Discord message.

The reason all three tools hang together is a simple division of labor: the child theme decides what the site can look like, the deploy script decides whether a change is allowed to go live, and Courier plus Atlas make sure the AI planning the next change is looking at the site as it actually exists. No single tool has enough permission to wreck the whole pipeline alone.

Step-by-Step Process

Every content or theme change travels the same pipeline:

 +--------------------------------------------------+
 |  WP-ADMIN LIVE SITE  (xpvibes.com)               |
 +--------------------------+-----------------------+
        --pull-pages        v   (REST API, two-way)
 +--------------------------+-----------------------+
 |  HP-AI-SERVER WORKSPACE                          |
 |  Gemini plans the change; Qwen3.8 Flash (pi)     |
 |  edits theme PHP / page HTML on server disk      |
 +--------------------------+-----------------------+
                            v
 +--------------------------+-----------------------+
 |  xpvibes_deploy.py                               |
 |  SSH rsync :65002 -> Hostinger                   |
 |  LiteSpeed purge + WP object-cache flush         |
 |  gates: --validate-blocks  --verify-oauth        |
 +--------------------------+-----------------------+
                            v
 +--------------------------+-----------------------+
 |  LIVE XPVIBES.COM  +  ATLAS CONTEXT SYNC         |
 |  16-URL HTTP 200 sweep, Profile #6 recompile,    |
 |  fresh PROJECT/CODE_CONTEXT into #project-sync   |
 +--------------------------------------------------+
  1. Prototype in standalone HTML first. Before touching the theme, I build the visual layout as a single plain HTML file on the server and iterate quickly. Only once the design is right do I translate it into native Gutenberg blocks.
  2. Always run --pull-pages first. The deploy script downloads current live page content into the workspace so any manual WP-Admin tweaks I made since the last deploy are preserved before an agent edits a single line.
  3. Apply targeted updates via pi. Compiler-Mode prompts edit the theme or page files on the server. Content pages stay on pure prose block grammar — headings, lists, code blocks, nothing exotic — so WP-Admin never throws its “Attempt Recovery” block-parser warning at me.
  4. Deploy through the automated gates. Channel 1 syncs theme files and purges both caches; then the script sweeps 16 key URLs expecting HTTP 200 responses, re-validates block grammar on every editable surface, and runs the OAuth compliance checks on /privacy/ and /terms/. A red gate stops the publish.
  5. Recompile and sync context. Profile #6 regenerates the theme CODE_CONTEXT, and Atlas posts the updated context bundle to #project-sync — so the next planning conversation starts from what is live right now.

In practice the entire loop from idea to live site takes me twenty to thirty minutes, and the scary part of editing my own website with AI — the moment a publish could silently break a page I hand-tuned weeks ago — has simply stopped happening, because the gates catch it before the buttons press — a red gate has saved me from my own bad prompt at least three times this quarter, always before a visitor ever saw the difference.


Where This Connects Next

🟢 WordPress Gutenberg Page Content 🔒 Google OAuth HP-AI-Server-App Compliant