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
Sherlog has query profile classification, but current scoring does not actually branch on broad vs exact query kind. That makes the abstraction easy to misunderstand and risky to tune by intuition.
The paper's retrieval/query-routing module argues for evaluating routing precision explicitly. For Sherlog, that does not mean adding a natural-language planner; it means either using the existing profile in a small eval-backed scoring branch or deleting the stale abstraction.
src/ranking.ts comments state that v3 scoring no longer branches on kind and primarily uses local row/session signals.
src/query-profile.test.ts verifies classification for broad terms, multi-term exact queries, digits, and path-like command strings.
src/query-session-ranking.test.ts already covers several ranking behaviors: title hit vs incidental mention, sustained broad evidence vs title-only hit, distinct sessions with collapsed titles, and path-like command query ranking.
docs/ROADMAP.md and AGENTS.md both identify broad/exact scoring as not fully landed.
Review umbrella: #69
Problem
Sherlog has query profile classification, but current scoring does not actually branch on broad vs exact query kind. That makes the abstraction easy to misunderstand and risky to tune by intuition.
The paper's retrieval/query-routing module argues for evaluating routing precision explicitly. For Sherlog, that does not mean adding a natural-language planner; it means either using the existing profile in a small eval-backed scoring branch or deleting the stale abstraction.
Local Evidence
src/ranking.ts:classifyQueryProfile()defines broad/exact/path-like query metadata.src/ranking.tscomments state that v3 scoring no longer branches onkindand primarily uses local row/session signals.src/query-profile.test.tsverifies classification for broad terms, multi-term exact queries, digits, and path-like command strings.src/query-session-ranking.test.tsalready covers several ranking behaviors: title hit vs incidental mention, sustained broad evidence vs title-only hit, distinct sessions with collapsed titles, and path-like command query ranking.docs/ROADMAP.mdandAGENTS.mdboth identify broad/exact scoring as not fully landed.Scope
After #70 exists, choose one of two paths:
classifyQueryProfile()if the current heuristic ranking is intentionally profile-agnostic.If path 1 is chosen, candidate changes should stay conservative:
--sort ended; do not infer time scopes from free text in this issue.Acceptance Criteria
Non-Goals
Trace
cxs_deep_review_correction_20260626T040901Z_api_appendcxs_update_issues_after_review_20260626T044426Z_api_append