Skip to content

Client consistency audit: verify all clients use accelerated query endpoints #280

@aaronsb

Description

@aaronsb

Context

ADR-201 Phase 5 introduced GraphFacade (topology acceleration) and batch hydration (grounding/confidence caching). The API routes now use these optimized paths, but four client applications need verification to ensure they're calling the right endpoints with the right parameters.

This is the biggest architectural change to the query layer so far. All clients should benefit from the acceleration without any client-side changes (the optimization is server-side), but we need to verify:

  • Clients request include_grounding: true where appropriate
  • Clients use the batch-enabled endpoints (not deprecated ones)
  • Response shapes haven't changed in ways that break client parsing

Clients to Audit

Web workstation (web/src/api/client.ts)

  • Inventory all query-related API calls
  • Verify search, connect, related endpoints hit the accelerated routes
  • Check response parsing for grounding/confidence fields

MCP server

  • Inventory tool implementations that make graph queries
  • Verify grounding parameters are passed through
  • Check for any hardcoded endpoint paths

CLI (cli/src/)

  • Inventory kg search, kg search connect, kg concept etc.
  • Verify they request grounding and use batch-enabled endpoints
  • Check response display code handles new fields

FUSE driver (fuse/)

  • Inventory graph queries made by the filesystem layer
  • Verify query patterns are consistent with API changes

Deliverable

  • Document findings per client (what's correct, what needs updating)
  • Apply fixes where needed
  • Update .claude/todo-adr-201-graph-accel.md with results

References

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