Fix existing gaps before building new features:
- Missing MCP tools — 8 commands lack MCP equivalents.
- Missing
--modelflags — 4 commands embed queries without model selection. - Missing
--branchflags — 4 analysis commands lack branch scoping. - Missing HTTP routes — 6 analysis commands lack API equivalents.
- Missing
--htmlon 4 search/analysis commands that would benefit.
Architectural recommendations:
SearchPipelineabstraction — composable features (boolean queries → expansion → explanation → saved queries) without duplicating scoring logic.concept_snapshottable — cache per-commit concept centroids. Enables semantic bisect, lifecycle analysis, and health timeline without recomputing.FeatureFlagssystem — config-based toggles for gradually rollable features.
Phase 37: Quick Wins (1-2 days each)
- Code-to-Code Search (Low complexity, High value)
- Negative Examples Search (Low complexity, High value)
- Partial/Selective Indexing (Low complexity, High value)
- Result Explanation (Low-Med complexity, High value)
Phase 38: Medium Effort, High Impact (3-5 days each)
- Semantic Git Bisect
- Garbage Collection
- Boolean/Composite Queries
- Documentation Gap Analysis
Phase 39: Analysis Features (1-2 weeks each)
- Refactoring Suggestions
- Concept Lifecycle Analysis
- Contributor Semantic Profiles
- CI/CD Semantic Diff in PRs
Phase 40: Visualization & Scale (2-4 weeks each)
- Semantic Codebase Map (UMAP/t-SNE)
- Temporal Heatmap
- Remote Index Sharing
- Semantic Cherry-Pick Suggestions
Phase 41+: Large Investments (4+ weeks each)
- Multi-Repo Unified Index
- IDE / LSP Integration
- Security Pattern Detection
- Codebase Health Timeline
- Technical Debt Scoring