Repository navigation
fix(find): refuse a platform that is really an intent (v2.8.1) - #212
Merged
Merged
Conversation
… slip (v2.8.1) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Why
one actions findtakes<platform> "<intent>"pairs as a flat argument list. When an agent gives one platform for several intents (find stripe "list charges" "list refunds" "create a refund"), every pair after the first slips by one, and the intents land in the platform slot.The Task Requests dashboard shows these over the last 30 days, all from the CLI: platforms like "list charges and payment intents", "get worksheet used range" and "create campaign budget". Each was sent to core, searched, and answered "nothing fit", so the agent learned nothing about what went wrong.
What
misplacedIntent(requests)(src/lib/find.ts): platform names are single kebab-case words, so a "platform" containing whitespace is an intent that slipped.find()refuses it with aFindArgsErrorbefore anything reaches core:SKILL.md,one guideand the README say to repeat the platform before every intent, even when they share one.package.jsonand the lockfile's two version fields, hand-edited per CLAUDE.md.The remote MCP and the local MCP package take
{ platform, intent }objects, so pairs can't slip there. A wrong platform name on any surface is handled in core (pica-v2 platform resolution, in progress).Test plan
tsc --noEmit,npm run buildmisplacedIntentflags only platforms with whitespace (google-calendarandgmailpass).resolveConfigmacOS tmpdir assertions, the same onmain.🤖 Generated with Claude Code