版本发布流程
release-process
暂无简介
- License 许可
- Apache-2.0
- 所属仓库
- google/capsem
- 最近更新
- 2026-11-14
- Stars
- ★ 186
- Forks
- 26
02 资源文件 8
- 参考文档references/apple-signing.md4.6 KB
- 参考文档references/ci-invariants.md21.5 KB
- 参考文档references/installation-verification-and-retry.md9.4 KB
- 参考文档references/lane-workflows.md7.8 KB
- 参考文档references/post-release-verification.md7.0 KB
- 参考文档references/qualification-and-test-composition.md18.0 KB
- 参考文档references/release-graph.md8.2 KB
- 参考文档references/versions-and-commit-discipline.md3.6 KB
03 SKILL.md 正文
Release Process
Manifest handling
Read the manifest model in RELEASE.md, then use
references/release-graph.md for concrete paths, authoring tools, retirement,
and verification mechanics. Do not infer a selection from ambient cache or
workflow state while diagnosing a release.
Release authority
Read root RELEASE.md before changing release commands,
manifests, workflows, test composition, artifact publication, or update
behavior. This skill routes implementation work and preserves operational
lessons; it does not restate product policy.
Reference routing
- Read
references/qualification-and-test-composition.mdbefore changing public release commands, source guards, sandbox/egress, execution-envelope or workflow/shell parity, test composition, artifact staging,RuntimeContent, or--force(explicit operator override of clean-tree and local-journal checks). - Read
references/lane-workflows.mdbefore changing channel locking, preview deployment, runtime/binary ownership, nightly sequencing, staged activation, base-image materialization, or corporate authoring. - Read
references/release-graph.mdbefore changing graph generation, channel membership, manifest authoring, immutable identity, or public activation. - Read
references/installation-verification-and-retry.mdbefore changing evidence/integrity rules, native package acceptance, installed status, artifact retention, live validation, retry, diagnostic continuation, or Cloudflare deployment checks. - Read
references/ci-invariants.mdbefore editing release workflows, platform/toolchain/scanner setup, Docker/storage behavior, package rails, or hosted-runner capacity. It contains the hard-won parity lessons. - Read
references/apple-signing.mdbefore touching signing, notarization, certificates, Tauri keys, Apple agreements, or release CI secrets. - Read
references/post-release-verification.mdafter any public deployment and before changing the public installer, transition, or glow-up proof. - Read
references/versions-and-commit-discipline.mdbefore changing release notes, binary/runtime versions, compatibility bounds, runtime revision identity, release-set identities, or release commit practice.
Operational entrypoints
Use the public command forms defined by RELEASE.md:
just release-binaries <channel> <source-commit>
just release-assets <channel> <source-commit>
Do not dispatch downstream workflows or author source manifests by hand.
Run just test <source-commit> to success first: both commands refuse a
source without a complete, passing journal on this machine, because a hosted
attempt takes hours to find what the local glow-up and functional lanes find in
minutes. The hosted lane still qualifies what it publishes. Only the
unattended nightly scheduler ([release].unattended_channels) is exempt by
default. An explicitly authorized release force can instead follow focused
verification of a test-only deadline or fixture fix; it retains Citadel,
release contracts, fresh advisory audits and complete hosted qualification.
Record the earlier proof and delta honestly. Failed or interrupted runs never
count as complete proof.
The proof is matched by source identity, the Git tree (every tracked byte,
lockfile, and submodule pin), so the intended flow is: fix on a branch, run
just test <branch-head> there, then get it onto main one of two ways:
- fast-forward
mainto the tested commit, and release that commit; or - merge the PR, and release the merge commit only when its tree equals the
tested tree (
git rev-parse <merge>^{tree} <tested>^{tree}prints one hash twice). A merge that brought in anything else has a different tree and is refused; test the merge commit itself.
Use focused tests during ordinary development. The release commands and complete local test own their sandbox, egress, machine lock, journal, and teardown, so do not nest or wrap them.
For failures, select the reference matching the affected boundary above.
Diagnostic continuation, CI-only --force, graph retirement, signing,
Cloudflare recovery, and installed transition checks all have narrower rules
in those references. When a reference appears to change product behavior,
reconcile it against RELEASE.md and the executable contract tests first.
Tested operational handoffs
Runtime assets travel as one RuntimeContent root. Package construction,
Debian proof, macOS Tart/physical-VZ proof, and final install/glow-up must
derive the assets path from that one value and validate it before Docker or
Colima. Release CI stages raw manifest inputs into that root on the host; the
sealed proof never rematerializes them or falls back to the checkout's
assets selector.
Linux package replacement embeds deb-preinst.sh as DEBIAN/preinst.
Ordinary replacement uses systemctl --user stop capsem.service and retires
the stale helper cohort before package replacement. When /proc/self/cgroup
proves that the old service owns the update, preinstall preserves the old
cohort and postinstall defers manifest hydration, status refresh, service
registration, and readiness so that service can activate the verified
candidate and request its managed restart.
Version and commit essentials
Read references/versions-and-commit-discipline.md for release-note,
versioning, compatibility, and commit mechanics. Stage explicitly with a
conventional subject and never stage release secrets.
04 同仓库更多 Skills
Capsem 虚拟机任务执行
use-capsem
通过 MCP 在 Capsem 虚拟机中运行任务。在智能体需要隔离执行、文件分析,或将报告返回到主机时使用。
营销网站内容维护
site-marketing
营销网站 capsem.org。在编辑文案、添加板块或更改网站主题时使用。
文档站基础设施维护
site-infra
文档站点 docs.capsem.org。用于面向用户的 Diátaxis 文档和 Astro Starlight 相关更改。
站点架构设计
site-architecture
暂无简介
智能体技能创建与优化
meta-skill-creation
创建、改进和评估技能。在编写新技能、编辑现有技能或调整 description 以优化触发效果时使用。
技能目录组织与维护规范
meta-organize-skills
skills/ 目录的约定规范。在创建、重组或维护技能目录布局、符号链接以及跨智能体的技能发现时使用。