Skip to content

languages output should distinguish references from graph and expose capability gaps #3518

Description

@Widthdom

Summary

cdidx languages --capability references --json currently returns the same set as --capability graph, while languages --json only exposes symbol_extraction and graph_queries. That makes it hard to audit which languages have searchable text only, symbol extraction only, or reference edges.

Evidence

  • cdidx languages --capability graph --json and cdidx languages --capability references --json produce the same language list.
  • src/CodeIndex/Cli/QueryCommandRunner.cs filters by LanguageMatchesCapability, but the JSON contract only has symbol_extraction and graph_queries.
  • status --check --json can show indexed languages and graph-supported languages, but not a per-language unsupported reason or extraction gap.

Expected direction

Expose separate capability fields for symbols, references, and graph queries; include unsupported/gap reasons when available; and add filters for missing capabilities so audit runs can list search-only languages directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions