Problem
graphify update can leave stale graph entries when the last supported file is deleted or a rename reports only its destination. The removed source remains in graph.json.
Expected
Reconcile extractor-backed sources with files still present, while preserving semantic and out-of-scope records.
Reproduction
- Build from
only.py, delete it, and run graphify update ..
- Or rename
old.py to renamed.py with only the destination in changed_paths.
- The deleted or old source remains in
graph.json.
Problem
graphify updatecan leave stale graph entries when the last supported file is deleted or a rename reports only its destination. The removed source remains ingraph.json.Expected
Reconcile extractor-backed sources with files still present, while preserving semantic and out-of-scope records.
Reproduction
only.py, delete it, and rungraphify update ..old.pytorenamed.pywith only the destination inchanged_paths.graph.json.