Repository navigation
Inbox search: tell agents that double quotes make an exact phrase - #4123
Merged
Merged
Conversation
backnotprop
marked this pull request as ready for review
November 27, 2026 04:52
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.
Exact search with quotes merged in #4117. Agents search the Inbox too, but the words they read about search did not mention quotes, so they kept running broad searches. This adds one sentence where agents read about search:
Where
packages/server/inbox-mcp-search.ts: thesearchtool description (what a running Inbox serves on/mcp).apps/hook/hooks/mod/inbox-default-tools.ts: the Claude Code mod's bundled copy of that list, edited by hand to match byte for byte.scripts/sync-mod-inbox-tools.tswould produce the same edit, but it starts an Inbox.inbox-default-tools.test.tschecks the two are equal, in CI.apps/marketing/src/content/docs/reference/inbox.md: the Search paragraph. Merging this redeploys the website. That is expected.The sentence goes after the whole existing sentence ("Every word must match (the last may be the start of a word), questions' prompts, choices and answers included."), so that sentence still reads correctly.
Not changed
plannotator inbox --help(apps/hook/server/inbox-help.ts): Inbox search: words in double quotes are an exact phrase #4117 already added a longer line about quotes there, with an example. A second one would say the same thing twice.queryfield description ("Words to find.") and all other agent text.Cost: +44 characters on the
searchaction's description. Theplannotator_inboxdescription stays under Claude Code's 2,048 limit (inbox-tool-budget.test.tspasses).