feat: gap miner — rank unresolved refs into a mission queue clamped by phantom==0 #47
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#47
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?
P3 — the mechanism that turns the corpus into a development engine. Depends on #40, #45.
From
_prdoc/records/brainstorm-2026-07-28-oss-corpus-test-system.md§5.1.What
After each corpus run, aggregate unresolved refs by
(lang, reason_code, syntactic shape of the call site)and rank by frequency × repos affected:Every row is a mission candidate shipping with its own success metric: fix it, re-run, watch
ndrop.Why it matters
This is the I025/I026/I037 process — which has a strong track record — but prioritised by real-world frequency across many codebases instead of by whatever happened to annoy someone while dogfooding this one repo. All three of those missions started from a single anecdotal observation.
The clamp (non-negotiable)
Every recall mission is gated by the Tier-A phantom count staying at 0 (#43,
precision_gate.rs). Recall may only rise while phantoms stay at zero. Without that clamp "improve recall" degenerates into "resolve more, guess more" — the exact failure this project has spent I023/I025/I026/I033/I037 avoiding, and the reason the build-vs-buy verdict rejected ctags.WONTFIX rows are a feature
Laravel facades, Rails
method_missing, proc-macro-generated call sites are unresolvable in principle. Marking them as documented ceilings — the same device asoracle.toml'sname_fallback_ceiling— keeps them out of the queue permanently and turns the honesty stance into a recorded engineering decision rather than an omission.Acceptance