Repository navigation
fix: wpbullet ability selection regressions + 23 new test cases - #102
Merged
Merged
Conversation
Add 23 regression test cases from wpbullet GitHub issues (#51–#96) to core-abilities.test.js, covering direct tool invocation, plugin activate/deactivate, CMS identity, update checks, db-optimize with specific tables, revision cleanup, and conversational error diagnosis. Fix 3 ability selection issues: - update-check: expand description and keywords to capture "outdated", "need to be updated", "out of date" queries - plugin-list: clarify description excludes update checking - System prompt (react-agent.js + runner.js): add core/ namespace example to prevent LLM from prefixing core/ tools with wp-agentic-admin/ Test suite: 43 → 66 cases, 97% pass rate (64/66, 2 flaky from LLM non-determinism). Refs: #51, #53, #54, #58, #60, #66, #69, #73, #79, #82, #84, #92, #96 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This was referenced Mar 21, 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
What was fixed
update-checkdescription + keywordsplugin-listdescriptioncore/namespace example to prevent LLM from prefixingcore/get-editor-blockswithwp-agentic-admin/New test cases by source issue
core/get-environment-info,wp-agentic-admin/cron-list,wp-agentic-admin/error-log-read)Activate Gutenberg,deactivate generateblocks)which CMS and version?,what is my address URL)list plugins that need to be updated)optimize wp_options,optimize WooCommerce tables)how many post revisions?,revision-cleanup dry-run)Issues NOT covered (different problem type)
Test plan
npm run test:abilities -- --file tests/abilities/core-abilities.test.js→ 64/66 (97%)npx wp-scripts lint-json all changed files — clean🤖 Generated with Claude Code