Commit ee88d89
fix(agent): pin hermes-agent and hermes-webui to release tags
Both install paths tracked moving branches: agent/Dockerfile defaulted to
`main`/`master`, and setup-agent.sh's ensure_clone passed no ref at all, so it
took whatever the default branch HEAD happened to be that day. An upstream
commit could therefore change what the agent image contains, and break it, with
no change on our side — precisely the failure mode the `mcp>=1.0,<2` pin four
lines below exists to prevent, left wide open one layer up.
Pinned to the current release pair:
hermes-agent v2026.8.18 -> e624e9f
hermes-webui v0.52.76 -> 3c9304a
This is a behaviour change, not a no-op: both branches had already moved past
their latest tag (main was 1f234a1, master was 63a562f), so this rolls the
runtime back from branch HEAD to the tagged release.
Both files are changed together on purpose. Pinning only the Dockerfile would
have left host installs on branch HEAD and container installs on a tag, so a
bug would reproduce on one path and not the other — the Dockerfile comment
already claimed the two tracked each other, and that claim was false.
ensure_clone still returns early when a checkout exists, so an install that
predates pinning keeps its current ref; silently deleting a user's agent
directory to change a version is not this script's call. The message now says
so instead of implying the ref was applied.
Verified: both tags clone at the expected SHAs with pyproject.toml and
requirements.txt present; setup-agent.sh passes bash -n.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 1fbaaf1 commit ee88d89
2 files changed
Lines changed: 31 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
42 | 50 | | |
43 | | - | |
| 51 | + | |
44 | 52 | | |
45 | | - | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
60 | | - | |
| 65 | + | |
61 | 66 | | |
62 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | | - | |
| 73 | + | |
66 | 74 | | |
67 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
68 | 81 | | |
69 | 82 | | |
70 | 83 | | |
| |||
412 | 425 | | |
413 | 426 | | |
414 | 427 | | |
415 | | - | |
416 | | - | |
| 428 | + | |
| 429 | + | |
417 | 430 | | |
418 | 431 | | |
419 | 432 | | |
| |||
0 commit comments