#!/usr/bin/env bash # Run fleet's drift.sh and keep its answer where every session start reads it. # # drift.sh answers "is the same commit on the laptop, GitHub, Gitea and the # box?" — but a sensor nobody runs is decoration. It takes about a minute (ssh # to the box, one ls-remote per repo), too slow for the SessionStart hook's # budget, so a systemd user timer (fleet-drift.timer, hourly) runs this and the # hook only cats the cache. Same split as fleet-status: the hook owns no logic. # # Output: ~/.cache/fleet-drift.txt — first line "as of