Repository navigation
Description
Bug Description
The current main branch reports Hermes Agent version 0.15.1 in both pyproject.toml and hermes_cli/__init__.py, even though the latest published release tag v2026.5.29.2 reports 0.15.2 and main contains newer commits after that release.
This makes Git/source installs that correctly track origin/main look stale or downgraded when users run hermes --version, even when their checkout is actually up to date with origin/main.
Related PR: #35524. That PR appears to fix the metadata, but there does not appear to be a canonical issue tracking the underlying bug. If that PR is closed/replaced, the bug should still remain tracked.
This is not the same as #35070 / #35142: in this case pyproject.toml and hermes_cli/__init__.py are internally consistent on main; they are both behind the latest release tag metadata.
Steps to Reproduce
- Inspect
mainmetadata:
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/pyproject.toml | grep '^version'
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/hermes_cli/__init__.py | grep '__version__\|__release_date__'- Inspect the latest release tag metadata:
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/v2026.5.29.2/pyproject.toml | grep '^version'
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/v2026.5.29.2/hermes_cli/__init__.py | grep '__version__\|__release_date__'- Compare
mainagainst the tag:
git ls-remote https://github.com/NousResearch/hermes-agent.git refs/heads/main 'refs/tags/v2026.5.29.2^{}'Expected Behavior
A Git/source install that tracks the current main branch should not report an older package/runtime version than the latest published release tag after release commits have landed.
At minimum, hermes --version should make Git/main build identity clear enough that an up-to-date origin/main checkout does not look older than the latest release.
Actual Behavior
At the time of this report:
main pyproject.toml: version = "0.15.1"
main hermes_cli/__init__.py: __version__ = "0.15.1"
main hermes_cli/__init__.py: __release_date__ = "2026.5.29"
tag v2026.5.29.2 pyproject.toml: version = "0.15.2"
tag v2026.5.29.2 hermes_cli/__init__.py: __version__ = "0.15.2"
tag v2026.5.29.2 hermes_cli/__init__.py: __release_date__ = "2026.5.29.2"
Also at the time of this report:
origin/main: 64202200a6043b685750e16107067971446f8818
v2026.5.29.2 peeled tag: 77a1650c78a4cb1813d8a81fa1da40a15b6a3ec5
So main has advanced beyond the release tag, but still reports the older version metadata.
Affected Component
- Setup / Installation
- CLI
Messaging Platform (if gateway-related)
N/A (CLI only)
Debug Report
N/A - this is reproducible from public upstream repository metadata and raw files. No local logs or credentials are required to reproduce.
Operating System
macOS 15.x, but this is not OS-specific. The reproduction is against upstream repository files.
Python Version
N/A - repository metadata issue.
Hermes Version
main reports 0.15.1; latest release tag v2026.5.29.2 reports 0.15.2.
Additional Logs / Traceback (optional)
N/A.
Root Cause Analysis (optional)
The release tag v2026.5.29.2 contains the expected version metadata, but main currently has both pyproject.toml and hermes_cli/__init__.py set to 0.15.1 / 2026.5.29.
Because both files agree on main, the version consistency check added by #35142 likely does not flag this case. The issue is not file-to-file drift within a checkout; it is stale branch metadata relative to the latest release tag.
Proposed Fix (optional)
Either:
- Merge chore: sync main version with v0.15.2 release #35524 or equivalent to sync
mainmetadata to0.15.2/2026.5.29.2, includingpyproject.toml,hermes_cli/__init__.py, andacp_registry/agent.json; or - Adjust Git/source install version reporting so
hermes --versionincludes commit SHA/build identity and cannot make an up-to-dateorigin/maincheckout appear older than the latest tag.
Existing Related Work
- Related PR: chore: sync main version with v0.15.2 release #35524
- Related but not duplicate: Version mismatch: hermes_cli/__init__.py gets reverted during upgrade conflict resolution #35070 / fix: detect version drift between pyproject.toml and __init__.py in hermes doctor #35142
- Related but not duplicate: [Bug]: Banner shows "1 commit behind" inside Docker even though no git history exists — PyPI fallback mislabels version gap as literal commits #35857
- Related but not duplicate: [Bug]: v0.15.2 wheel missing hermes_cli/dashboard_auth — dashboard crashes on startup #36743
Activity
fortheboiz commentedon Jun 12, 2026
Hallo! Diese Beobachtung gehört thematisch zu #38093 und ich habe sie deshalb hier als Kommentar gepostet statt ein neues Issue aufzumachen — sehe gerade, dass es im Repo mehrere 0.15.1-bezogene Bugs gibt, die vermutlich alle auf dieselbe Wurzelursache (vergessenes Version-Bumping beim Side-Repo-Merge) zurückgehen.
Was ich konkret beobachtet habe (in einem lokalen Audit am 11.6.2026, Hermes FHS-Installation auf CachyOS, Branch
local/v0.16.0-modsbasierend auf v2026.6.5 / Commit3c231eb39):pyproject.toml→version = "0.16.0"(Core)apps/desktop/package.json→"version": "0.15.1"(Desktop-Electron-App)Diese Drift wurde beim Initialimport des Desktop-Sub-Repos in den Core-Repo (im selben Release-Commit) angelegt — der Wert
0.15.1steht inapps/desktop/package.jsonseit dem ersten Auftauchen der Datei in3c231eb39, also nicht „nicht hochgezogen", sondern bereits beim Merge schon eine Minor hinterpyproject.toml.Konkret sieht das in
apps/desktop/package.jsonso aus:{ "name": "hermes", "productName": "Hermes", "private": true, "version": "0.15.1", ... }Warum das in der Praxis auffällt (in Ergänzung zu #38093, das ja eher die Core-Main-Branch-Version im Blick hat):
Hermes 0.15.1an, obwohl das installierte Bundle das v0.16.0-Paket ist. Verwirrend bei Bug-Reports und Versionsabgleich.0.15.1als Versions-String — wenn Maintainer Releases taggen und filtern, kann das Core-0.16.0-Bugs als „0.15.1-Regression" zugeordnet werden.Meine Frage an die Maintainer: War
0.15.1inapps/desktop/package.jsonbeim Initialimport schlicht vergessen (Side-Repo-Merge-Drift), oder ist es eine bewusste Entkopplung (z. B. „Desktop-Releases folgen eigenem Cadence, unabhängig vom Core")? Falls (b): wäre ein Kommentar in der Datei hilfreich, der diese Entscheidung dokumentiert, damit Audit-Tools und Contributor nicht jedes Mal denken, es sei ein Bug.Reproduktion lokal (in einer frischen Clone):
Wenn das eine bewusste Entscheidung ist, bin ich gerne bereit, einen 1-Zeilen-PR beizusteuern, der einen Kommentar in
apps/desktop/package.jsonergänzt (oder einen CI-Check, der die Drift warnt). Wenn es ein echter Bug ist, mache ich gerne den Bump-PR.Danke fürs Drüberschauen! 🎯
teknium1 commentedon Jul 13, 2026
Thanks for reporting the version-metadata drift. This is now resolved on current main.
pyproject.toml:10andhermes_cli/__init__.py:17-18consistently report0.18.2/2026.7.7.2.hermes_cli/main.py:245-247uses those canonical values for version output, so a source checkout no longer identifies itself as0.15.1.9de9c25f620ff7f1ce0fd5457d596052d5159596(chore: release v0.18.2 (2026.7.7.2), tagv2026.7.7.2) updated the package, CLI, and ACP metadata together.apps/desktop/electron/main.ts:8682-8705resolves the canonical Hermes source version instead of treating Electronpackage.jsonas the authoritative Hermes identity.Closing as implemented on main. This is an automated hermes-sweeper review.