The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(update): say Hermes keeps the commit-graph fresh and sweeps its stale locks
Teknium825c509d3606
diff --git a/website/docs/getting-started/updating.md b/website/docs/getting-started/updating.mdindex 508469f99c7..8c67fbc9a20 100644--- a/website/docs/getting-started/updating.md+++ b/website/docs/getting-started/updating.md@@ -313,6 +313,12 @@ set `maintenance.commit-graph.enabled`, `gc.writeCommitGraph` and `fetch.writeCodownloads every one of their trees. Leave those settings alone, and leave `gc.auto` at itsdefault so git's own automatic gc can still fold packs.+Hermes keeps the commit-graph current itself, because without one every version lookup walks the+whole history: a `hermes -w` launch updates a missing or day-old graph in the background with+`git commit-graph write --reachable --split --no-changed-paths`, which reads commits only and never+downloads a tree. A `commit-graph.lock` or `multi-pack-index.lock` that a killed git left behind is+removed by the same stale-lock sweep as `index.lock` once it is 10 minutes old and no git is running.+Each `hermes update` also spends at most 60 seconds cleaning those packs up, picking up where theprevious update stopped. It deletes packs whose every object is also stored in another pack, thenmerges the smallest remaining packs while there are more than 50. Nothing stored locally is ever