feat: quick wins umbrella — 7 single-query capabilities on existing data #30
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
h-dv/code-index#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Quick-wins section of the 2026-07-20 index-data brainstorm (
_prdoc/records/brainstorm-2026-07-20-index-data-catalog.md). Each is one query / one JSON field on data that already exists:symbol_edges.weightin find_callers/find_callees output + sort by it — materialized and populated (754/4109 edges have weight>1, max 20) but no tool surfaces it.refs WHERE target_id IS NULL AND qualifier IS NOT NULL: measured external-API surface (std::fs 510 refs/16 fns, tempfile 323/2, rusqlite 92/8) for dependency-upgrade planning, from call sites rather than manifests.outline_hashcolumn (finds the m0016–m0019 migration template family instantly).Triage: split and retire the umbrella
These seven items no longer form one coherent deliverable:
suggest_placementintocontext_pack(#35)project_overview/resolution_gapsrepo_map/ context rankingClose this umbrella once the surviving items have dedicated homes. Avoid expanding the MCP surface with seven single-query tools.
Re-prioritized after the 2026-07-21 strategy + build-vs-buy studies
Two ultradeep multi-agent studies re-scored this umbrella. Net: one piece is promoted, one dropped, one deferred.
#30.6 index_health — PROMOTED, implementing now. The highest-value item in the whole umbrella. Since build-vs-buy settled "keep the hand-rolled resolver" and the ~20% resolution rate is a permanent, mostly-external denominator artifact (not a defect), the correct product response is to tell the agent where
find_callersis trustworthy vs where to fall back tosearch_text. Delta over what already ships: project-level per-language resolution is already inproject_overview; add per-file granularity + split the reported rate into external (unresolvable-by-design) vs internal-missed so the misleading 15–20% headline stops overstating the real quality gap. Shipping alongside #38.#30.1 surface
symbol_edges.weight+ sort — DROPPED. Measured on the live DB: 80.8% of edges tie at weight 1, so the sort key ties for four-fifths of edges and adds almost no ranking signal. Not worth the surface area.#30.7 coupling (Ca/Ce/instability) — DEFERRED. Computing authoritative-looking coupling numbers over an edge graph that resolves only ~20% of references manufactures exactly the false authority the honesty ethos forbids. Revisit only behind an explicit resolved-edge-basis disclosure, and after the #38 precision gate exists.
The remaining quick wins (#30.2 dependency_usage, #30.3 parity_matrix, #30.4 suggest_placement, #30.5 similar_files) are unaffected and stay in the backlog.
The gating priority is now #38 (the multilingual precision + zero-phantom regression gate) — it automates the manual-dogfood safety net that currently protects the resolver's zero-phantom guarantee (the moat's crown jewel), confirmed permanent by the build-vs-buy survey (stack-graphs archived; SCIP build-required). #30.6 ships with it.