Files
CatoandClaude Opus 5.5 51d3566cb1 feat(fleet): drift.sh — is the same commit on the laptop, GitHub, Gitea and the box? (#572)
Reads the state at every layer instead of a pipeline's record of it:
`git ls-remote` for GitHub, the forge branch API for Gitea, HEAD of each
primary checkout, and the commit the box SERVES (release symlink, .release,
newest releases/ entry, else /api/health `commit`).

Why now: on 2026-11-20 a manual pass found the dotfiles checkout 8 PRs behind,
9 checkouts up to 724 commits behind on long-landed branches, and evig serving
a release one PR old — while deploy-freshness-audit.mjs, which reads GitHub
Deploy RUNS, had been blind since Actions stopped on 2026-11-15.

Silent when clean. A layer it cannot read is UNMEASURED and printed, never
folded into fine or gone: its first real run called six healthy repos "gone"
because GitHub throttled a parallel burst, so only "not found" means gone,
and each read is retried once. 19 tests on real repos; five mutations each
turn the suite red.

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:59:55 +01:00
..