Skip to content

Start a changelog and trim the release runbook - #46

Merged
raghubetina merged 1 commit into
mainfrom
claude/releasing-mechanics
Sep 30, 2026
Merged

raghubetina merged 1 commit into
mainfrom
claude/releasing-mechanics

Conversation

@raghubetina

Copy link
Copy Markdown
Contributor

Summary

Step 8 of the 2026-09-29 agent-documentation audit: one release entry point, with each repository keeping only its own mechanics.

  • RELEASING.md is rewritten to cover mechanics only:

    • the version rule and the version pull request;
    • the v tag and the publish workflow;
    • publisher configuration.

    The gist republish step, smoke policy and per-release prose are gone. The service repository coordinates releases.

  • CHANGELOG.md starts here. The version-bump PR writes each entry. docs/release-history.md is frozen as Historical.

  • Changelog gates. publish.yml fails when the tag's version has no entry. The CI quality job fails earlier, in the version-bump PR, when package.json names an untagged version without an entry.

  • Package contents. The npm package no longer ships RELEASING.md or docs/release-history.md. Packaged pages link them by absolute URL, and the documentation test resolves those URLs locally.

  • AGENTS.md:

    • edits to AGENTS.md, CLAUDE.md and RELEASING.md now trigger review;
    • reviews pass the service repository's docs/review-focus.md and record the reviewer, session id and verdict in the PR body, without findings;
    • one approved coordinated release covers its named CLI steps.

Merge after the skills companion, because RELEASING.md links its docs/dist-tag-repair.md. Skills' packedFileAllowlist drops the two excluded files only when skills re-pins to a CLI revision that contains this change.

Validation

  • npm run check: pass (the AGENTS.md budget is 1,818 of 2,048 bytes)
  • npm audit: clean

Review

codex-review 0.7.3, max effort, read-only, with the service repository's docs/review-focus.md as the focus file.

  • Session de07bbb5-209d-480b-a5c1-1dd29d81ecb0 at ee5e2d1: Approve.
  • Session 07ca3eb7-2822-4991-b1e2-87219966ac8a at f2a2bb8, after the AGENTS.md amendment: Approve.

Release policy lived in eight places across three repositories, and
this runbook carried per-release prose that went stale after 0.8.0.
The service repository owns that policy, so RELEASING.md keeps only
the mechanics: npm version, the v tag, the publish workflow, and the
publisher settings. The tag rulesets block only deletion and
non-fast-forward moves, so the runbook states the no-move rule as
policy rather than as something GitHub enforces. Dist-tag repair
lives in the public skills repository.

The local guide is a hand-edited gist copy of the service's
local-app.md, and the 0.8.0 release skipped republishing it. The
service repository owns that page and its publication, so this
runbook drops the republish step. The links stay on the gist until
the service serves the page at a public URL.

docs/release-history.md stopped at 0.4.0. It is frozen as history, and
CHANGELOG.md takes over, written in the pull request that sets each
version. Its headings carry no release status, and the documentation
tests reject one, so nothing edits the file after publication. The
publish workflow refuses a tag whose version has no entry. Finding
that only at tag time would burn the tagged version, so CI also
checks any version that has no tag yet.

The package shipped RELEASING.md and the release history to every
user, including inside the Skills plugin. Both now stay in the
repository. Packaged pages link them on GitHub, and the link tests
follow those absolute links into the checkout. The Skills copy of the
package file list drops the same two paths when Skills next bundles
this CLI.
@raghubetina
raghubetina marked this pull request as ready for review September 30, 2026 17:42
@raghubetina
raghubetina merged commit e01ecaf into main Sep 30, 2026
4 checks passed
@raghubetina
raghubetina deleted the claude/releasing-mechanics branch September 30, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant