Remove legacy Data Machine Docs Agent bundles#136
Merged
Conversation
This was referenced Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.agent.jsonpackages as Docs Agent's sole executable instruction authority.maintain-docs.ymlon immutable native package selection and WP Codebox's generic runner/publication boundary.Fixes #124.
Architecture
Docs Agent no longer carries two execution formats. The canonical lanes are:
Each lane maps directly to one immutable native package. Docs Agent owns package selection and workspace-editing behavior; WP Codebox owns execution, verification, commit, push, and pull-request publication.
Compatibility
This intentionally removes the legacy Data Machine extension paths under
bundles/*/{manifest.json,flows,pipelines,memory}. Direct consumers of those files must migrate to the correspondingbundles/*/native/*.agent.jsonpackage.Consumers calling
.github/workflows/maintain-docs.ymlalready use native packages and require no migration. Product-level workflow inputs remain unchanged.How to test
php tests/validate-docs-agent-packages.php.php tests/validate-external-native-package-sources.php.php tests/repair-docs-links-smoke.php.Automattic/wp-codeboxat tagv0.12.14into a siblingwp-codeboxdirectory, then runWP_CODEBOX_DIR=../wp-codebox php tests/validate-wp-codebox-run-agent-task-contract.php.Automattic/agents-apiinto a siblingagents-apidirectory, then runAGENTS_API_DIR=../agents-api php tests/native-agent-import.php.AI assistance