hash-sources-is-additive-by-default
IN premise
`hash_sources` without `force=True` never overwrites an existing non-empty `source_hash`; it only backfills nodes with empty or missing hashes.
Summary
When the system computes source hashes for beliefs, it treats existing hashes as sacred — if a node already has a hash recorded, the default behavior leaves it untouched. This means you can safely re-run hash computation without accidentally wiping out previously established provenance tracking, but it also means stale hashes won't get corrected unless you explicitly force an overwrite.
Dependents
These beliefs depend on this one:
- source-tracking-is-collision-resistant-and-safe — Source integrity tracking uses full 64-character SHA-256 digests with exact string comparison for collision resistance, and backfills hashes additively without overwriting existing values — ensuring high-fidelity drift detection with no accidental data loss
Details
| Source | entries/2026/04/29/tests-test_check_stale.md |