Skip to content

Improve symbol matching in graph queries and enforce JSON output#189

Merged
m1rl0k merged 1 commit intotestfrom
multi-granular
Jan 19, 2026
Merged

Improve symbol matching in graph queries and enforce JSON output#189
m1rl0k merged 1 commit intotestfrom
multi-granular

Conversation

@m1rl0k
Copy link
Collaborator

@m1rl0k m1rl0k commented Jan 19, 2026

In context_search.py, force output_format="json" for internal repo_search to ensure consistent result parsing. In neo4j_graph.py, enhance all symbol-matching queries to also support suffix matching for symbols stored with full module paths, improving accuracy for class and method lookups.

In context_search.py, force output_format="json" for internal repo_search to ensure consistent result parsing. In neo4j_graph.py, enhance all symbol-matching queries to also support suffix matching for symbols stored with full module paths, improving accuracy for class and method lookups.
@m1rl0k m1rl0k merged commit 8e69a7d into test Jan 19, 2026
1 check passed
@augmentcode
Copy link

augmentcode bot commented Jan 19, 2026

🤖 Augment PR Summary

Summary: Improves context search result consistency and Neo4j graph symbol resolution.

Changes:

  • Forces internal repo_search calls in context_search.py to use output_format="json" to keep downstream parsing stable.
  • Updates Neo4j graph queries to match symbols by suffix as well as exact/prefix, so unqualified names can resolve to fully-qualified module-path symbols.

Technical Notes: Adds ENDS WITH checks and threads a symbol_suffix parameter through direct and transitive traversal helpers for callers/callees/dependencies/cycles.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

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