feat(fb-37): trace + stats — search debug + KB health surface #129
Reference in New Issue
Block a user
Delete Branch "feat/fb-37-trace-and-stats"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
--traceflag emits pre-fusion lex/vec lists + RRF union + per-stage timing onsearch_response.v1(additive minor). Cache bypass forced.kebab schema --jsonextendsstatswithmedia_breakdown(5 keys padded),lang_breakdown(NULL keyed"null"),index_bytes(sqlite + lancedb),stale_doc_count(0 when threshold=0). Additive minor.tkey opensTracePopupmodal with lex/vec/rrf/timing scrollable.kebab__searchacceptstrace: bool, mirrors response shape.--trace --mode lexicalworks without embeddings (NoopRetriever stub).Design:
docs/superpowers/specs/2026-05-10-p9-fb-37-trace-and-stats-design.mdPlan:
docs/superpowers/plans/2026-05-10-p9-fb-37-trace-and-stats.mdTest plan
cargo test --workspace --no-fail-fast -j 1greencargo clippy --workspace --all-targets -- -D warningsclean🤖 Generated with Claude Code