stale-result-reasons

IN premise

`check_stale` uses two distinct reason codes: `"content_changed"` when the source file exists but its hash differs, and `"source_deleted"` when the file is gone from disk.

Summary

When the system checks whether a cached result is still valid, it distinguishes between two cases: the source file still exists but has been modified, or the source file has been completely removed. This matters because downstream logic can react differently to each situation — a changed file might trigger a rebuild, while a deleted file might require cleanup or removal of dependent outputs.

Details

Sourceentries/2026/04/24/tests-test_check_stale.md