feat: new-data prerequisites — mod-declaration imports, per-binding import split, churn, stats history #31
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#31
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?
Needs-new-data section of the 2026-07-20 index-data brainstorm (
_prdoc/records/brainstorm-2026-07-20-index-data-catalog.md). Small extraction/schema additions with outsized unlock (receiver capture is tracked separately in #29):mod x;/ PHPrequire/ Rubyrequire_relativeemit noimportsrows today — the single false-positive source making all 5 non-Rust plugin source files look orphaned. With it, an orphan_files detector goes clean (verifiably 0 genuine orphans in this repo) and Rust get_dependencies improves generally.use a::{B, C}is stored as ONE unsplittable row (568 imports, only 279 analyzable). Prerequisite for unused_imports — whose payoff is the 5 non-Rust languages where no compiler warns. Two lenses independently measured heavy FP classes (trait-method imports, derive/attr usage, pub-use re-exports) → confidence labels required.git logshell-out): churn × fan-in hotspot quadrants. Three independent metrics already converge on server.rs (51 commits/90d), local_index.rs (46), index.rs (37, 891-line resolve_ref_targets_in_tx). gitdiff.rs plumbing exists; can start query-time-only.Triage: P1 for graph correctness; split before implementation
This issue combines four unrelated data investments. Recommended split:
mod,require,require_relative, and per-binding imports. This directly improves graph truth, context selection, impact, cycles, and orphan analysis.Implement the import work before adding more graph-derived conclusions. Each extraction change needs upgrade/fresh-index equivalence and before/after resolution precision measurements.