release-version
Cut one lockstep version for the whole plugin set: evaluate the bump (judgment,
below), then hand the mechanical rest to harness/release-version.sh. The
version stamps every plugin.json and the marketplace; its release date
(harness/VERSION-DATE) stamps every consumer's AGENTS.md; the v<VERSION>
tag is the reproducible snapshot and rollback point
Precondition
A clean working tree — the script refuses anything else, so the release
commit holds only the bump, its restamp, and any retired-paths append this
cycle produced. Commit the feature work first.
No pending acceptance arm. An ADR since the last tag that declares an
acceptance arm names a recorded result, or the cut waits for the sweep. The
plan-file ADR of 2026-10-20 is the form such an arm takes.
Process
- Find the baseline. The latest release tag:
```bash
git tag --list 'v*' | sort -V | tail -1
```
If none exists, survey from the commit that introduced harness/VERSION.
- Evaluate the bump from the conventional commits since the baseline
(git log --pretty='%s' <baseline>..HEAD):
| Signal | Trigger |
|---|---|
| breaking | a removed or renamed skill / agent / channel, an API spec_version change, or a commit marked ! / BREAKING CHANGE |
| feature | a feat: commit — a new skill, agent, capability, or channel |
| fix | only fix: / docs: / refactor: / chore: / build: |
The current major is 0, so the pre-1.0 rule applies: breaking → bump
MINOR; feature or fix → bump PATCH. The 1.0.0 jump is a deliberate
stability decision the user makes; never propose it automatically. (At
>= 1.0.0, standard semver: breaking → major, feature → minor, fix → patch.)
- Propose and confirm. Present the computed version with the commits that
drove it, and name any ADR since the baseline that declares an acceptance
arm with its recorded result; a pending arm stops here. Ask the user to
confirm or override.
- Run the script with the agreed version:
```bash
harness/release-version.sh <new-version>
```
It guards: MAJOR.MINOR.PATCH shape, strictly greater than harness/VERSION,
clean tree. It records the cycle's runtime retirements
(harness/retired_paths.py update), stamps VERSION + VERSION-DATE (and
the adoption guide's team-pinning ref example), runs
propagate-harness.sh, then creates the chore(release) commit and the
annotated tag.
VERSION-DATE is the deterministic release date materialize writes into
consumer AGENTS.md files; a wall-clock-at-materialize value would break
the faithfulness battery. A battery failure reverts the stamp and its
propagation wholesale (mechanics in the script), then aborts with nothing
committed — fix at source, re-run the same version.
- Stop. Relay the push commands the script prints — do not execute them
(push requires approval). After the tag is pushed, a
GitHub Release can be promoted from it later.
Verdict format
## release-version: <date>
Baseline: <last tag or "first release">
Bump: <current> → <new> (<major|minor|patch>) — <one-line reason>
Propagate: propagate-harness PASS | FAIL (<step>)
Created: commit chore(release): v<new> + tag v<new> (local, unpushed)
Next (run manually): git push origin <branch> && git push origin v<new>
What it does NOT do
- Does not push or publish. The script creates the commit and the local tag, then prints the push commands.
- Does not bump to
1.0.0on its own — that is a deliberate stability decision. - Does not run on a dirty tree — the script enforces this.
- Does not re-stamp project-owned sample briefs — those carry their
init-time version by the decoupled-version rule; the restamp covers only the harness-owned runtime and the plugins.