Skip to content

fd-knowledge-graph: summarize retrieval evidence routes in CLI output #227

@ronsse

Description

@ronsse

Context

  • retrieve query-history --json exposes full graph-safe context, including evidence_routes, but non-JSON output previously printed the context dict directly.
  • Operators need a bounded readable summary to inspect route decisions during POC validation without scrolling through every evidence property.

Stacked implementation

Safety

  • Human output does not expand evidence properties or raw context payloads.
  • It emits route ids, primary evidence, ordered evidence sources, counts, and warnings only.

Verification

  • ruff check . passed.
  • pytest -q passed: 196 tests, 1 existing requests dependency warning.
  • git diff --check passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions