I Built RepoGeist: An Open-Source AI That Uncovers the Ghosts in Your Git History
Описание и применение
RepoGeist позволяет исследовать историю репозитория, выявлять удалённые файлы и объяснять их удаление с помощью локальной модели AI, сохраняя конфиденциальность исходного кода.
Задача
Developers lose visibility into deleted or abandoned code and decisions that are buried in Git history.
Результат
RepoGeist enables teams to reconstruct and interrogate repository history locally, revealing deleted modules and undocumented motivations while preserving privacy.
Рабочий процесс
- 1. Configure RepoGeist with a repository root.
- 2. Run deterministic extraction to count commits, contributors, and trace file activity.
- 3. Identify deleted files and quiet branches via the Graveyard view.
- 4. Retrieve historical source of deleted files with Code Resurrection.
- 5. Use Ghost Chat, Commit Autopsy, or The Repository Speaks to generate explanations grounded in evidence.
- 6. Review AI responses that cite specific commits and files.
- 7. Optionally export investigation reports as Markdown or JSON.
Доказательства
RepoGeist is a privacy‑first Git archaeology application that reconstructs a repository's past and lets you investigate it with a local open‑weight AI model.
The deterministic half reads real Git objects. It counts commits and contributors, traces file activity, identifies quiet branches, finds files deleted from the analyzed HEAD, and retrieves their last historical versions without modifying the working tree.
The generative half turns selected evidence into explanations. Ghost Chat answers questions about the repository. Commit Autopsy interprets a bounded diff. The Repository Speaks transforms factual milestones into a haunted chronicle, technical documentary, or developer retrospective.
A real Ollama run with qwen2.5:3b produced a Ghost Chat answer citing the authentication deletion commit and auth/legacy.py while correctly acknowledging that the exact motivation was undocumented.
- Дата записи: 2026-11-01T12:14:14.131Z