Repository navigation
chore(release): bump version 2026.6.35-boon.7 -> 2026.7.35-boon.1 (upstream base reset) - #335
Conversation
…stream base reset) Cuts the fork release for #307 (upstream v2026.7.35 sync), which merged to boon after the v2026.6.35-boon.7 tag. The upstream base moves 2026.6.35 -> 2026.7.35, so the fork increment resets to boon.1. Bump the root package.json and npm-shrinkwrap.json, all 142 bundled plugin manifests (scripts/sync-plugin-versions.ts), and the version string in every extension npm-shrinkwrap.json by a literal find-and-replace (no dependency content changes, so the shrinkwrap regeneration with its live registry lookup is skipped). Add the 2026.7.35-boon.1 CHANGELOG.md section and the matrix plugin's changelog entry. - `node scripts/sync-plugin-versions.ts --check` -> 0 drift after sync. - All changed JSON files re-verified as valid JSON. - `git diff --check` -> clean. - `--no-verify`: the local pre-commit hook (`core.hooksPath`) calls scripts/pre-commit/guard-staged-content.mjs, which no longer exists in the tree after #307's upstream sync (pre-existing on origin/boon, unrelated to this change) -- MODULE_NOT_FOUND, not a content finding. - Full check/test/build proof deferred to CI/Crabbox per repo policy. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
There was a problem hiding this comment.
All reported issues were addressed across 218 files
Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.
Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
View guided diff | Turn on auto-fix | Re-trigger cubic
…ease-preflight PR #335's CI caught this: checks-node-core-tooling failed on test/scripts/release-preflight.test.ts's npm-version-metadata check against the real root package.json, because upstream's parseReleaseVersion (scripts/lib/release-version.mjs) has never known about the fork's own `-boon.<N>` version suffix (e.g. `2026.7.35-boon.1`) -- it only matches upstream's own stable/alpha/beta/correction grammar. That's not new in this PR; any boon release (boon.6, boon.7, ...) would fail the same way now that #307's upstream sync brought this validator (and the test exercising it against the live repo) into the fork tree for the first time. Add parseForkReleaseVersion as a new, purely additive export: it strips a trailing `-boon.<N>` before delegating to the unmodified parseReleaseVersion, so every other consumer of that shared upstream release-version grammar (npm publish, Docker/Vercel channel promotion, Android/iOS version bumping, upgrade-survivor baselines, ...) is untouched. Only release-preflight.mjs's two call sites that read the real package.json (npm version metadata, macOS Info.plist version) switch to the fork-aware parser. - `node scripts/release-preflight.mjs --npm-versions-only` -> OK (was: "package.json has invalid release version \"2026.7.35-boon.1\""). - `node scripts/release-preflight.mjs --macos-versions-only` -> OK. - Manual check of parseForkReleaseVersion against boon versions, every upstream channel (stable/alpha/beta/correction), and an invalid string; parseReleaseVersion itself still returns null for a `-boon.N` string, so no other caller's behavior changes. - Full Vitest run deferred to this PR's CI (no local node_modules in this worktree); `--no-verify` for the same missing local pre-commit hook script noted in the prior commit, unrelated to this content. Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
All reported issues were addressed across 220 files
Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.
Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
Requires human review: Auto-approval blocked because this review re-detected 1 unresolved issue already reported by Cubic.
View guided diff | Turn on auto-fix | Re-trigger cubic
…s/ai version Addresses cubic review on #335: - 21 bundled plugins (clickclack, discord, feishu, google-meet, googlechat, line, matrix, mattermost, msteams, nextcloud-talk, nostr, pixverse, qqbot, raft, slack, tlon, tokenjuice, voice-call, whatsapp, zalo, zalouser) had their package.json peerDependencies.openclaw range bumped to >=2026.7.35-boon.1 by sync-plugin-versions.ts, but each plugin's own npm-shrinkwrap.json still mirrored the pre-bump >=2026.7.35 range in its packages[""] entry. Realigned each shrinkwrap's range to match its package.json. - packages/ai/npm-shrinkwrap.json's own version field was missed by the first commit's literal find-and-replace (which only targeted extensions/*/npm-shrinkwrap.json); bumped its two self-version occurrences to 2026.7.35-boon.1 to match package.json. - CHANGELOG.md: corrected an overclaim that PR #307's CI was fully green -- two non-required scanners (Scan iOS dead code, CodeQL) show FAILURE on that PR; confirmed via the repo's "boon-new" ruleset (required_status_checks is not one of its rule types, so neither scanner gates a merge) that this doesn't affect mergeability. Also added changelog bullets for the release-preflight fork-version fix and this shrinkwrap realignment. - Every changed npm-shrinkwrap.json re-parsed as valid JSON. - `node scripts/sync-plugin-versions.ts --check` -> 0 drift. Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
Summary of Changes
Cuts fork release 2026.7.35-boon.1 completing the upstream v2026.7.35 base sync from PR #307.
- Fork Base Reset: Resets the fork increment from
2026.6.35-boon.7to2026.7.35-boon.1perdocs/fleet/openclaw-version-deploy.md. - Root Manifest and Shrinkwrap: Bumps
package.jsonandnpm-shrinkwrap.jsonfrom2026.7.35to2026.7.35-boon.1. - Release Preflight Fork Suffix Support: Adds
parseForkReleaseVersioninscripts/lib/release-version.mjsto strip-boon.<N>(/^(?<base>.+)-boon\.(?<forkPatch>[1-9]\d*)$/) before delegating toparseReleaseVersion. SwitchescollectMacosVersionErrorsandcollectNpmVersionErrorsinscripts/release-preflight.mjsto this helper, leaving all other upstream release-version consumers untouched. - Bundled Plugins and Packages: Aligns 142 plugin manifests via
sync-plugin-versions.ts. Realignspackages/aiversion inpackage.jsonandnpm-shrinkwrap.json. - Plugin Peer Range Shrinkwrap Realignment: Realigns
peerDependencies.openclawto>=2026.7.35-boon.1across 21 plugin shrinkwraps (clickclack,discord,feishu,google-meet,googlechat,line,matrix,mattermost,msteams,nextcloud-talk,nostr,pixverse,qqbot,raft,slack,tlon,tokenjuice,voice-call,whatsapp,zalo,zalouser). - Changelogs: Adds
2026.7.35-boon.1release notes in rootCHANGELOG.mdandextensions/matrix/CHANGELOG.md.
Verification Details
- Diff Inspection: Verified across all 221 modified files that changes are strictly version bumps, peer dependency alignments, release preflight fork-version parsing, and changelog additions. No application logic or runtime behavior was altered.
- CI Status: All 30 GitHub Actions check runs on commit
7fc3438a5424cacee7fec1e5af08ba608563de52are completed and green (ci-gate,checks-node-core-tooling,dependency-guard, and allchecks-node-*shards succeeded). - Dependency Guard: Acknowledged as informational by GitHub Actions since the PR author is a repository admin.
- Verification Basis: Diff inspection across all files and full CI run validation. Local test suite was not run locally in worktree; relied on green CI matrix.
Verdict: APPROVE (ready-to-release)
…hem (#336) * fix(release): resolve workspace: dependencies before npm pack ships them The just-published v2026.7.35-boon.1 release tarball is broken for every `npm i -g` install, not just one host: #307's upstream sync added `@openclaw/ai` as a root dependency for the first time, declared as `"workspace:*"`. `npm pack` (used by boon-release.yml to build the fork's GitHub Release tarball) has no concept of pnpm's workspace: protocol and ships that literal specifier as-is. Any global install of the tarball then asks npm's resolver to fetch `@openclaw/ai@workspace:*`, which it can't parse -- confirmed on two different npm/node versions (the canary host's npm 11.21.1/node 22.23.4, and a local npm 11.8.0/node 24.13.1) that it dies deterministically right after resolving @mozilla/readability's manifest with a bare `exit 1` and no further diagnostic, a known class of npm bug for unsupported specifiers. Root-caused by comparing against the real npm registry: upstream publishes `@openclaw/ai` in lockstep with their own root `openclaw` releases (confirmed `@openclaw/[email protected]` exists and matches the exact upstream base this fork train is built on), but the fork never publishes packages/* members under its own -boon.N suffix -- there is no `@openclaw/[email protected]` anywhere for npm to fetch, and pointing at it would just trade one failure for a 404. The correct resolution is the real, already-published upstream base version. Adds scripts/lib/resolve-workspace-pack-deps.mjs: rewrites any `workspace:` root dependency to the matching local workspace package's version, stripping a `-boon.N` fork suffix back to the real publishable base (reusing parseForkReleaseVersion from release-version.mjs, the same helper #335 added for the release-preflight gap). Wired into the existing prepack/postpack lifecycle (mirrors scripts/package-changelog.mjs's established backup-and-restore shape) so it applies automatically to any `npm pack`/`npm publish` of the root package, not just boon-release.yml's one call site -- no workflow change needed. The bare CLI mode defaults to a dry-run preview; only `prepare` mutates (with a backup) and only `restore` reverts, after an un-backed-up bare invocation during local verification taught this the hard way. - Verified end-to-end: patched the real v2026.7.35-boon.1 tarball's @openclaw/ai to the resolved 2026.7.35, re-tarred it, and `npm i -g` succeeded ("added 390 packages"), with @openclaw/ai installed at the correct version. - `node scripts/lib/resolve-workspace-pack-deps.mjs` (bare) against the real repo: previews the exact same rewrite without touching disk. - Full prepare/restore round-trip verified byte-identical against the real repo's package.json. - New unit tests in test/scripts/resolve-workspace-pack-deps.test.ts cover glob expansion, *//^/~/explicit-pin rewriting, the missing-match error, the prepare/restore round-trip, the backup-free no-op case, and the stale-version restore refusal; manually executed the equivalent assertions directly (no local node_modules in this worktree) -- all passed. Full Vitest run deferred to CI. - `git diff --check` -> clean; package.json re-parsed as valid JSON. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(release): address cubic review on the workspace-deps packing fix Addresses cubic review on #336: - Rewrite workspace: specifiers across dependencies, optionalDependencies, AND peerDependencies (only dependencies was handled before), matching the three sections generate-npm-shrinkwrap.mjs already treats as a unit. - An explicit `workspace:<version>` pin now also strips a fork `-boon.N` suffix via publishableBaseVersion, so a pin copied from a local fork-suffixed version doesn't reproduce the same unparseable-specifier break the rest of this fix exists to close. - prepareWorkspacePackDependencies now writes the backup to disk BEFORE mutating package.json (was: mutate, then back up), so a failed backup write can never leave the checkout permanently rewritten with nothing to restore from. - restoreWorkspacePackDependencies now does a full-content comparison against the rewrite its own backup would have produced, not just a version-field check -- a same-version edit made to package.json between prepare and restore is refused instead of silently clobbered. - New scripts/postpack-restore.mjs runs the changelog and workspace-deps restores unconditionally and reports both failures, replacing the `&&`-chained postpack script (which skipped the second restore entirely if the first one failed). - Reordered prepareWorkspacePackDependencies before preparePackageChangelog in openclaw-prepack.ts's main(): a missing-workspace-member error now aborts before the changelog is touched, instead of after. - Removed ticket/PR references from both files' header comments per AGENTS.md ("No Linear ticket references... in code, comments") and the root CLAUDE.md's "no PR/user-specific lore in inline comments" rule; state the protocol invariant and failure mode directly instead. - Did NOT change npm-shrinkwrap.json's existing @openclaw/[email protected] entry (cubic P1, confidence 10): verified the published tarball does not include npm-shrinkwrap.json at all (`tar tzf` on the real packed tarball has zero shrinkwrap entries), so there is nothing "shipped" for npm to read during a downstream `npm i -g` -- the stale shrinkwrap pin is pre-existing pnpm/registry resolution drift, unrelated to the install-breaking bug this PR fixes. Left for a separate change; replied with the evidence on the thread. - Manually re-verified every test-file assertion directly against the updated implementation (multi-section rewriting, explicit-pin stripping, backup-before-mutate ordering, full-content restore refusal for both a version change and a same-version edit) -- all passed. Verified scripts/postpack-restore.mjs surfaces a forced resolve-workspace-pack-deps restore failure with exit 1 while still running the changelog restore step independently. - `git diff --check` -> clean; package.json re-parsed as valid JSON; bare CLI invocation against the real repo still only previews, no mutation. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(lint): avoid tuple-array type inference oxlint flagged in postpack-restore CI's check-lint failed: typescript(restrict-template-expressions) on scripts/postpack-restore.mjs:21:40. The `steps` array mixed a string name with a zero-arg function in each entry with no explicit tuple type, so TypeScript inferred it as a plain array of the union type (string | (() => ...))[][] instead of two distinct [string, fn] tuples -- destructuring `[name, run]` then gave `name` that same union type, which can include a function, so interpolating `${name}` tripped the rule. Replaced the loop-over-heterogeneous-array with two explicit named calls to a small typed runRestoreStep(name, run) helper -- no array literal to infer a tuple shape for, and clearer for exactly two fixed steps anyway. - `node scripts/postpack-restore.mjs` -> exit 0 (no backups present). - Re-verified the forced-failure case still surfaces correctly: a corrupted post-prepare package.json makes resolve-workspace-pack-deps's restore throw, postpack-restore logs it and exits 1. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(release): write package.json atomically in resolve-workspace-pack-deps Addresses cubic review on #336: writeFileSync directly to package.json can truncate the file if the write fails partway (disk full, process killed), leaving the checkout invalid with no automatic recovery. Added writeFileAtomic (write to a same-directory `.<pid>.tmp` file, then renameSync into place), matching the existing pattern in scripts/lib/vitest-shard-timings.mjs. Applied to all three package.json writes in this file: the rewrite in resolveWorkspacePackDependencies, the mutated-manifest write in prepareWorkspacePackDependencies, and the restore write in restoreWorkspacePackDependencies. - Manually re-verified the full prepare/restore round trip still produces a byte-identical restore, with no leftover `.tmp` file in the directory afterward. - New test asserts no `.tmp` file remains after a prepare + restore cycle. - `git diff --check` -> clean. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(format): wrap over-width import and soften atomic-write docstring Addresses cubic review on #336: - The node:fs import line was 110 chars, over this repo's 100-char printWidth -- format:check would have failed. Wrapped it across multiple lines, as oxfmt would reformat it. - The writeFileAtomic docstring claimed the content is "safely on disk" after the rename, which overstates what a write without an fsync actually guarantees. Reworded to state only what this function actually provides: the original file stays intact if the write is interrupted, with no durability-across-power-loss claim. - `node scripts/lib/resolve-workspace-pack-deps.mjs` (bare) still only previews, no mutation. - `git diff --check` -> clean. Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5 <[email protected]>
…ationError's runtime identity (#339) * fix(agent-core): stop depending on @openclaw/ai for ToolArgumentValidationError's runtime identity (ENG-23048) ToolArgumentValidationError (added in #144 for sentry-monitor classification) lives in packages/llm-core/src/validation.ts, which upstream's base-reset (v2026.7.35, #307/#335/#336) recently extracted into the externally-resolved @openclaw/ai package -- never bundled into the openclaw CLI tarball or the standalone @openclaw/agent-core package, per tsdown.config.ts. Boon never publishes its own @openclaw/ai, so any consumer installing openclaw plus a normal @openclaw/ai from the public registry gets upstream's unpatched package, which has never carried this class. The compiled openclaw package's proxy chunk statically imports it as a value from "@openclaw/ai/validation", crashing at module-evaluation time for any consumer touching openclaw/plugin-sdk/agent-harness. agent-loop.ts's only production use of the class is `.summary` via instanceof, so switch to a structural check and a type-only import; the agent-core validation.ts facade re-exports the type only. Type-only exports erase at build time, so the bundler no longer needs a runtime binding for this symbol from the externally-resolved @openclaw/ai. Verified: packages/llm-core and packages/agent-core unit tests pass; `pnpm build` dist no longer imports the class as a value from @openclaw/ai/validation; oxlint and tsgo:core clean; plugin-sdk SDK-surface export budget unaffected; and end-to-end by copying the fixed dist into a consumer repo (anychat-boon-web) with the real, unpatched public @openclaw/ai still installed -- a test that previously crashed on import now passes. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(agent-core): address cubic review feedback on PR #339 Trim both ToolArgumentValidationError comments to the short rationale (why the check is structural, not why the package got externalized) per review feedback on keeping changed-source comments focused. Also drop the `instanceof Error` requirement from isToolArgumentValidationError: the check only needs `name`/`summary`, and `instanceof Error` would reject a cross-realm or plain-object error that otherwise carries both fields. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(agent-core): make ToolArgumentValidationErrorShape a local type, not a re-export (ENG-23048) Published @openclaw/[email protected]'s dist/validation.d.mts exports only validateToolArguments and validateToolCall -- no ToolArgumentValidationError type, matching its missing value export. `export type { ... } from "@openclaw/ai/validation"` resolved fine against the workspace-linked @openclaw/ai (boon's own packages/ai), masking that a real external consumer type-checking against the published registry package would hit TS2305. Define the minimal shape locally instead (just the `name`/`summary` fields agent-loop.ts's structural guard reads), so the public .d.ts no longer depends on the externally-resolved package's declarations at all. Verified against the actual published @openclaw/[email protected] dist/validation.d.mts. Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5 <[email protected]>
What Problem This Solves
#307 merged upstream
v2026.7.35intoboontoday, but no fork release was cut for it yet:package.jsononboonstill read the bare upstream version with no-boon.Nsuffix, and the fleet (gandalf-manager) has nothing to pin to. This PR cuts that release so the version artifact exists and the fleet rollout (canary first) can proceed.Why This Change Was Made
Per
gandalf-manager:docs/fleet/openclaw-version-deploy.md, merging a newer upstream base resets the fork increment to-boon.1. Base moves2026.6.35->2026.7.35(via #307), so the next version is2026.7.35-boon.1.package.json+npm-shrinkwrap.jsonversion bumped.node scripts/sync-plugin-versions.tsrun: 142 bundled plugin manifests aligned (version,openclawdep ranges,compat.pluginApi,build.openclawVersion) plus one pluginCHANGELOG.mdentry it generates itself (@openclaw/matrix).npm-shrinkwrap.jsonversion string updated by literal find-and-replace (no dependency content changed, so the live-registry shrinkwrap regeneration was skipped — same precedent as the boon.7/boon.6 bumps).CHANGELOG.mdsection added for2026.7.35-boon.1, summarizing chore: sync upstream openclaw v2026.7.35 into boon #307's upstream sync.User Impact
No fork-only behavior change in this PR — purely the version/changelog bump completing #307's sync. The actual user-visible payload is whatever upstream
v2026.7.35itself ships (already merged in #307); this just gives it a releasable fork version sogandalf-managercan pin and roll it, starting at canary (arief-openclaw-test) only.Evidence
node scripts/sync-plugin-versions.ts --check->Updated: 0. Changelogged: 0. Skipped: 141.(fully in sync after the bump)..jsonfile re-parsed withnode -e "JSON.parse(...)"-> all valid.git diff --check-> clean (no whitespace errors).scripts/pre-commit/guard-staged-content.mjsno longer exists in the tree post-chore: sync upstream openclaw v2026.7.35 into boon #307 — pre-existing, unrelated to this change) — committed with--no-verify; full check/test/build proof deferred to this PR's CI.dependency-guard. Per repo policy it needs a/allow-dependencies-changecomment from a repo admin (holywend/insomnius/augusteo), then a guard re-run.🤖 Generated with Claude Code
Summary by cubic
Cuts fork release
2026.7.35-boon.1so the upstreamv2026.7.35sync from #307 is releasable and pinnable by the fleet (gandalf-manager), starting with the canary. Also fixes release-preflight, which rejected the fork's-boon.Nversion suffix.2026.6.35-boon.7to2026.7.35-boon.1per the version-deploy policy; no fork behavior changes.package.json/shrinkwrap, all 142 bundled plugin manifests viascripts/sync-plugin-versions.ts, each extension shrinkwrap by literal find-and-replace, and adds theCHANGELOG.mdentry.parseForkReleaseVersion, used only by preflight's two call sites that read the realpackage.json; upstream'sparseReleaseVersionand all other consumers are unchanged.peerDependencies.openclawrange still locked the pre-bump>=2026.7.35, and corrects thepackages/aishrinkwrap version field./allow-dependencies-changecomment from a repo admin since it's a version-only bump with no dependency content deltas.Rollout
dependency-guardbefore the fleet rollout can proceed.Written for commit 7fc3438. Summary will update on new commits.