Files
hermes-agent/website/docs/user-guide
teknium1 58f3bf10c0 fix: startup update check no longer lazy-fetches history in partial clones
In a partial (blobless/treeless) clone, the passive update check's
`git merge-base --is-ancestor <fresh upstream tip> HEAD` asked about an
object the clone had never fetched, so git spawned `git fetch` from the
promisor remote to download it (~233k objects for a real install, no
negotiation). The 5 s probe timeout killed only the merge-base process;
the fetch child kept running orphaned and left partial packs behind, on
every launch.

Every banner git probe and every `bounded_git_probe` (session-start
coding context, TUI gateway branch/root probes) now runs with
GIT_NO_LAZY_FETCH=1 (NO_LAZY_FETCH_ENV). A missing object makes the probe
fail fast; the ancestry check then falls through to the compare API, which
is already the path for tips not in local history. `hermes update` keeps
lazy fetch: its checkout/merge legitimately needs missing blobs.
2026-09-23 14:55:40 -07:00
..