This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine
NecroGit: A Little Séance for Legacy Code
Every codebase has a past.
Sometimes that past is a beautifully maintained changelog. Sometimes it is a function named do_not_delete_final2() , three deprecated imports, and a Git history that only the person who wrote it really understood.
Then that person leaves.
The code stays.
For Week 4's Ghost in the Machine challenge, I built NecroGit : a command-line tool that treats legacy-code maintenance like a bit of software archaeology. It looks for signs of bitrot, examines Git history for clues about how a project evolved, and uses an open-weight language model to help explain unfamiliar code and propose repairs.
The goal isn't to pretend a model can bring a developer back from the dead.…