refactor(release): simplify monthly extended-stable plugin snapshots #8
<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- This is an auto-generated comment: skip review by coderabbit.ai -->
[!IMPORTANT]
## Review skipped
> Auto reviews are disabled on base/target branches other than the default branch.
>
> Please check the settings in the CodeRabbit UI or the.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.
> <details>
<summary>⚙️ Run configuration</summary>
> Configuration used: defaults
> Review profile: CHILL
> Plan: Pro
> Run ID: 58597f60-df81-4381-a02b-9ae7fe64ac13> </details>
> You can disable this status message by setting thereviews.review_statustofalsein the CodeRabbit configuration file.
> Use the checkbox below for a quick retry:
- [ ] <!-- {"checkboxId": "e9bb8d72-00e8-4f67-9cb2-caf3b22574fe"} --> 🔍 Trigger review
<!-- end of auto-generated comment: skip review by coderabbit.ai -->
<!-- finishing_touch_checkbox_start -->
<details>
<summary>✨ Finishing Touches</summary>
<details>
<summary>🧪 Generate unit tests (beta)</summary>
dev/kevinlin/extended-stable-plugin-cohort</details>
</details>
<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->
---
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
<details>
<summary>❤️ Share</summary>
</details>
<sub>Comment @coderabbitai help to get the list of available commands.</sub>
<!-- tips_end -->
<sub><sub>!P1 Badge</sub></sub> Fail closed when extended-stable context is missing
When an official package is resolved for extended-stable without an extendedStableTargetContext, this condition is false and the helper falls through to returning the raw @openclaw/.../latest spec. The openclaw plugins update --all path sets officialPluginUpdateChannel from cfg.update.channel but never passes that context (src/cli/plugins-update-command.ts:270), so users on the extended-stable channel can update official plugins to the moving latest line instead of the core-version/monthly-cohort targets. Please require/load the context for this path, or fail closed rather than falling back to latest.
Useful? React with 👍 / 👎.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b18ea4d503
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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".
</details>
Fixed in 6405569ff7. plugins update --all now loads the installed core package root and packaged extended-stable target context before invoking the updater. Missing metadata exits before plugin mutation, and the shared resolver also throws when an official extended-stable target is attempted without context. Focused CLI, resolver, and plugin updater suites pass (156 tests).
kevinslin
What Problem This Solves
Extended-stable core releases need a deterministic plugin compatibility boundary without maintaining a generated cohort file. The previous implementation calculated and persisted a monthly baseline, which duplicated information already encoded by the monthly release number and added release-time evidence plumbing.
Related: openclaw/openclaw#100111
Why This Change Was Made
This replaces the generated cohort with one simple rule:
YYYY.M.33, publish and promote core plus every npm-publishable official plugin.YYYY.M.34+, publish and promote core plus the covered plugins: Slack, Discord, and Codex.YYYY.M.33; covered plugins resolve to the exact core version.Exact pins, disabled/denied plugins, third-party npm packages, ClawHub, Git, path, and archive installs remain unchanged. Existing
stable -> latestbehavior also remains unchanged.The release handoff now carries one authoritative publication set plus snapshot readbacks, avoiding duplicate package/version/digest arrays. Production activation remains hard-gated on an
openclaw/releasesprotected selector consumer that understands handoff schema v2 andpromote_extended_stable.User Impact
The first extended-stable release each month creates a complete official plugin snapshot. Subsequent extended-stable patches advance only core and the covered plugins, while other official plugins remain on the same month's
.33snapshot. Users no longer depend on a generated cohort manifest or a moving npmlatesttag for those plugins.Evidence
ed9b67af3c67f29ec1f3b773552ba370b5e1495b(implementation commit plus generated docs-map, lint, and packed-fixture fixes).f62ea5696fb2096d589eddb5bc101d69357a001a:-
.33: core, Slack, Discord, Codex, and uncovered Matrix were published and installed throughextended-stable.-
.34: core and the three covered plugins advanced; Matrix remained exactly.33; Matrix.34was absent.- Fresh CLI install and update resolved core/covered plugins to
.34and Matrix to.33.- Candidate tags were cleaned and the registry was removed after the run.
The local canary uses a private package identity and registry. Hosted current-head CI remains the authoritative proof for the full 69-package inventory and GitHub workflow behavior. Public npm publishing, OIDC/provenance, protected-environment approval, and the external protected selector consumer were not exercised locally.