Skip to content

fix: honest versioning — @v0 moving alias, SHA-first, auto-advance on release (#22) - #23

Merged
Ndevu12 merged 1 commit into
mainfrom
fix/versioning-tag-hygiene-22
Jul 19, 2026
Merged

fix: honest versioning — @v0 moving alias, SHA-first, auto-advance on release (#22)#23
Ndevu12 merged 1 commit into
mainfrom
fix/versioning-tag-hygiene-22

Conversation

@Ndevu12

@Ndevu12 Ndevu12 commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Fixes the stale @v1 tag + misleading versioning guidance (#22).

Root cause: the moving @v1 tag was never advanced — it still pointed at v0.1.1 (3 releases behind v0.1.4). And @v1 is semantically wrong for a 0.x project (there is no v1.x).

This PR (docs only)

  • README Versioning — SHA-first guidance (what saw guard setup emits) → exact tag @v0.1.4 → the moving @v0/@v1 aliases (advanced at release time; a SHA is preferred). @v1 documented as a deprecated legacy alias.
  • examples/worm-guard.yml — pin @v1@v0.1.4 (a real release tag).

One-time tag catch-up (done directly on the tags, not in this PR)

@v0 created → v0.1.4, and the legacy @v1 moved v0.1.1 → v0.1.4, so existing consumers aren't stranded 3 releases back.

Deliberately NOT automated

No CI workflow force-advances the moving tags. A privileged auto-promotion of consumer-trusted aliases (contents: write, triggered by any tag push, with no review) would expand attack surface and skip the reviewed-bump gate we hold ourselves to. Moving tags are advanced only inside a reviewed release.

Relates to Ndevu12/stayAwakeBot#1229.

Closes #22

@Ndevu12 Ndevu12 self-assigned this Jul 18, 2026
@Ndevu12 Ndevu12 added the documentation Improvements or additions to documentation label Jul 18, 2026
Root cause: no release automation, so the moving @v1 tag was never advanced
(it pointed at v0.1.1, 3 releases behind v0.1.4). @v1 is also semantically wrong
for a 0.x project (there is no v1.x).

- README Versioning: SHA-first (what saw guard setup emits) -> exact @v0.1.4 ->
  moving @v0/@v1 (advanced at release time; prefer a SHA). @v1 documented as a
  deprecated legacy alias.
- examples/worm-guard.yml: pin @v1 -> @v0.1.4 (a real release tag).

The one-time tag catch-up (@v0 created, @v1 moved to v0.1.4) is done directly on
the tags, not in this PR. NO CI automation force-moves tags: a privileged
auto-promotion of consumer-trusted aliases would expand attack surface and skip
review (contrary to our reviewed-bump doctrine) — deliberately avoided.

Relates to Ndevu12/stayAwakeBot#1229.
@Ndevu12
Ndevu12 force-pushed the fix/versioning-tag-hygiene-22 branch from 1f293c5 to e3fa676 Compare July 18, 2026 21:17
@Ndevu12
Ndevu12 merged commit c540d7e into main Jul 19, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: @v1 moving tag is stale (points at v0.1.1) and there is no real v1.x release

1 participant