Skip to content

add resolve mcp tool for identifier-shaped lookups#137

Merged
HumanBean17 merged 1 commit into
masterfrom
feat/resolve-tool
May 15, 2026
Merged

add resolve mcp tool for identifier-shaped lookups#137
HumanBean17 merged 1 commit into
masterfrom
feat/resolve-tool

Conversation

@HumanBean17
Copy link
Copy Markdown
Owner

Summary

This PR implements PR-RESOLVE-1 from plans/PLAN-RESOLVE-TOOL.md: a fifth MCP tool resolve(identifier, hint_kind?) for strict identifier-shaped lookups (symbol, route, client) with statuses one, many, and none; closed ResolveReason in java_ontology.py; generators, dedupe by node id, ranking, and K=10 cap in mcp_v2.py; MCP registration and updated _INSTRUCTIONS (five tools) in server.py. Pre-resolve fallback wording on search/describe is unchanged; PR-RESOLVE-2 will sweep descriptions.

References: plans/PLAN-RESOLVE-TOOL.md (PR-RESOLVE-1), propose/RESOLVE-TOOL-PROPOSE.md.

ontology_version is unchanged (tool surface only; no graph schema changes).

Test plan

  • .venv/bin/ruff check .
  • .venv/bin/python -m pytest tests/test_mcp_v2.py -v -k resolve
  • PATH="$(pwd)/.venv/bin:$PATH" .venv/bin/python -m pytest tests -v — 450 passed, 10 skipped

Made with Cursor

Ship PR-RESOLVE-1: ResolveReason in java_ontology, resolve_v2 with
generators/dedupe/ranking/cap, MCP registration, fixtures and contract tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
@HumanBean17 HumanBean17 merged commit 7f48c5a into master May 15, 2026
1 check passed
@HumanBean17 HumanBean17 deleted the feat/resolve-tool branch May 23, 2026 16:22
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