On this page

0254. Release tags are create-once pushes of landed commits

Context

0244 makes publishing "push a tag", but proposed 0204 allows pushing only one writable branch: no tag push. Local hvc tags are already create-once (refs.rs tag). Only the queue advances a protected branch, after OWNERS approval and a gate.

Decision

Amend 0204 for release tags only. A remote push may create a tag named v<x.y.z> (semver core, no prerelease) when: it does not exist, or already names the same commit (idempotent); the commit is reachable from the repo's protected tip; the tagged tree's root harness.toml has [package].version = x.y.z, a non-reserved name, a known edition and no path dependencies; its pack passes 0249 and host quotas; and the actor holds the release scope. Admission, tag creation, index render and log append form one recoverable transaction with a durable receipt. Tags are never moved or deleted remotely. Other tag names are refused by remote push in v0.

Alternatives considered

Consequences

Every hosted release was approved and gated, so a stolen publish token alone cannot release. Backport releases wait for a later decision. VR6 grows a tag route (RG4.1d).