Skip to content

feat(corecrew): ship follows the project's release channels - #5

Merged
rstrlnkv merged 3 commits into
mainfrom
claude/release-standard-redesign-dfe91a
Nov 14, 2026
Merged

rstrlnkv merged 3 commits into
mainfrom
claude/release-standard-redesign-dfe91a

Conversation

@rstrlnkv

Copy link
Copy Markdown
Owner

Summary

  • /corecrew:ship follows the project's own release channels. The channels, their branches, tag forms and build numbers come from the user's versioning standard (new skills/ship/references/channels.md). With no channels in the standard, ship asks when remote branches look like channels (develop, staging, ...); otherwise it runs the old single-channel flow unchanged. No channel or branch name is built into the plugin (a test pins this).
  • Non-last channels publish prerelease builds (no release commit, check: before any push, build number greater than every tagged one); the last channel is the release; fixes are merged back into the earlier branches.
  • With no level, ship takes the version the user's standard derives from the changelog (none: patch); the GitHub release title and notes follow the user's release standard; the report also gives git branch -d <branch>.
  • Fix: the adopt documents stage no longer names one user's standard file (test_no_personal failed locally on main).

Test plan

  • bash tests/run.sh — ALL TESTS PASSED
  • claude plugin validate . and plugins/corecrew
  • Live check in sandboxes (stub gh, bare origin): scheme from the standard (DEV build), ship stable, a develop branch with no scheme (asks), a plain main repo (old flow) — all four as expected; two prompt points it found are fixed in d0f280e.

Channels, branches, tag forms and build numbers come from the user's
versioning standard; with none, ship asks when remote branches hint at
a scheme. Non-last channels publish prerelease builds, the last one is
the release, fixes merge back. Version level, release title and notes
follow the user's standards; the report gives the local branch delete.

Step-Id: 20261114-154917-01-750f39af
The documents stage named public-repository.md, a file of one user's
Core; it now speaks of a standard for public repositories in general.

Step-Id: 20261114-155749-01-ee1e400f
The live check of c96218b found the Build steps pushed the channel
branch before check: ran, and the go-ahead spoke of a release commit
that a channel build does not have.

Step-Id: 20261114-162011-01-d8a2413e
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T13:22:48.028672Z d0f280e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d0f280ec0d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +52 to +55
The release itself. `<branch>` is the previous channel's branch and `<main>` the last channel's.
The current branch is not `<branch>`: on the user's yes run `git switch <branch>` (the tree is clean
from Start), then follow SKILL.md Steps 1–7: the release commit lands on `<branch>`, is pushed and
checked, and `<main>` moves to it with `--ff-only`. The tag has the last channel's form and the

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve the selected fix source when shipping the last channel

When shipping a fix branch cut from the last channel, Channel step 2 explicitly selects that work branch as <source>, but this section unconditionally replaces it with the previous channel's branch and switches away from the fix. The release therefore either omits the requested fix and ships the previous channel's pending changes instead, or fails its fast-forward if those branches have diverged. Use the selected <source> for last-channel fixes, reserving the previous channel's branch for promotions.

Useful? React with 👍 / 👎.

Comment on lines +71 to +73
6. **Channels.** Read section Scheme of `<skill>/references/channels.md` and follow it. One release
channel: go on below. Several: follow that file, which says which branches play `<branch>` and
`<main>` in the steps below.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Resolve channels before applying current-branch release checks

When /corecrew:ship <last-channel> is invoked from the release branch after a completed release, its local Unreleased section is normally empty even when the previous channel contains changes ready to promote. Start step 3 stops on that empty section before this new Channels step can select the previous channel as the source, so the documented promotion flow never runs. Resolve the channel and source before checking whether there is anything to release, and apply that check to the selected source rather than the initially checked-out branch.

Useful? React with 👍 / 👎.

@rstrlnkv
rstrlnkv merged commit a859bc0 into main Nov 14, 2026
10 checks passed
@rstrlnkv
rstrlnkv deleted the claude/release-standard-redesign-dfe91a branch November 15, 2026 08:17
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