← all work

Dead-code cleaner agent — turning false positives into shared knowledge

architecture · 2026-05
My role: Designed the agent and the central false-positive pattern library

A scheduled agent that finds dead code, validates each candidate against known false-positive patterns, and opens removal PRs grouped by risk. The core insight: automated dead-code detection is only adopted if it’s trustworthy, so I made false positives a first-class concern — each repository contributes newly-discovered patterns to a shared library, so every later run, in every repo, gets more accurate. (Full four-part write-up to follow.)

ai-agents · automation · code-health