Skip to content

[Bug]: main branch reports 0.15.1 after v2026.5.29.2 release #38093

Closed as not planned

Description

@TheAngryPit

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

  1. Inspect main metadata:
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__'
  1. 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__'
  1. Compare main against 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:

  1. Merge chore: sync main version with v0.15.2 release #35524 or equivalent to sync main metadata to 0.15.2 / 2026.5.29.2, including pyproject.toml, hermes_cli/__init__.py, and acp_registry/agent.json; or
  2. Adjust Git/source install version reporting so hermes --version includes commit SHA/build identity and cannot make an up-to-date origin/main checkout appear older than the latest tag.

Existing Related Work

Activity

  1. added
    type/bugSomething isn't working
    P3Low — cosmetic, nice to have
    comp/cliCLI entry point, hermes_cli/, setup wizard
    on Jun 3, 2026
  2. fortheboiz commented on Jun 12, 2026

    @fortheboiz

    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-mods basierend auf v2026.6.5 / Commit 3c231eb39):

    • 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.1 steht in apps/desktop/package.json seit dem ersten Auftauchen der Datei in 3c231eb39, also nicht „nicht hochgezogen", sondern bereits beim Merge schon eine Minor hinter pyproject.toml.

    Konkret sieht das in apps/desktop/package.json so 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):

    1. Der In-App-Self-Updater (siehe v0.16.0 „Surface Release" — Remote-Gateway, Multi-Profile, Cmd+K-Palette) zeigt Nutzer:innen Hermes 0.15.1 an, obwohl das installierte Bundle das v0.16.0-Paket ist. Verwirrend bei Bug-Reports und Versionsabgleich.
    2. Stack-Traces und Crash-Reports aus der Desktop-App tragen 0.15.1 als Versions-String — wenn Maintainer Releases taggen und filtern, kann das Core-0.16.0-Bugs als „0.15.1-Regression" zugeordnet werden.
    3. Mehrere andere offene Issues deuten auf Symptome im 0.15.1-Stand der Desktop-App hin — die könnten mit dem Versions-Bump zusammen verschwinden oder sichtbarer werden:

    Meine Frage an die Maintainer: War 0.15.1 in apps/desktop/package.json beim 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):

    git checkout v2026.6.5   # oder 3c231eb39
    grep '^version' pyproject.toml
    # → version = "0.16.0"
    grep '"version"' apps/desktop/package.json
    # → "version": "0.15.1",

    Wenn das eine bewusste Entscheidung ist, bin ich gerne bereit, einen 1-Zeilen-PR beizusteuern, der einen Kommentar in apps/desktop/package.json ergä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! 🎯

  3. teknium1 commented on Jul 13, 2026

    @teknium1
    Collaborator

    Thanks for reporting the version-metadata drift. This is now resolved on current main.

    • pyproject.toml:10 and hermes_cli/__init__.py:17-18 consistently report 0.18.2 / 2026.7.7.2.
    • hermes_cli/main.py:245-247 uses those canonical values for version output, so a source checkout no longer identifies itself as 0.15.1.
    • Release commit 9de9c25f620ff7f1ce0fd5457d596052d5159596 (chore: release v0.18.2 (2026.7.7.2), tag v2026.7.7.2) updated the package, CLI, and ACP metadata together.
    • The follow-up Desktop concern is handled separately at the display boundary: apps/desktop/electron/main.ts:8682-8705 resolves the canonical Hermes source version instead of treating Electron package.json as the authoritative Hermes identity.

    Closing as implemented on main. This is an automated hermes-sweeper review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havecomp/cliCLI entry point, hermes_cli/, setup wizardsweeper:implemented-on-mainSweeper: behavior already present on current maintype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions