staleness-gate-catches-all-drift

IN derived (depth 2)

The staleness CI gate detects all forms of source material drift without false negatives.

Summary

The CI pipeline's staleness check is claimed to never miss cases where source material has changed underneath a belief — if something drifted, the gate will catch it and fail the build. This is a strong correctness guarantee that, if true, means teams can trust the gate as a complete safety net rather than needing additional manual checks for outdated beliefs.

Justifications

SL — The conservative read-only checking with CI exit codes provides strong detection, but silently skipping deleted source files and 64-bit hash collision risk create blind spots

Antecedents (all must be IN):

  • staleness-is-conservative-ci-gate — Staleness checking is designed as a safe CI gate: it never mutates state, only checks IN nodes, requires both source fields, and exits nonzero to fail the pipeline

Unless (any of these IN defeats this justification):

  • missing-source-file-is-silent — If a node's source file no longer exists on disk, `check_stale` silently skips it; callers cannot distinguish "file deleted" from "file never tracked."
  • hash-truncation-is-16-hex — Source hashes are SHA-256 truncated to the first 16 hex characters (64 bits), reducing collision resistance to ~32 bits for birthday attacks compared to the full 256-bit hash.

Dependents

These beliefs depend on this one:

Details