codebase-memory-mcp icon indicating copy to clipboard operation
codebase-memory-mcp copied to clipboard

`/api/layout` does not expose edge `confidence`

Open avigdorsky opened this issue 2 months ago • 2 comments

Severity: medium.

CALLS edges carry confidence, strategy, candidates, via via query_graph, but the layout endpoint returns only {source, target, type} — 0 of ~208 000 edges carry confidence. The graph UI therefore cannot distinguish an LSP-resolved call from a suffix_match guess, and neither can any HTTP consumer.

Ask: include confidence and strategy on layout edges, ideally with a min_confidence query parameter.


Observed on v0.10.8 (build 996bad5fe6fb), macOS arm64, Python monorepo (~36k nodes / ~179k edges). Happy to provide a minimal reproduction repo if useful.

avigdorsky avatar Sep 09 '26 07:09 avigdorsky

Thank you for identifying the difference between query_graph evidence and layout output. Exposing confidence/strategy and choosing a filter contract need a maintainer API decision. There is no new implementation status to report yet.

DeusData avatar Oct 19 '26 22:10 DeusData

Thank you for identifying the missing layout-edge evidence. The confidence/strategy fields and filtering contract still need maintainer guidance. Sorry for the delay; I’ll follow up soon.

DeusData avatar Oct 25 '26 17:10 DeusData