You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**[OpenCode](https://opencode.ai)**, **[Claude Code](https://docs.anthropic.com/en/docs/claude-code)**, or **[Studio Code](https://developer.wordpress.com/studio/)**| AI coding agent runtime | Selected via `--runtime`|
178
182
|**[Data Machine](https://github.com/Extra-Chill/data-machine)**| Memory (SOUL/USER/MEMORY.md), self-scheduling, AI tools, Agent Ping | No — wp-coding-agents composes on top of DM |
179
183
|**[Data Machine Code](https://github.com/Extra-Chill/data-machine-code)**| Workspace management, GitHub integration, git operations | Installed with Data Machine |
184
+
|**[Homeboy](https://github.com/Extra-Chill/homeboy)**| Optional developer power layer for project status, component-aware checks, review loops, and WordPress extension verification |`--with-homeboy`|
180
185
|**[Kimaki](https://kimaki.xyz)**, **[cc-connect](https://github.com/nichochar/cc-connect)**, or **[opencode-telegram](https://github.com/grinev/opencode-telegram-bot)**| Chat bridge (Discord, multi-platform, or Telegram) |`--no-chat`|
181
186
|**SessionStart hook**| Syncs Data Machine agents into CLAUDE.md on every session (Claude Code and Studio Code) | Always installed |
182
187
|**[WordPress agent skills](https://github.com/WordPress/agent-skills)**| WP development patterns (cloned at install) |`--no-skills`|
@@ -238,6 +243,51 @@ Data Machine is the substrate wp-coding-agents composes on top of — memory, sc
238
243
- GitHub integration (issues, PRs, repos)
239
244
- Policy-controlled git operations (add, commit, push with allowlists; primary checkout is read-only by default)
240
245
246
+
## Optional Homeboy Layer
247
+
248
+
`--with-homeboy` adds Homeboy as an optional, recommended developer power layer. Homeboy is not bundled or vendorized by wp-coding-agents; setup verifies or installs the external Homeboy CLI, verifies the WordPress extension, then exposes its availability to Data Machine Code so composed agent instructions can include Homeboy workflows.
249
+
250
+
The setup model is intentionally specific:
251
+
252
+
```text
253
+
WordPress site root
254
+
= Homeboy project
255
+
256
+
DMC workspace primary checkouts
257
+
= Homeboy components attached to that project
258
+
259
+
DMC worktrees (`repo@branch`)
260
+
= task-specific ephemeral worktrees skipped by default
261
+
```
262
+
263
+
The site root is a Homeboy project, not a component, so setup does not create `homeboy.json` in the WordPress root. Primary Data Machine Code workspace checkouts that already contain `homeboy.json` can be attached as project components. Per-branch `@` worktrees are skipped by default because they are temporary task checkouts derived from the primary component repos.
264
+
265
+
When enabled, setup should leave you with:
266
+
267
+
- A Homeboy project for the WordPress site, derived from the site ID, domain, and base path
268
+
- Attached Homeboy components for eligible DMC workspace primary checkouts
269
+
- WordPress Homeboy extension installed and verified
270
+
- Data Machine Code's `datamachine_code_homeboy_available` option synced with CLI availability
271
+
-`AGENTS.md` recomposed so the conditional Homeboy guidance appears for coding agents
272
+
273
+
Verification commands:
274
+
275
+
```bash
276
+
homeboy --version
277
+
homeboy extension list
278
+
homeboy project show <project-id>
279
+
homeboy project components list <project-id>
280
+
wp option get datamachine_code_homeboy_available --path=/path/to/wordpress
Copy file name to clipboardExpand all lines: skills/upgrade-wp-coding-agents/SKILL.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ compatibility: "Requires a wp-coding-agents repo clone and an existing setup. Wo
10
10
11
11
By default it also updates the setup-installed Data Machine plugins (`data-machine`, `data-machine-code`) to their latest version tags when those plugins are git checkouts. Use `--skip-plugins` to preserve the previous no-plugin-update behavior.
12
12
13
+
If the install was created with the optional Homeboy layer, upgrade should preserve that model: the WordPress site root is the Homeboy **project**, primary Data Machine Code workspace checkouts are attached **components**, and `repo@branch` worktrees remain skipped by default. Homeboy is external to wp-coding-agents; do not vendor it or treat the site root as a component during upgrade guidance.
14
+
13
15
## When to use
14
16
15
17
The user says something like:
@@ -46,13 +48,26 @@ The user says something like:
46
48
```
47
49
Passing output (`OK — ... scenario(s)`) proves `dm-context-filter` still strips the Kimaki-only prompt sections the Data Machine agent should not see. If this fails after a Kimaki upgrade, fix the filter or refresh snapshots intentionally before calling the upgrade healthy.
48
50
51
+
7.**Verify Homeboy when the install uses it.** Only do this when the user enabled Homeboy or `AGENTS.md` contains the Homeboy section. Run the project/component checks and pass failures through clearly:
52
+
```bash
53
+
homeboy --version
54
+
homeboy extension list
55
+
homeboy project show <project-id>
56
+
homeboy project components list <project-id>
57
+
wp option get datamachine_code_homeboy_available --path=/path/to/site
For WordPress Studio installs, use `studio wp option get datamachine_code_homeboy_available` and `studio wp datamachine memory compose AGENTS.md`. Do not create `homeboy.json` in the site root to "fix" a missing project; that confuses a Homeboy project with a component.
61
+
49
62
Run `./upgrade.sh --help` for scope flags (`--plugins-only`, `--skip-plugins`, `--kimaki-only`, `--skills-only`, `--agents-md-only`, `--repair-opencode-json`, etc.) and the full list of what the script touches and never touches.
50
63
51
64
## Never do
52
65
53
66
-**Never restart the chat bridge automatically.** It kills active sessions including the one you're talking in.
54
67
-**Never skip the dry-run** on a live install.
55
68
-**Never touch user state:**`opencode.json` (the script does additive-only repair), the WordPress DB, nginx, SSL certs, `~/.kimaki/` auth state and OAuth tokens, the DM workspace cloned repos, or agent memory files (`SOUL.md` / `MEMORY.md` / `USER.md`).
69
+
-**Never vendor Homeboy** into wp-coding-agents or scaffold `homeboy.json` in the WordPress site root. The site root is a Homeboy project; component metadata belongs in attached primary workspace repos.
70
+
-**Never auto-attach `@` worktrees** as Homeboy components during upgrade. They are task-specific DMC worktrees and are skipped by default.
56
71
-**Never hardcode workspace paths** (`/var/lib/...`, `/opt/...`, `/var/www/...`, `/root/...`) in commands you give the user. Use `git rev-parse --show-toplevel`, `$(npm root -g)`, `$KIMAKI_DATA_DIR`, and the script's auto-detection.
Copy file name to clipboardExpand all lines: skills/wp-coding-agents-setup/SKILL.md
+60-3Lines changed: 60 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,15 +45,27 @@ This skill is for the **local agent** (Claude Code, Cursor, etc.) assisting with
45
45
> -**Telegram** — Your agent gets a Telegram bot (via @grinev/opencode-telegram-bot). OpenCode only.
46
46
> -**No chat bridge** — Run the agent manually via SSH or terminal when needed."
47
47
48
-
### Question 4: Agent Name
48
+
### Question 4: Homeboy Developer Layer
49
+
50
+
> "Do you want the optional **Homeboy developer layer** enabled with `--with-homeboy`?
51
+
>
52
+
> - Recommended for developers who want repo-aware checks, project status, review loops, and WordPress extension verification.
53
+
> - Homeboy is an external CLI; wp-coding-agents does not bundle or vendor it.
54
+
> - Setup treats the WordPress site root as the Homeboy **project**, not a component.
55
+
> - Data Machine Code primary workspace checkouts become attached Homeboy **components** when they already have `homeboy.json`.
56
+
> - Data Machine Code `repo@branch` worktrees are skipped by default because they are task-specific."
57
+
58
+
If they say yes, add `--with-homeboy` to the setup command. Do not imply this is required for wp-coding-agents; it is a recommended power layer for code-heavy installs.
59
+
60
+
### Question 5: Agent Name
49
61
50
62
> "What would you like to name your agent? This becomes the agent slug used by Data Machine for identity and memory files.
51
63
>
52
64
> Default: derived from your site domain (e.g., `example` for example.com, `my-site` for my-site.local)"
53
65
54
66
Maps to `--agent-slug <name>`. If the user is happy with the default, skip this flag.
55
67
56
-
### Question 5: Server/Local Details
68
+
### Question 6: Server/Local Details
57
69
58
70
**For VPS installs:**
59
71
@@ -66,7 +78,7 @@ Maps to `--agent-slug <name>`. If the user is happy with the default, skip this
66
78
67
79
> "Where is WordPress installed on your machine? (e.g., `~/Studio/my-wordpress-website`, `/Applications/MAMP/htdocs/wordpress`)"
68
80
69
-
### Question 6: For Existing WordPress
81
+
### Question 7: For Existing WordPress
70
82
71
83
If they chose existing WordPress (VPS or local):
72
84
@@ -90,6 +102,7 @@ Based on their answers, construct the appropriate command:
90
102
|**Local + Claude Code + DM**|`EXISTING_WP=~/Studio/my-site ./setup.sh --local --runtime claude-code`|
91
103
|**Local + Studio Code + DM**|`EXISTING_WP=~/Studio/my-site ./setup.sh --local --runtime studio-code`|
Add `--root` to run the agent as root (default is dedicated service user).
103
116
Add `--no-skills` to skip WordPress agent skills.
104
117
Add `--agent-slug <slug>` to override the Data Machine agent slug.
118
+
Add `--with-homeboy` when the user wants the optional Homeboy developer power layer. Homeboy remains external; setup should verify or install the CLI and WordPress extension, create/update a Homeboy project for the WordPress site root, attach eligible Data Machine Code primary workspace checkouts as components, skip `@` worktrees by default, sync `datamachine_code_homeboy_available`, and recompose `AGENTS.md`.
105
119
106
120
**WordPress Studio note:** If the site runs under WordPress Studio, prefix the command with `WP_CMD="studio wp"` so setup.sh uses Studio's WP-CLI wrapper instead of bare `wp`. Studio is auto-detected when `studio` CLI and `STUDIO.md` are both present.
If either `test -f` command fails, restart/re-run setup or upgrade before trusting a new OpenCode session. If the log contains a warning about the persistent plugin source dir or required OpenCode plugins, `dm-context-filter.ts` is not guaranteed to be active after restart.
247
261
262
+
### Homeboy (`--with-homeboy`)
263
+
264
+
If setup used `--with-homeboy`, verify the optional developer layer explicitly:
265
+
266
+
```bash
267
+
homeboy --version
268
+
homeboy extension list
269
+
homeboy project show <project-id>
270
+
homeboy project components list <project-id>
271
+
```
272
+
273
+
Then verify Data Machine Code can see Homeboy and agent instructions were recomposed:
274
+
275
+
**VPS or standard WP-CLI:**
276
+
```bash
277
+
wp option get datamachine_code_homeboy_available --path=/path/to/site
studio wp option get datamachine_code_homeboy_available
284
+
studio wp datamachine memory compose AGENTS.md
285
+
```
286
+
287
+
Expected model:
288
+
289
+
```text
290
+
WordPress site root
291
+
= Homeboy project
292
+
293
+
DMC workspace primary checkouts
294
+
= Homeboy components attached to that project
295
+
296
+
DMC worktrees (`repo@branch`)
297
+
= task-specific ephemeral worktrees skipped by default
298
+
```
299
+
300
+
Do not create `homeboy.json` in the WordPress site root. Do not attach `repo@branch` worktrees by default. Do not modify external component repos unless the user explicitly asks for a Homeboy adoption flow in that repo.
301
+
248
302
### Site Reachable (VPS)
249
303
250
304
```bash
@@ -325,6 +379,8 @@ Use when the user says things like:
325
379
- "Add Claude Code / OpenCode to my existing WordPress site"
326
380
- "Set up a local AI agent on my machine"
327
381
- "Install wp-coding-agents with WordPress Studio"
382
+
- "Set it up with Homeboy"
383
+
- "Enable repo-aware Homeboy workflows"
328
384
329
385
**Do NOT use** for ongoing WordPress management — that's the agent's job after installation.
330
386
@@ -341,3 +397,4 @@ Use when the user says things like:
341
397
-**Telegram bot won't respond:** Verify `TELEGRAM_BOT_TOKEN` and `TELEGRAM_ALLOWED_USER_ID` are set, check that both `opencode-serve` and `opencode-telegram` services are running
342
398
-**Data Machine not working:** Verify plugin active, run `wp action-scheduler run --allow-root` (VPS) or `studio wp action-scheduler run` (local)
343
399
-**Runtime not found:** Check available runtimes with `ls runtimes/`, or install one (`npm install -g opencode-ai` or `npm install -g @anthropic-ai/claude-code`)
400
+
-**Homeboy not available in AGENTS.md:** Verify `homeboy --version`, confirm `homeboy extension list` includes the WordPress extension, update `datamachine_code_homeboy_available`, then re-run `wp datamachine memory compose AGENTS.md` or `studio wp datamachine memory compose AGENTS.md`
0 commit comments