Skip to content

The agent that grows with you

fix(release): continue the version line after the legacy v0.21.5 release

Teknium65c6fb521d4c
diff --git a/scripts/releases/versioning.py b/scripts/releases/versioning.py
index 354127949b8..8efda224163 100644
--- a/scripts/releases/versioning.py
+++ b/scripts/releases/versioning.py
@@ -15,7 +15,8 @@ from typing import Any
from hermes_cli.update_channel import STABLE_TAG_RE
from scripts.releases.semver import compare
-SEED = "0.21.4"
+# The legacy CalVer line published up to 0.21.5 (v2026.9.24); the pipeline continues it.
+SEED = "0.21.5"
BUMPS = ("major", "minor", "patch")
diff --git a/tests/scripts/test_release_entrypoint.py b/tests/scripts/test_release_entrypoint.py
index cc651d789d8..0f9ce9c6b17 100644
--- a/tests/scripts/test_release_entrypoint.py
+++ b/tests/scripts/test_release_entrypoint.py
@@ -67,8 +67,10 @@ def _publish_tag(repo, version, commit):
def _release(repo, commit, **overrides):
from scripts.releases.entrypoint import release
+ # Fixtures pin their own published head so they do not track the production seed.
arguments = {"bump": "patch", "repo": repo, "remote": "origin",
- "repository": "example/hermes-agent", "execute": lambda _command: None}
+ "repository": "example/hermes-agent", "execute": lambda _command: None,
+ "published": ("0.21.4", None)}
return release(commit, **{**arguments, **overrides})
@@ -694,7 +696,7 @@ def test_concurrent_claim_loser_reports_the_remote_winner_and_the_version_stays_
fresh = tmp_path / "fresh"
git(tmp_path, "clone", "--quiet", origin, str(fresh))
refs = git(fresh, "tag", "--list", "rc.*").splitlines()
- assert derive_next_version(published=None, bump="patch") == "0.21.5"
+ assert derive_next_version(published="0.21.4", bump="patch") == "0.21.5"
assert next_attempt("0.21.5", refs) == 2
diff --git a/tests/scripts/test_release_version_from_ref.py b/tests/scripts/test_release_version_from_ref.py
index cd39b466f3d..5a1555f4429 100644
--- a/tests/scripts/test_release_version_from_ref.py
+++ b/tests/scripts/test_release_version_from_ref.py
@@ -1,6 +1,6 @@
"""A ref names a version, and the next version is derived, never read from the tree.
-Derivation reads the published stable head, or the seed ``0.21.4`` before one
+Derivation reads the published stable head, or the seed ``0.21.5`` before one
exists. Attempt refs number attempts within a version and never move the line.
"""
import json
@@ -9,7 +9,7 @@ import pytest
from scripts.releases.versioning import derive_next_version, next_attempt, tag_record, version_from_tag
-SEED = "0.21.4"
+SEED = "0.21.5"
def test_final_tag_is_its_version():
@@ -83,7 +83,7 @@ def test_canary_compares_equal_to_its_stable():
def test_empty_head_seeds_the_line():
- assert derive_next_version(published=None, bump="patch") == "0.21.5"
+ assert derive_next_version(published=None, bump="patch") == "0.21.6"
assert derive_next_version(published=None, bump="minor") == "0.22.0"
assert derive_next_version(published=None, bump="major") == "1.0.0"
diff --git a/website/docs/developer-guide/stable-releases.md b/website/docs/developer-guide/stable-releases.md
index 4d1dd8329bb..5fde40d8c6e 100644
--- a/website/docs/developer-guide/stable-releases.md
+++ b/website/docs/developer-guide/stable-releases.md
@@ -13,7 +13,7 @@ files on `main`.
1. Refresh `origin/main` and the remote attempt and marker refs (`rc.*` and
`abandoned-rc.*`). Derive the next SemVer from the published release family
- seeded at `0.21.4` alone: the newer of the protected R2 stable head and the
+ seeded at `0.21.5` (the last legacy CalVer release, v2026.9.24) alone: the newer of the protected R2 stable head and the
newest published non-prerelease GitHub release with a `vX.Y.Z` tag. A
release that skipped bundles moves only the second. Attempts do not move the
version line. A cut whose next version already has a final `vX.Y.Z` tag is