← 返回列表
全部 Skill›开发 Development›openclaw-changelog-update

openclaw-changelog-update

作者 @openclaw · 语言 en
Regenerate OpenClaw release changelog sections from git history before beta, stable, or extended-stable releases.
开发 Development包管理与发布通用执行命令访问网络待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
395,109
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

OpenClaw Changelog Update

Use this for changelog rewrites and GitHub release-note source text. For regular

beta/stable, prepare complete notes before final-source qualification when

possible; Code SHA may then also be Release SHA. Editorial work may overlap

Code validation. Do not rerun it per validation-recovery backport; when backports

replace the Code SHA, rerun it once after the final Code SHA is green, as a

genuine CHANGELOG-only descendant under the existing product-evidence reuse

policy (timing). For

extended-stable, run it before final exact-head validation and tagging. Do not

rerun it for tooling retries, resumed publication, or promotion.

Use it with release-openclaw-maintainer; this skill owns changelog content,

ordering, grouping, and attribution discipline.

Goal

Rebuild the target CHANGELOG/<version>.md release section from a complete, generated

history manifest, not stale draft notes. Produce grouped user-facing release

notes sorted by user interest while preserving every relevant issue/PR ref and

every verified human Thanks @... attribution.

CHANGELOG.md is the generated release index. The shared owner

scripts/lib/release-changelog.mjs resolves release sections and contribution

records from a working tree or a pinned Git ref, including historical refs

that still contain a monolith. Use `node scripts/release-changelog.mjs read

--version <version> [--ref <sha-or-tag>] for a section, or add --record` for

its contribution record. A missing split artifact must not fall back to the

root index. Historical releases without records gain no invented provenance.

Generated CHANGELOG/** files retain exact migrated or mirrored bytes and are

excluded from generic formatting, like the root changelog. Validate them through

their owner with pnpm changelog:check.

Current writes use the split layout. To save a complete initial section, use

node scripts/release-changelog.mjs write --version <version> --file <section.md>;

it updates the release entry, matching CHANGELOG/records/<version>.md when

present, and index together. Initial generation retains the section format

below. Published docs mirrors follow the separate post-release route at the end

of this skill; initial generation must never overwrite them.

Inputs

  • Target version: exact YYYY.M.PATCH-beta.N for a beta delta; YYYY.M.PATCH

for cumulative stable notes. Beta entries and records are separate frozen

artifacts, never copies of the stable-base section.

  • Beta base tag: capture the version currently selected by public npm

openclaw@beta before publication, not the last GitHub prerelease or the

highest beta-suffixed version. The selector may name a stable version also

selected by latest. Omit --base (or use --base npm-beta) with an exact

beta version to resolve it once; preserve the resolved tag from the generated

manifest and reuse that explicit --base for edits, verification and recovery.

If npm already selects the candidate or a newer version, generation refuses

to guess historical selector state; supply the previously captured tag. When

that tag is not an ancestor (for example a stable closeout forward-port), the

verifier inventories the full target history absent from that shipped tag and

subtracts its recorded PRs through --shipped-ref semantics. The manifest and

record retain both boundaries; replay with the captured tag to resolve the

same range, never select an older GitHub beta instead.

  • Stable base tag: the previous published regular stable release, even when

its branch diverges from the target. Omit the base (or use npm-stable) to capture

public npm's current openclaw@latest before publication. As with beta, a selector

already at or beyond the candidate requires the previously captured explicit

tag; local tag ordering is not proof of publication. Extended-stable requires

an explicit previous published tag on its maintenance line (the selected

regular-stable cut for that line's first release), never the current regular

latest. A main-closeout SHA is not a shipped boundary: the

v2026.11.4 → v2026.11.5 incident

showed that it can omit unreleased beta development that landed before

closeout. Explicit ancestral SHAs remain

readable for historical replay with a diagnostic, not recommended for new notes.

  • Divergent histories: keep the selected tag as base in the manifest and public

contribution provenance; mergeBase is separate traversal information. Inventory

every commit in base..target, including merged side branches, canonicalize PRs,

handle reverts, then subtract proven shipped contributions. Never replace the

selected release with its merge base or the nearest reachable older release.

  • Target ref: the exact product-complete history being documented. Its

contribution-record target must be an ancestor of the final release target;

it need not name a not-yet-created changelog commit. Include any later fixes

before finalizing notes. Final notes may be committed before qualification,

or afterward as a CHANGELOG-only descendant of a green Code SHA.

  • Canonical main ref: current origin/main, fetched before verification. Release

notes cite the original merged main PR when the same work is carried by a

backport. A release-branch PR is used only while no forward-port exists on

current main. The manifest and generated record freeze the canonical main SHA;

replay with that exact --main-ref to keep historical alias resolution stable.

Candidate validation reads that pin, never a moving main branch.

Workflow

  1. Confirm the release branch and exact history target:
  • git fetch --tags origin
  • conf
评论
Oopenclaw
openclaw
openclaw/openclaw
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@openclaw
所属大类开发 Development / 包管理与发布
国内可用性通用
最近源活动—
风险提示执行命令、访问网络
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。