Historical note: this is a transfer planning record, not the current onboarding
path or recipe contract reference. Start with README.md,
architecture.md, and
recipe-contract.md for current docs.
WP Codebox is moving from personal ownership assumptions toward Automattic ownership. This plan inventories the current personal namespace assumptions and defines the mechanical update path once the target package namespace and repository URL are chosen.
This is a planning document, not a rename. The repository does not currently contain evidence that fixes the final npm scope or canonical Automattic repo URL, so shipped code should keep its current names until those decisions are explicit.
WP Codebox must remain a generic, consumer-agnostic WordPress sandbox substrate. Namespace transfer work must separate WP Codebox ownership and package naming from product-specific consumers.
- Generic WP Codebox contracts may name WP Codebox schemas, commands, package roles, plugin metadata, artifact shapes, and runtime backends.
- Product-specific consumers may appear only as external examples, migration inventory, or caller-owned integrations.
- Product, importer, compiler, benchmark, orchestration, company, and personal project names must not become WP Codebox package names, schema names, default runtime assumptions, or artifact contract fields.
- External consumer docs should describe those projects as callers that pass recipes, mounts, runtime dependencies, and apply adapters into WP Codebox.
- GitHub repository owner and URL: likely an Automattic-owned repository, but the exact canonical URL is not knowable from this repo alone.
- npm package scope: choose the public scope for all WP Codebox packages, such as an Automattic-owned scope or another approved WordPress-adjacent scope.
- Published compatibility policy: confirm whether any
@chubes4/*packages have been published and need deprecation, forwarding packages, or compatibility release notes. - WordPress plugin ownership metadata: choose final
Plugin URI,Author, and optionalAuthor URIvalues for the plugin header. - Release authority: decide whether npm packages, the WordPress plugin zip, and standalone CLI tarballs are published from one coordinated release or separate release lanes.
- External consumer migration policy: decide how callers update imports, fixture URLs, mounted repo metadata, and docs without making those consumers part of the WP Codebox contract.
packages/runtime-core/package.jsonnames@automattic/wp-codebox-core.packages/runtime-playground/package.jsonnames@automattic/wp-codebox-playgroundand depends on@automattic/wp-codebox-core.packages/cli/package.jsonnames@automattic/wp-codebox-cliand depends on the core and Playground packages under the@chubes4scope.- Root
package.jsondepends on all three workspace packages under the@chubes4scope. package-lock.jsonmirrors the same workspace package names.- TypeScript imports in
packages/cli/src,packages/runtime-playground/src, andscripts/*-smoke.tsimport@automattic/wp-codebox-coreor@automattic/wp-codebox-playground. - Compiled
packages/*/distfiles include the same package import strings and must be regenerated bynpm run buildafter a package rename.
homeboy.jsonuseshttps://github.com/Automattic/wp-codebox.gitasremote_url.packages/wordpress-plugin/wp-codebox.phpuseshttps://github.com/Automattic/wp-codeboxasPlugin URIand Automattic asAuthor.packages/wordpress-plugin/src/class-wp-codebox-artifacts.phpreferenceshttps://github.com/Automattic/wp-codebox/issues/176for generic verifier issue guidance.- README and package docs include
@chubes4install/import examples andgithub.com/Automattic/wp-codeboxissue URLs. - Generated-release packaging copies root and package
package.jsonfiles intodist/release/wp-codebox-cli, so release metadata inherits the package names from source package manifests.
README.mdnames@automattic/wp-codebox-cli,@automattic/wp-codebox-core, and@automattic/wp-codebox-playgroundin install, release, smoke, and import examples.README.mdalso links external example consumers such as wp-gym, world-of-wordpress, and wp-site-generator. These should remain external examples only; they are not WP Codebox namespace candidates.packages/cli/README.mdinstalls@automattic/wp-codebox-cliand references@automattic/wp-codebox-core.packages/wordpress-plugin/README.mduses ahttps://github.com/Automattic/wp-codebox/issues/29example issue URL in task context.examples/recipes/cookbook/theme-block-editor-theme/style.cssuses the personal WP Codebox repository asTheme URI.examples/recipes/cookbook/README.mdlinks external Extra Chill repositories as cookbook examples. Keep them framed as external fixtures/consumers, not as transfer targets.
tests/fixtures/task-input-normalization.jsonpreservesgithub.com/Automattic/wp-codeboxissue URLs in normalized task context.tests/smoke-wordpress-plugin.phpusesAutomattic/wp-codeboxrepo and PR URLs in apply-adapter fixtures, audit assertions, and pending-action payloads.tests/smoke-wordpress-plugin.phpmay include fake consumer plugin paths for component path behavior. Treat fixture names as external-consumer inventory; they should not define a WP Codebox contract.- Existing artifact schemas such as
wp-codebox/*/v1, command ids such aswp-codebox.agent-sandbox-run, and thewp-codeboxCLI binary are generic WP Codebox identifiers and should remain stable unless a separate API versioning decision says otherwise.
Use one generic WP Codebox package family under the approved target npm scope:
<target-scope>/wp-codebox-core<target-scope>/wp-codebox-playground<target-scope>/wp-codebox-cli
Use one canonical generic repository URL for WP Codebox docs, plugin metadata, release metadata, and issue links:
<target-repo-url>for repository links.<target-repo-url>/issues/<number>for WP Codebox issue references that remain meaningful after transfer.- External consumer repositories should keep their own URLs only where docs are explicitly showing external examples.
After the target npm scope and repository URL are confirmed:
- Update package names and internal workspace dependencies in
package.json,packages/cli/package.json,packages/runtime-core/package.json, andpackages/runtime-playground/package.json. - Run
npm installto refreshpackage-lock.jsonwith the new workspace package names. - Update TypeScript imports in
packages/cli/src,packages/runtime-playground/src, and smoke scripts from@chubes4/*to the target package names. - Update package-related README install, import, smoke, and release examples.
- Update
homeboy.jsonremote_urlafter the canonical repo URL is known. - Update the WordPress plugin header
Plugin URI,Author, and optionalAuthor URIto the approved Automattic values. - Update generic WP Codebox issue URLs in docs, source comments, tests, and fixtures to the canonical repo URL where the issue numbers transfer cleanly.
- Update generated fixture metadata such as
source_refwhen it is intended to describe WP Codebox source, while leaving external consumer refs intact. - Rebuild generated
distoutput withnpm run buildso compiled imports match the source package names. - Rebuild the WordPress plugin zip with
npm run package:wordpress-plugin. - Run
npm run smoke -- --group packageto verify npm packing and plugin zip contents after the rename. - Run
npm run checkbefore publishing or tagging a release candidate.
- If
@automattic/wp-codebox-*packages were already published, publish deprecation notices or compatibility packages according to the chosen npm migration policy. - If consumers pin
@chubes4imports, update those consumers in their own repos; do not add product-specific aliases to WP Codebox core. - If old artifact bundles contain
Automattic/wp-codeboxprovenance, preserve them as historical evidence. New generated artifacts should use the target repo URL once the transfer rename lands. - Keep schema identifiers under
wp-codebox/*/v1because they describe the product-neutral WP Codebox contract, not the repository owner.