Skip to content

v0.1.0 — feature location by coverage diff

Choose a tag to compare

@pugstro pugstro released this 24 Jul 04:32

Where is feature X implemented? recon runs your vitest suite once with per-test coverage, partitions tests into feature-vs-rest by a pattern, and ranks the source lines the feature's tests exclusively execute.

npx @precisionutilityguild/recon "dark mode"
  • Evidence, not guesses: every ranked line cites the tests that prove it (Ochiai exclusivity score, raw counters included in --json so you can re-rank).
  • Agent-friendly: deterministic byte-stable output, --json contract, exit codes agents can branch on (3 = re-pattern, 2 = unusable project, 1 = incomplete run).
  • Requires vitest 4+ and a test suite that exercises the feature; module-scope code cannot be attributed (documented limitations in the README).

Lineage: Software Reconnaissance, Wilde & Scully 1995 — 30 years old, and JS never got it until now.