Complete native Docs Agent package coverage#118
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
v0.3.0release.wp_agent_import_runtime_bundles(), verifies native registration and the imported workspace-write gate, and resolves every package through the default native chat handler.Docs Agent Testspull-request and push gate, which runs structural validation, link repair, and the native importer test against a pinned public Agents API commit.Related
How to test
Automattic/docs-agent.php tests/validate-docs-agent-bundle.phpand confirm it reportsDocs Agent bundle validation passed.php tests/repair-docs-links-smoke.phpand confirm it reportsDocs link repair smoke test passed.https://github.com/Automattic/agents-api.git, check out5addf598167ec17821954b0f9aa3a9b160b7e36e, then runAGENTS_API_DIR=/path/to/agents-api php tests/native-agent-import.php. Confirm all 36Docs Agent native package importassertions pass. The test uses Agents API's maintained pure-PHP harness, invokes the real importer and default chat handler, and intentionally stops before a model turn because provider/model selection belongs to the caller.Docs Agent Testscheck runs these same three commands. The gate checks out Docs Agent at the event SHA and the public Agents API source at5addf598167ec17821954b0f9aa3a9b160b7e36e; the external checkout uses the workflow's explicitly read-onlygithub.tokenand read-only workflow permissions.AI assistance