RepoRetro: Ghost in the Repo — Unearthing Dead Code & Honoring Departed Contributors with Gemma & Entire
说明与用途
RepoRetro 通过 AI 推断代码意图,识别并分类仓库中的死代码,并纪念已离开的贡献者。
问题
Mature codebases accumulate dead code and orphaned artifacts that linters flag for deletion, risking accidental removal of valuable legacy or unfinished work.
结果
RepoRetro enabled a mature repo to identify 7 relics, compute a 94/100 Haunt Score, and classify each relic, while honoring two departed contributors with poetic tributes.
工作流
- Clone repository using provided credentials
- Run CLI scan or use web dashboard
- RepoRetro identifies dead code artifacts
- Calculates Haunt Score from metrics
- Correlates artifacts with Entire checkpoints
- Queries Gemma for historical rationale
- Classifies relics with Chesterton’s Fence verdict
- Displays results in dashboard and CLI report
- Honors departed contributors in Ofrenda tab
证据
RepoRetro builds a digital Ofrenda for your repository. It unearths abandoned code, calculates a multi-factor Haunt Score (0–100), queries past AI agent sessions via Entire, and uses Google’s open-weight Gemma to reconstruct the historical rationale before delivering a Chesterton’s Fence verdict
RepoRetro serves an altar-inspired UI with real‑time analytics: Haunt Score Meter (0–100), Graveyard View, Chesterton’s Fence Badges
RepoRetro inspects git commit trailers (Entire-Checkpoint: ...) and the git-native entire/checkpoints/v1 tree to recover the original human prompt, the agent’s chain‑of‑thought reasoning snippet, and why the feature was paused or abandoned mid‑architecture
- 记录日期: 2026-11-02T06:44:04.873Z