Skip to content

Coding grep guidance fits its MCP description budget - #1410

Open
zlareb1 wants to merge 1 commit into
mainfrom
fix/ci-coding-profile-edit-routing
Open

zlareb1 wants to merge 1 commit into
mainfrom
fix/ci-coding-profile-edit-routing

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Related: #1238

Changelog category

  • CI Fix or Improvement

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

  • Wire changes and operator steps are absent.
  • Reverting restores the earlier wording and failing checks.

Tests

  • The profile assertions fail on the linked PR's base and on clean main. The description budget also fails on clean main.
  • python -m pytest -q tests/unit/test_mcp_coding_toolset.py tests/unit/test_mcp_listing_budget.py tests/unit/test_mcp_primer_order.py passes all 192 cases after the fix.
  • Local format, lint, and type checks pass. The full unit suite and remaining checks run in CI.

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

  • Local format, lint, type checks and focused tests pass.
  • Repository text describes behavior in plain technical English.
  • The commit is signed off.

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>
@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
loom-docs Ready Ready Preview Nov 25, 2026 4:40am UTC
loom-telemetry Building Building Preview Nov 25, 2026 4:40am UTC

Request Review

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant