Skip to content

feat(query): add query classification handlers and metrics/entry points#26

Open
Nurysso wants to merge 2 commits into
mainfrom
dev
Open

feat(query): add query classification handlers and metrics/entry points#26
Nurysso wants to merge 2 commits into
mainfrom
dev

Conversation

@Nurysso

@Nurysso Nurysso commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Complete router handler implementations with structured query routing:

  • Add Usage prefix pattern to classifier ("usage of X", "uses of X")
  • Add understandingPattern for "how does X work" queries
  • Implement handleUsage with kb_index lookup and source extraction
  • Implement handleMetrics from kb_metrics.json (project summary + top 10)
  • Implement handleEntryPoints from kb_entry_points.json
  • Implement buildRouterCallGraph from CallGraphRef edges
  • Add bareID normalization for node type prefixes (func_, method_, type_)
  • Add parseLocation, extractSignature for file+line source extraction
  • Add dedupe helper for kb_index deduplication
  • Add stripCommandPrefix for cleaner entity extraction
  • Replace KBIndex with types.KBIndices across codebase
  • Add debug logging for each handler and router path

Version: v0.7.0

@Nurysso Nurysso added this to the v0.7.0 milestone Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant