The release flow — merge train into develop, vibey-gh promote to main, vibey-engine.yml and krypton-app.yml publishing (develop to TestPyPI, main to PyPI), github-release.yml tags, and release-surfaces.yml docs, book and paper. Read before cutting a release.
Install
npx skillscat add the-vibey-project/vibey/vibey-releasing Install via the SkillsCat registry.
vibey releasing
vibey-gh owns the release (ADR-0028). There is no release-please step and no
hand-run publish. The version is derived, not chosen: vibey-gh version reads
what changed against [version] content_paths and code_paths in.vibey-gh.toml and answers major, minor, patch, or nothing. vibey-gh promote
applies that answer. The changelog is written as fragments, one file per change,
and the release commit folds them in.
Every workflow on the release path installs the tree's own vibey-gh from the
declared [install] self_source = "src/vibey_tools/gh", and falls back to
installing vibey-engine from PyPI -- which carries vibey-gh (ADR-0037) -- only when
that path does not hold the package. A change to vibey-gh therefore changes the
release path on the next push.
Where a release goes
PyPI is not the finish line. These are command-line applications, and someone
installing a CLI reaches for brew install or winget install -- that it is
written in Python is an implementation detail they should not have to care about.
Publish to every registry that can carry it, and treat the channel as part of
shipping rather than a follow-up. Every packaging definition -- formula, PKGBUILD,
snapcraft.yaml, nuspec, winget manifest -- is to live in this repository and be
published by automation, never hand-edited in a tap (ADR-0018, ADR-0019,
sub-doctrine 2.b). A stale formula is worse than no formula: it installs an old
version silently.
As of 2026-09-15 none of those packaging definitions exist yet. The channels
this repository publishes today are:
vibey-engineon PyPI (frommain) and on TestPyPI (fromdevelop) —vibey-engine.yml.
It carries the whole engine family (ADR-0037, renamed by ADR-0069)krypton-app, the apps and thekryptoncommand, on the same two channels —krypton-app.yml. Exactly these two packages publish (sub-doctrine 9.e, ADR-0069);
novibeypackage does- An OCI release bundle of the exact wheel and sdist at
ghcr.io/<owner>/<repo>/python—release-surfaces.yml - The documentation site, book and paper —
release-surfaces.yml(below) - A Git tag and GitHub Release per released version —
github-release.yml
The container image (deploy/docker/Dockerfile) and Helm chart
(deploy/helm/vibey) are defined and tested in CI (image, cluster-smoke) but
not pushed to a registry by any workflow. ADR-0019 is the backlog for the rest.
Note what publishing does and does not mean per target. dpkg, rpm andapk-tools are formats, not registries. podman wants an OCI image, which this
repository already builds. npm, Maven, Cargo and the rest cannot carry a Python
library at all -- only a wrapper that fetches the CLI, which is a different
promise and has to say so. See ADR-0019 for the grouping and the order.
The workspace tenants (claudeloop, codexloop,qwenloop — which ships the gptossloop and qwenloop scripts — vibey-gh,vibey-skills, vibey-bootstrap) are no longer separate
PyPI distributions. Their source lives in this repository (ADR-0021) and they ship
inside the vibey-engine wheel (ADR-0037, ADR-0069), so vibey-engine.yml publishesvibey-engine and that one package is the whole engine family. A tenant's own version in itspyproject.toml is an in-tree marker, not a release.
Conventional Commits (enforced)
Every commit message must follow Conventional Commits format. A commit-msg hook
rejects anything else:
feat: add support for GitHub Actions deployment
fix: prevent race condition in lease renewal
docs: update handoff protocol spec
chore: bump dependencies
test: add property test for rotation fairnessScopes are optional but recommended for large changes:
feat(domain): add media provider round-robin cursor
fix(cli): correct --cwd handling in run commandBreaking changes carry a ! or a BREAKING CHANGE: footer:
feat!: require Python 3.12+
BREAKING CHANGE: Python 3.12 is now required.Why this matters: commit messages reach the version in exactly one way —
a breaking marker — and nothing else about them is read. The minor/patch/nothing
part of the answer is derived from which paths changed, never from commit types.
Conventional Commits are still enforced for a legible history and because the
provenance gate reads every commit in a range — which is why the automation's own
release commit is chore(release): x.y.z.
A breaking change is derived, and this is the one place commit text reaches
the version: a BREAKING CHANGE: / BREAKING-CHANGE: footer, or a ! before the
colon in a subject, anywhere in the released range escalates the answer to
major. vibey-gh reads that marker with the same parser it uses when it
flattens a branch, so the commit it writes and the version it derives can never
disagree. Nothing else about the message is read: the minor/patch/nothing part of
the answer is still derived from which paths changed.
How the version is derived
uv run vibey-gh version --since origin/main --explain prints the answer and why.
It compares origin/main to HEAD, ignores files whose only change is the
provenance header, and then:
- any changed file under
[version] content_paths→ minor - otherwise, any changed file under
[version] code_paths→ patch - otherwise (docs, workflows, tooling only) → nothing to release
- and then, only if one of the first two matched, a breaking marker anywhere in
the range escalates that answer to major
The order is the implementation's, not a presentation choice. A marker never
creates a release: docs!: … still answers "nothing to release", because a
break is a promise about an interface somebody installed and a range that ships
nothing has no interface to break.
Since the whole tree ships as one package, vibey-engine (ADR-0037, ADR-0069), content_paths must
cover every prefix whose content reaches an installed user: src/vibey/, each
runner's and tool's package root, and the skills marketplace tree. It deliberately
does not cover a tenant's docs/ or tests/, which change nothing a user
installs. code_paths must include pyproject.toml, because the root manifest now
decides what ships, and clients/, because every release attaches the clients'
builds, so a change to the clients alone derives a patch (#1348). Left narrower than that, a release that touches only tenants
classifies as "nothing to release" and republishes the current version intoskip-existing — a green run that publishes nothing. The literal prefixes are in.vibey-gh.toml; read them there rather than from memory, because startswith
matching cannot express a glob and the list is spelled out. If the version on HEAD already differs from origin/main, the
derivation leaves it alone.
[version] files lists what a bump writes: pyproject.toml andsrc/vibey/__init__.py. vibey-gh's apply_version also re-runs uv lock whenuv.lock is present, because the lock carries vibey's own version and CI'suv-lock job runs uv lock --check before the other jobs.
Release workflow
PRs land on
developthrough the merge train.pr-evaluate.yml
re-evaluates a PR each timeCIorProvenancecompletes, and dispatchespr-review.ymlwhen a review is called for;merge-train.ymlruns each time aPR reviewrun completes, deliberately
whatever its conclusion (with a weekly Monday cron and manual dispatch as
backstops);vibey-gh merge-trainmerges only PRs whose head carries a
successfulPR automation / gate. PRs intodevelopare squash-merged. Never implement onmain.Every push to
developpublishes a dev build.vibey-engine.ymlstampsx.y.z.devN(vibey-gh version --dev <run number> --apply), checks that the
project is namedvibey-engine(pyproject.toml says so itself; nothing is renamed
in the runner), publishes to TestPyPI via OIDC trusted publishing (environmenttestpypi), andverify-testpypiinstalls that exact version and runsvibey --version.krypton-app.ymldoes the same forclients/krypton-app
whenever that tree changes, and its verify job runskrypton --help.Promotion is automatic.
promote-to-main.ymlruns after the merge train
completes (weekly Monday cron backstop; manual dispatch withdry_run). It runsvibey-gh promote, which:- compares
developandmainby tree content and stops if they are identical; - derives the version on
developand, when a bump is due, commitschore(release): x.y.z(version files plusuv.lock, and the changelog:
fragments folded in and deleted,## [Unreleased]cut to## [x.y.z] (date))
and pushes it todevelop, raising if the push fails; - opens or reuses the
develop→mainpromotion PR, titledchore(release): <version>.
The PR-automation gate and merge train then merge the promotion PR once its
checks pass, with rebase (promote.DEFAULT_METHOD = "rebase"; the merge
train uses rebase for any PR based onmain). Becausemainis rebase-merged,
its commits are rewritten copies with new SHAs.- compares
Every push to
mainpublishes to PyPI.vibey-engine.ymlbuilds the wheel
and sdist and publishesvibey-engineto PyPI via OIDC trusted publishing
(environmentpypi,skip-existing: true);krypton-app.ymlpublisheskrypton-appthe same way.mainrealignsdevelop. Therealignjob runsvibey-gh realign, which
convergesdevelopontomainonly when the two trees are identical. It skips
with a notice whenAUTOMERGE_TOKENis not set — harmless, since promotion
compares branches by content.After a successful Release run on
main,github-release.ymlrunsvibey-gh github-release --target <sha>: it creates the immutable tag<tag_prefix><version>([github_release] tag_prefixisvibey-vhere, sovibey-v3.3.0; the default isv) and the GitHub Release, and never moves an
existing tag. A manual dispatch must prove the
target SHA is onmainand has a successful Release run.After a successful Release run on
developormain,release-surfaces.ymlpublishes the documentation surfaces and the OCI bundle
(see "The workflows").After a successful Release run on
main,release-binaries.ymlbuilds every
client targetscripts/release_binaries.tomldeclares, writesSHA256SUMS,
attests each file's build provenance and attaches them to that GitHub Release
(docs/guides/downloads.mdlists them);openvsx.ymlpublishes the VS Code
extension to Open VSX. Both are workflows of their own, so neither can fail the
release.
To preview what the next promotion will do, runuv run vibey-gh version --since origin/main --explain, or dispatchpromote-to-main.yml with dry_run.
A ratified change to the doctrine canon is also a release event: Article V.4 of
the constitution (src/vibey_tools/gh/docs/constitution.md) requires every prior
release to be yanked. See the vibey-architecture skill.
The changelog
Never edit CHANGELOG.md by hand. Every PR editing the same## [Unreleased] lines made concurrent PRs conflict on every merge, and the oldmerge=union attribute never helped on GitHub, whose mergeability does not run
it. The changelog is written as fragments instead ([changelog] in.vibey-gh.toml): the PR that lands a user-visible change adds one new file,changelog.d/<slug>.<type>.md beside the changelog it belongs to
(src/vibey_tools/gh/changelog.d/ for vibey-gh's own), holding the entry exactly
as it should read, bullet included:
* **gh:** what changed, for whom, and why it matters
([#1303](https://github.com/the-vibey-project/vibey/pull/1303)).The slug is letters, digits, - and _ (the PR number or a short name); the
type is one of breaking, feature, fix, perf, refactor, removed,docs, chore, which files it under ### BREAKING CHANGES, ### Features,### Bug Fixes and so on. No heading inside a fragment.
vibey-gh promote folds every fragment into ## [Unreleased] under its heading
in the release commit, deletes it, and cuts the section to ## [x.y.z] (date)
with a fresh ## [Unreleased] above (vibey-gh's own changelog is folded but never
cut: its releases are the GitHub Releases). No hand step. uv run vibey-gh changelog assemble does the fold alone, idempotently, if you want to preview it.
The Changelog fragment check (changelog.yml) refuses a PR into develop that
changes a shipped path ([changelog] require_for) without adding a fragment, adds
a malformed one, or edits an unreleased section directly. Label the PRno-changelog when no reader of the changelog would miss the change; the label
never excuses a malformed fragment or a hand edit. The check creates the label
itself (vibey-gh changelog ensure-label), so it always exists.
Entries 0.2.0 through 0.6.0 were reconstructed from the release commits on
2026-09-15; a released version without an entry is a documentation bug.
Documentation surfaces
The documentation ships with every release channel, so treat it as release
content:
- Site:
properdocs.ymlat the repository root drives the ProperDocs build ofdocs/.docs/plans/**is excluded on purpose (working material, not
reference). A page not listed undernavis still built but is not reachable
from the navigation. - ADRs: a new decision record is
docs/architecture/decisions/NNNN-slug.md
with the next contiguous number and a**Status:** · **Date:**line. It must be
added to theproperdocs.ymlnav, and the "(N ADRs" count inCLAUDE.md,AGENTS.md,GEMINI.md,README.mdanddocs/index.mdmust match the files on
disk.tests/meta/test_adr_counts.pyenforces all three. - The AI-reader index:
docs/llms.txtis generated from theproperdocs.ymlnav bypython scripts/llms_txt.py(configuration inscripts/llms_txt.toml), so every nav
edit -- a new page, a new ADR -- is followed by that command in the same change.tests/meta/test_llms_txt.pyruns--checkand fails until it is (ADR-0076). - Per-page descriptions: a page's
description:front matter becomes its meta
description throughdocs-theme/main.html; a page without one is described by the
publishing workflow's site-wide sentence. - Paper:
docs/paper.mdis the source for both the HTML page (/paper/) andpaper.pdf.
Every update to the paper passespython scripts/paper_publishability.py check
before it lands and before it is published:tests/meta/test_paper_publishability.py
runs it on every pull request, andrelease-surfaces.ymlruns it again, as the[documentation] paper_gatedeclared in.vibey-gh.toml, before the paper's figures
are rendered. The criteria it checks, and the reviewer's rubric for what no script can
judge, are thejournal-publishability-criteriaskill in vibey-skills'writing-craft
plugin. - Book: generated from the built channel site by
vibey-gh book; there is no
separate book source. A page added to the site is in the next book. - Agent surfaces: every skill exists in four trees —
.claude/skills/,.agents/skills/,.cursor/rules/,.agent/rules/— and a change to one lands
in all four in the same PR.
A deliberate bump
Use this only when the train is down. A major bump is not a reason: derive it
with a breaking marker, so the number the repository carries is one the machine
can reproduce.
uv run vibey-gh version --since origin/main --explainto see the derived answer.- Pass
--applyso the tool writes it.apply_versionalso re-runsuv lock
and re-renders every managed workflow whosepip installpin this repository's
version decides — both are functions of that number, and a bump that leaves
either stale fails the very gates the promotion needs. It folds and cuts the
changelog too, exactly aspromotedoes. Editing the two files by
hand means doinguv lockandvibey-gh installyourself, in the same commit. - Commit with
chore(release): x.y.z— the exact subjectvibey-gh promote
writes. - Land it on
developthrough a PR.vibey-gh promotesees thatdevelop
already differs frommainin version, leaves the bump alone, and still opens
the promotion PR.
Verifying the publish
After main builds:
- Check the
Releaserun in GitHub Actions, thenGitHub Release,Release surfaces,Release binariesandOpen VSX. - Verify PyPI: https://pypi.org/project/vibey-engine/ and https://pypi.org/project/krypton-app/
- Install and test:
uv venv --python 3.12
source .venv/bin/activate
pip install vibey-engine==x.y.z
vibey --version
# the bundle is the contract now (ADR-0037): every console script must be there
for c in vibey vibey-gh vibey-skills vibe-skills vibey-bootstrap azbootstrap \
claudeloop codexloop gptossloop qwenloop; do
command -v "$c" >/dev/null || echo "MISSING: $c"
done- Check the published surfaces for the
mainchannel:- Documentation: https://the-vibey-project.github.io/vibey/main/
- Paper: https://the-vibey-project.github.io/vibey/main/paper/ and
https://the-vibey-project.github.io/vibey/main/paper.pdf - Book: https://the-vibey-project.github.io/vibey/main/book.pdf,
https://the-vibey-project.github.io/vibey/main/book.epub,
https://the-vibey-project.github.io/vibey/main/book-print.html
- Check the release's files: every file
docs/guides/downloads.mdlists is attached
(a target built only while a credential is set may be missing, with its tracking
issue open), and in a folder holding them all:
gh release download vibey-vx.y.z --repo the-vibey-project/vibey
shasum -a 256 --check --ignore-missing SHA256SUMS
for f in $(awk '{print $2}' SHA256SUMS); do
gh attestation verify "$f" --repo the-vibey-project/vibey >/dev/null || echo "UNATTESTED: $f"
done The attestation is per listed file, not on SHA256SUMS itself. Then check that
Open VSX lists the-vibey-project.krypton at the extension's version.
For a develop push, the verify-testpypi job already installs the dev build.
On TestPyPI, read the release history of vibey-engine and krypton-app, not
their "latest" version: dev builds (x.y.z.devN) are pre-releases, so a project
page shows the last final version uploaded there while dev builds keep landing.
(vibey-dev is the retired TestPyPI name of the builds before ADR-0069.)
Common issues
Nothing ran on main after a promotion: a commit message carrying a GitHub
skip marker (a bracketed skip-ci spelling, or a skip-checks trailer) makes GitHub run
no push workflow for it -- no CI, no publish, no tag, no documentation, and nothing red.
3.0.0 hit this when #1244 was squashed by hand and GitHub's default body concatenated
old estimate subjects that quoted the marker. Recover by dispatching vibey-engine.yml
and krypton-app.yml on main (every publishing job is gated on github.ref, so a
dispatch publishes exactly what the push would have). Three things now keep it from
recurring: main accepts rebase merges only ([rulesets.release] allowed_merge_methods), a squash proposes the pull request's own title and body
([repository_profile] squash_merge_commit_*), and skip-markers.yml ("No skip
markers") refuses a marker in any commit, title or body on its way into develop ormain. Write about the marker in prose; never quote it in a message.
The PyPI publish succeeded but there is no tag, GitHub Release or docs:github-release.yml and release-surfaces.yml follow only a successful Release
run, so any failing job of vibey-engine.yml withholds all three. Optional channels
therefore live in workflows of their own: the Open VSX publish is openvsx.yml, run
after a successful Release on main; without OVSX_PAT it warns and keeps one
tracking issue open rather than failing anything. With the token it first creates the
publisher's Open VSX namespace (the-vibey-project) when it is missing, treating only
"already exists" as success, so the first publish of the-vibey-project.krypton needed no
hand step (0.2.0, with 3.3.0).
develop is red: branch-health.yml keeps one issue per permanent branch open
while a CI push run fails one of its required checks, and closes it when the tip is
green. Fix the branch before merging over it.
Version didn't change on PyPI: the derivation found nothing under[version] content_paths or code_paths (docs, workflow and test changes release
nothing), or the bump was never pushed. An unbumped version with skip-existing: true is a green run that
publishes nothing.
uv-lock fails after a version change: the lock carries vibey's own
version. Run uv lock and commit it with the bump.
Publish failed: check the Release run. Common causes: OIDC trusted
publisher not configured for the pypi/testpypi environment, wheel build
failed, or the in-tree vibey-gh rejected .vibey-gh.toml.
Promotion PR does not merge: the checks must pass on the promotion head, and
a ruleset that requires an approving review needs AUTOMERGE_TOKEN (a token whose
owner holds the required ruleset role).
develop didn't realign after a release: check whether AUTOMERGE_TOKEN
is set — the realign job skips (not fails) without it. To realign by hand, and
only when the trees match: git push --force-with-lease origin main:develop.
CHANGELOG.md doesn't mention the shipped version: the release commit cuts## [x.y.z] (date) from whatever fragments had landed; a change that shipped
without one was merged without a fragment (labelled no-changelog, or before
fragments existed). Add the entry as a fragment in a follow-up PR; it lands in
the next version's section (see "The changelog").
The workflows
.github/workflows/pr-evaluate.ymlandpr-review.yml— the split PR
automation:pr-evaluate.ymltriages the exact head on eachCI/Provenance
completion and publishesPR evaluate / gate;pr-review.yml, which it dispatches,
runs the exact-head review and publishesPR review / gate..github/workflows/merge-train.yml— merges ready PRs (squash intodevelop,
rebase intomain)..github/workflows/promote-to-main.yml—vibey-gh promote..github/workflows/vibey-engine.yml—buildon every push todevelop/main;testpypi/verify-testpypiondevelop;pypiandrealignonmain..github/workflows/krypton-app.yml—build(tests and wheel) forclients/krypton-app;testpypi/verify-testpypiondevelop,pypionmain..github/workflows/github-release.yml— tag and GitHub Release after a
successfulReleaseonmain..github/workflows/release-surfaces.yml— after a successfulReleaseondevelopormain(or manual dispatch per channel):- the ProperDocs site for that channel at
https://the-vibey-project.github.io/vibey/<channel>/, all channels on one
GitHub Pages deployment with a channel chooser at the root; - the book (
vibey-gh book→book.epubandbook-print.html, plusbook.pdf
when Chromium is available on the runner); - the paper (
docs/paper.md, served aspaper/, andvibey-gh paper→ LaTeX →paper.pdf); - the OCI bundle
ghcr.io/<owner>/<repo>/python:<version>, also tagged with the
channel andsha-<commit>, andlatestonmain.
- the ProperDocs site for that channel at
.github/workflows/provenance.yml— the server-side provenance check on every
push and PR..github/workflows/automation-bootstrap.yml— the admin-only recovery path for a
PR that repairs a broken privileged gate..github/workflows/openvsx.yml— the VS Code extension to Open VSX, after a
successfulReleaseonmain; outsideReleaseso it can never fail the tag..github/workflows/release-binaries.yml— every client's build for the release,
after a successfulReleaseonmain: the targets inscripts/release_binaries.toml,SHA256SUMS, a provenance attestation per file, attached to the GitHub Release;python scripts/release_binaries.py checkholds the workflow and the downloads page
to that file..github/workflows/skip-markers.yml—No skip markers, on every pull request and
merge-queue group intodevelopormain..github/workflows/changelog.yml—Changelog fragment,vibey-gh changelog check
on every pull request intodevelop..github/workflows/branch-health.yml— one tracking issue per red permanent branch..github/workflows/ruleset-drift.yml—vibey-gh rulesets --check, read-only, daily
and on every change to.vibey-gh.toml.
All but automation-bootstrap.yml (manual dispatch only) are triggered by pushes,
pull requests, workflow completions or schedules. Dispatch one by hand only to
recover or debug -- vibey-engine.yml and krypton-app.yml accept a dispatch for
exactly that.