release
Lean CLI release: commit pending code, push, run harnez release, fix issues or ask on login
Lean CLI Release
Triggered by /release. Narrower than /publish (see commands/publish.md) — no
website sync, no liveness probe. Use for a routine CLI/binary version bump; use
/publish when website sync or a full multi-stage confirmation gate applies.
Reference Practice: @docs/practices/GoRelease.md
Steps
- Commit pending code:
git status. Commit any uncommitted changes on the current branch. If strayissues/ordocs/changes are mixed in, follow the same authorship/sanity-check bar as/commit. Withgit.protected_mainin.harnez/repo.yaml, those commits go through a PR first, somainis level with its remote before you release. - Push:
git push. (Skip underprotected_main:harnez releasepushes the branch and tag itself. If the forge rejects the push tomain, stop and report it. Seedocs/GoRelease.mdfor therelease/vX.Y.Zroute.) - Release: run
harnez release. - On failure:
- If it fails because a login/auth step is needed (e.g. forge token, minisign
key), stop and ask the user to complete that step — do not attempt to work
around auth interactively.
Forge token errors suggest
fj auth login; after login, resume withharnez release --continueso a complete signeddist/is reused. - Resume lists remote assets and prints
exists, skippedfor existing names. Local archives must match publishedSHA256SUMS; checksum conflicts require manual recovery. Never delete remote assets automatically or rebuild a valid signed set to work around a conflict. Missing local files trigger rebuilding. - For any other failure, diagnose and fix (failing test, dirty tree, version spec issue) and retry once. Escalate to the user if the second attempt also fails.
- If it fails because a login/auth step is needed (e.g. forge token, minisign
key), stop and ask the user to complete that step — do not attempt to work
around auth interactively.
Forge token errors suggest
- Report the resulting tag/version and confirm the push succeeded
(
git ls-remote --tags origin <tag>).
- Content
- file-backed
- License:
- AGPL-3.0-or-later
- Origin
- first-party
- Source:
- docs/commands/release.md
- Source revision
3cb914dfaf6c43cbbbc43868d6b47c2cc7516c22- Requires
- Targets
- codex, claude
- Invocation
- /release
Related skills
- bug-hunt — Run a bug hunt over active P1/P2 bug tickets: re-verify each against live code, close obsolete ones, fix the rest the way forward. Only on explicit /bug-hunt or 'bug hunt'.
- decide — Session-scoped autonomy for the orchestrating agent: answer simple questions yourself, consult cheap or smart advisors, push ready work without asking, and stop only for very critical questions. Only on explicit /decide.
- docup — Review and update bounded repository documentation by category (testing, architecture)
- epic — Plan, refine and run epics with open-epic checks, affinity grouping, internal goal setting, and file/run/next modifiers. Only on explicit /epic or 'epic'.