Repository navigation
feat(corecrew): ship follows the project's release channels - #5
Conversation
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
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 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".
| 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 |
There was a problem hiding this comment.
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 👍 / 👎.
| 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. |
There was a problem hiding this comment.
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 👍 / 👎.
Summary
/corecrew:shipfollows the project's own release channels. The channels, their branches, tag forms and build numbers come from the user's versioning standard (newskills/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).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.git branch -d <branch>.test_no_personalfailed locally onmain).Test plan
bash tests/run.sh— ALL TESTS PASSEDclaude plugin validate .andplugins/corecrewgh, bare origin): scheme from the standard (DEV build),ship stable, adevelopbranch with no scheme (asks), a plainmainrepo (old flow) — all four as expected; two prompt points it found are fixed in d0f280e.