Repository navigation
Conversation
Keep the literal-first route in compact mode and check the known-definition route in the longer profiles. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5 of 7 tasks
This branch has not been deployed
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.
Related: #1238
Changelog category
Changelog entry
None required.
Why
The coding MCP profile test expects wording that the grep tool description no longer uses. The coding grep description also exceeds the length of the core grep description. The profile test covers the literal-first editing guidance in each profile and checks the known-definition route in the longer profiles. Shorter wording keeps the guidance within the existing budget.
Scope and risk
The change covers the coding grep tool description and its profile test. Compact mode still leads with enclosing definitions, literal batches, and path filters. Full and standard mode also describe the known-definition route, related source, and coverage.
Compatibility, rollout and rollback
Tests
python -m pytest -q tests/unit/test_mcp_coding_toolset.py tests/unit/test_mcp_listing_budget.py tests/unit/test_mcp_primer_order.pypasses all 192 cases after the fix.AI assistance in the code
AI-generated (Codex). Verified the failures on both bases and ran the focused tests after the repair.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist