Repository navigation
Description
Pre-flight checks
- I have checked the Troubleshooting section in the README
What happened?
When querying Python callables through Graphify MCP, short callable labels resolve correctly, but qualified Python symbols can silently fall back to unrelated semantic matches.
The tool still returns a successful response with resolved: semantic, even though the returned node is unrelated to the requested symbol.
This can mislead agent workflows that use the result for architecture analysis, callers, tests, dependencies, or change-impact analysis.
Expected behavior:
Qualified Python symbols should either resolve to the intended callable, return explicit candidates, or return an unresolved/ambiguous result.
Actual behavior:
Qualified names can resolve to an unrelated semantic node while still appearing successful.
Steps to reproduce
Repository:
chapaevv123/miden-preflight
Indexed commit:
d93970586a74aaef96a4e41b8bf00c15da6a4fd8
1. Query:
graphify_node(symbol="main()", strict_calls=true)
This correctly resolves to:
src/miden_preflight/cli.py
main()
2. Query:
graphify_node(symbol="miden_preflight.cli.main", strict_calls=true)
This returns an unrelated test symbol while reporting `resolved: semantic`.
3. Query:
graphify_node(symbol="scan()", strict_calls=true)
This correctly resolves to:
src/miden_preflight/engine.py
scan()
4. Query:
graphify_node(symbol="miden_preflight.engine.scan", strict_calls=true)
This returns an unrelated GitHub Actions workflow node while reporting `resolved: semantic`.
The repository package entry point is declared in:
pyproject.toml
miden_preflight.cli:mainError output or graph output
Correct short-name resolutions:
main()
→ src/miden_preflight/cli.py
→ main()
scan()
→ src/miden_preflight/engine.py
→ scan()
Incorrect qualified-name resolutions:
miden_preflight.cli.main
→ unrelated test symbol
→ resolved: semantic
miden_preflight.engine.scan
→ unrelated .github/workflows/preflight.yml node
→ resolved: semantic
The important part is that both incorrect lookups return success rather than an unresolved or ambiguous result.
Graphify version
No response
Operating System
Windows
Python Version
3.11
Installation Method
uv tool install (recommended)
Additional Environment Details
Graphify MCP connected through Codex.
Repository tested:
chapaevv123/miden-preflight
Indexed commit:
d93970586a74aaef96a4e41b8bf00c15da6a4fd8
Environment:
Windows 10
Python 3.11
Codex MCP client
No provider API keys or special environment variables are required to reproduce this issue.
The issue was reproduced repeatedly against the same indexed repository state.
Additional context
I reproduced this against a real indexed repository and cross-checked the returned nodes against the source at the exact indexed commit.
The key concern is not that semantic search is fuzzy, but that qualified symbol lookups can return an unrelated node while still appearing successful.
A short GIF reproduction is attached above.
Activity
github-actions commentedon Oct 12, 2026
Thanks for opening this issue, @chapaevv123. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
fix(serve): refuse the dotted-symbol same-file tie in _tier_refusal (G…
fix(serve): resolve dotted Python symbols by module path (#4366)
fix(serve): refuse the dotted-symbol same-file tie in _tier_refusal (#…
safishamsi commentedon Oct 12, 2026
Fixed in v0.9.88 (
graphifyy 0.9.88on PyPI) via #4367.fix(affected): resolve the reference forms explain already accepts
fix(affected): resolve the reference forms explain already accepts