You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(search): return human-readable label with every SearchResult
Add `label` field to SearchResult so search responses are self-contained
and the UI can render results without a follow-up fetch for each id.
- types: SearchResult.label, SearchConfig.labelColumn
- lib/search: hybridSearch SQL selects p.<labelColumn> in both FTS and
vec branches; carries label through RRF fusion (FTS label takes
priority on collision)
- stores: each passes its labelColumn — knowledge/docs='title',
code='name', tasks='title', skills='title', epics='title'
- files: separate non-shared search path uses file_path as label
- tests: SearchConfig fixture updated; existing search assertions hold
- ui/entities: search APIs typed as { id, label, score } instead of
Entity & { score } — drops dependency on full entity shape
- ui/pages: search/code/docs/files/knowledge/skills render label
directly; removes per-result entity fetch
0 commit comments