Sienna Meridian Satterwhite
c213d74620
feat: code search tool + breadcrumb context injection + integration tests
search_code tool:
- Server-side tool querying sol_code OpenSearch index
- BM25 search across symbol_name, signature, docstring, content
- Branch-aware with boost for current branch, mainline fallback
- Registered in ToolRegistry execute dispatch
Breadcrumb injection:
- build_context_header() now async, injects adaptive breadcrumbs
- Hybrid search: _analyze → wildcard symbol matching → BM25
- Token budget enforcement (default outline + relevant expansion)
- Graceful degradation when OpenSearch unavailable
GrpcState:
- Added Option<OpenSearch> for breadcrumb retrieval
- code_index_name() accessor
Integration tests (6 new, 226 total):
- Index + search: bulk index symbols, verify BM25 retrieval
- Breadcrumb outline: aggregation query returns project structure
- Breadcrumb expansion: substantive query triggers relevant symbols
- Token budget: respects character limit
- Branch scoping: feat/code symbols preferred over mainline
- Branch deletion: cleanup removes branch symbols, mainline survives
2026-03-24 00:19:17 +00:00
..
2026-03-23 17:30:36 +00:00
2026-03-21 15:51:31 +00:00
2026-03-23 13:01:36 +00:00
2026-03-24 00:19:17 +00:00
2026-03-24 00:19:17 +00:00
2026-03-24 00:19:17 +00:00
2026-03-21 22:21:14 +00:00
2026-03-23 19:21:36 +00:00
2026-03-23 01:43:51 +00:00
2026-03-24 00:19:17 +00:00
2026-03-23 01:42:08 +00:00
2026-03-23 17:40:25 +00:00
2026-03-22 14:58:28 +00:00
2026-03-23 17:07:50 +00:00
2026-03-24 00:19:17 +00:00
2026-03-24 00:19:17 +00:00
2026-03-23 01:42:08 +00:00
2026-03-23 11:46:22 +00:00
2026-03-23 01:41:57 +00:00
2026-03-23 01:41:44 +00:00
2026-03-23 17:40:25 +00:00