Skip to content

Support qualified member queries for graph commands #2819

Description

@Widthdom

Evidence

  • cdidx callers NewGuid --path src/ --exclude-tests --json --limit 10 returns many Guid.NewGuid() call sites.
  • cdidx callers Guid.NewGuid --path src/ --exclude-tests --json --limit 10 returns zero rows.
  • cdidx callers HttpMcpTransport.NewGuid --path src/ --exclude-tests --json --limit 10 also returns zero rows.
  • cdidx inspect Guid.NewGuid and cdidx inspect HttpMcpTransport.NewGuid return no definitions, references, callers, or callees.

Impact

When graph queries are polluted by common names, there is no obvious way for a user or agent to disambiguate by type, namespace, receiver, or container. This slows down code search and makes it harder to audit graph results.

Requested behavior

Allow qualified graph queries such as Guid.NewGuid, System.Guid.NewGuid, HttpMcpTransport.RunEventStreamAsync, or container-qualified symbol names. If the index cannot support exact type resolution, expose a structured ambiguity response with candidate containers and a follow-up query form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions