一键导入
release
Cut + publish a substrate-kit release — version bump PR, workflow_dispatch publish, three-way asset verification, adopter distribution wave.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Cut + publish a substrate-kit release — version bump PR, workflow_dispatch publish, three-way asset verification, adopter distribution wave.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Turn a raw backlog item into a turnkey recipe or an owner ask — chase its origin, state the fuller picture, classify buildable/owner-gated/dead, write the sized recipe with acceptance + traps, and retarget the baton. Makes the standing 'when no executable work is left, plan' order turnkey.
Land the session — claim, born-red card first, READY PR, batched work, close-out docs, flip complete last; land on green.
Roll a kit release out to one adopter repo — download, sha256 three-way, banked rollback, carve-out scan, born-red PR, tree-verified merge.
Resolve every reference in the ask before acting — inventory, resolve or search each one, report unfindables explicitly, state the assembled picture back (Q-0273 seed skill).
Hand the owner finished steps, not directions — deep links, paste-ready blobs, his path walked once, one batched sitting, payoff + verification stated (Q-0273 seed skill).
The checkpoint at natural pauses — should this action also be executed? does this lesson deserve a permanent home shippable NOW? Route via the table (Q-0273).
| name | release |
| description | Cut + publish a substrate-kit release — version bump PR, workflow_dispatch publish, three-way asset verification, adopter distribution wave. |
Cut and publish a substrate-kit release — the kit cut runbook, executable
(canonical prose: docs/operations/release-runbook.md). Kit-repo-specific
by nature: the commands below run in the kit repo, the source of the
releases superbot-games consumes.
Takes CHANGELOG.md [Unreleased] to a published GitHub Release with
byte-verified assets: version bump PR (born-red), workflow_dispatch publish,
three-way post-release verification, then adopter notification via
distribution PRs.
[Unreleased] in
CHANGELOG.md; decide the semver class (MAJOR = planted-doc / state /
config / CLI break · MINOR = new capability · PATCH = fixes).control/claims/ (one file, e.g.
release-vX.Y.Z.md) on main first; cut the bump branch from post-claim
main; born-red card as first commit; open the PR READY; land it on green
(merge directly or via the enabler).src/engine/lib/config.py (KIT_VERSION) and pyproject.toml
(version). CHANGELOG: rename [Unreleased] to the new [X.Y.Z]
dated section, add a fresh empty [Unreleased] above it, and keep the
machine comment (breaking / state_migration / min_upgrade_from)
accurate — the release workflow refuses a version with no CHANGELOG
section.python3 src/build_bootstrap.py, then
git diff --exit-code dist/bootstrap.py must be clean; commit the
regenerated dist (CI rebuilds and byte-compares).python3 -m pytest tests/ -q green ·
python3 -m ruff check src/engine/ clean ·
python3 src/build_release_json.py --version X.Y.Z --verify-only
reports preconditions green ·
python3 dist/bootstrap.py check --strict (only acceptable red = own
card's designed hold). Flip the card complete as the last commit; the
server-side enabler merges on green.gh workflow run release.yml -f version=X.Y.Z. The run creates the
annotated tag vX.Y.Z in-Actions and publishes the Release with three
assets: bootstrap.py, bootstrap.py.sha256, release.json.git fetch --tags && git tag -l vX.Y.Z; the assets are published:
gh release view vX.Y.Z; independently download the released
bootstrap.py and its sha256 must equal BOTH the sha256 field in
release.json AND the committed dist/bootstrap.py at the bump SHA
(three-way, byte-identical). Record run id, tag, commit SHA, and hash
in the release record.upgrade-distribution skill per adopter (one born-red PR each);
registry regen python3 dist/bootstrap.py currency refreshes
docs/adopters.md; write the control/status.md release record;
delete the claim.vX.Y.Z · bump PR #<n> merged @ <sha> · release run <id> · tag vX.Y.Z @ <sha> · sha256 <hash> (3-way ✔) · adopters: <one outcome line per repo>
Known failure modes + fixes:
KIT_VERSION / dist header / CHANGELOG
disagree — fix the version homes, never the guard.release.json carries the yank note.Declared capabilities: edit (version homes + CHANGELOG + docs), run (build + git + gh).