check-stale-results-sorted-by-node-id
IN premise
The list returned by `check_stale` is sorted ascending by `node_id`, providing deterministic output for consumers.
Summary
The staleness checker returns its results in a consistent, predictable order based on node ID. This means any code that processes stale results will always see them in the same sequence, making tests reliable and avoiding nondeterministic behavior that could hide bugs.
Dependents
These beliefs depend on this one:
- check-stale-output-is-deterministic-and-structured — Staleness checking produces deterministic (sorted by node ID), uniformly structured (consistent 6-key schema across all result types), and exception-free (returns structured dicts for missing files rather than raising) output suitable for programmatic consumption and diffing.
Details
| Source | entries/2026/04/29/tests-test_check_stale_issue25.md |