check-stale-and-hash-sources-mutate-in-place

IN premise

Both `check_stale` (with `upgrade_hashes=True`) and `hash_sources` modify `node.source_hash` directly on the Network object; neither persists — the caller must save.

Summary

These two functions update the source hash on network nodes by changing the in-memory object directly, but they never write those changes to disk or database themselves. Any code that calls them is responsible for saving afterward, or the updated hashes will be lost when the process exits.

Details

Sourceentries/2026/05/05/reasons_lib-check_stale.md