Track generated AGENTS.md plugin outputs - #119
Merged
Merged
Conversation
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
AGENTS.mdfiles already generated and verified by the plugin buildpnpm buildleave the publication workspace unchangedCloses #117.
Root cause
The build and verification scripts generate and require these package files, and repository documentation advertises them, but only the OpenClaw equivalent was tracked.
git diffdoes not report untracked files, so the scoped drift check passed while WP Codebox correctly rejected publication after detecting the eight additions in its complete workspace snapshot.Diagnostic run: https://github.com/Automattic/build-with-wordpress/actions/runs/29643902298
How to test
pnpm install --frozen-lockfile.pnpm build.pnpm verify.git diff --exit-codeand confirm the build leaves no tracked changes.git ls-files plugins/amp/AGENTS.md plugins/devin/AGENTS.md plugins/junie/.junie/AGENTS.md plugins/kilo-code/AGENTS.md plugins/opencode/AGENTS.md plugins/qodo/AGENTS.md plugins/roo-code/AGENTS.md plugins/zed/AGENTS.mdand confirm all eight paths are tracked.Compatibility
AI assistance