Skip to content

[2026.10.9] fix(release): bound Vercel toolchain advisory repairs - #187253

Merged
RomneyDa merged 3 commits into
release/2026.10.9from
openclaw/marine-shrimp
Oct 29, 2026
Merged

RomneyDa merged 3 commits into
release/2026.10.9from
openclaw/marine-shrimp

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Summary

Locally implemented bounded release adaptation: fast-uri 3.1.9, smol-toml 1.9.1, undici 6.29.1/7.30.1; preserve vercel 62.2.0, sandbox 4.6.0 and Zod. Three files only in the local clone: dedicated manifest/lock and inline materializer SHA. Exactly seven lock package records changed.

Baseline npm lock-only audit: 29 affected entries (16 moderate, 13 high). After: 12 high Zod-related entries; fast-uri, smol-toml and undici removed. NOT audit clean. Zod GHSA-mrhx-c7xc-m3w5 (<4.6.6) remains; 3-to-4 migration deferred.

Local materializer npm ci, isolated no-auth CLI --version/--help for both CLIs, bash -n and git diff --check passed. Evidence preserved in split-prs/vercel-stable-evidence. Root suite not run. Independent full-context canonical review is complete with no actionable P0–P2 findings. Hosted checks remain pending.

Provenance: inspected upstream ed4c9d4, authored RoboClaw [email protected]; matching smol-toml and existing undici override upgrades only. No cherry-pick, unrelated upstream changes not imported. fast-uri and added undici selectors are local audited repairs.

Independent review update — October 29, 2026

Complete review used canonical autoreview with OpenClaw engine (openai/gpt-6.1-sol), the full scoped diff and all required source context without omitted bytes. This is bounded source-review evidence, not completed hosted CI, owner approval, or full security clearance.

Publication reconciliation

The managed draft initially selected main. After fetching the published branch, the parent verified its Vercel payload is byte-identical to the prepared local commit and its entire diff against release/2026.10.8 is exactly the intended three files. The existing draft base is now corrected; no branch replacement or additional publication was needed.

shakkernerd and others added 3 commits October 27, 2026 13:12
Passive macOS Gateway stops now preserve an absent current-profile service definition without invoking uninstall, while explicit low-level ghost recovery remains available.

Release adaptation: the 2026.10.8 backport of #180390 removed the absent-plist
guard from GatewayLaunchAgentManager's disable path without main's follow-up,
so every passive stop with no LaunchAgent plist ran `openclaw gateway uninstall`
(mac validation: GatewayProcessManagerTests "pause preserves unretainable
services" [absent]). Stable has no migration-pending custody or `.authority`
wrapper, so the guard checks `custody.definition.plist` directly. Mac-only
post-tag fix; npm, Docker and Linux bytes are unaffected.

(cherry picked from commit cb10ec4)
Keep Vercel and Sandbox on the stable train while pinning audited fast-uri, smol-toml and undici fixes. Preserve Zod for separate compatibility work.

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 37e1ac66-0656-4ab9-af4f-b896f9fc7434
@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: signal Channel integration: signal channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser app: android App: android app: ios App: ios app: macos App: macos app: web-ui App: web-ui gateway Gateway runtime extensions: copilot-proxy Extension: copilot-proxy extensions: diagnostics-otel Extension: diagnostics-otel extensions: llm-task Extension: llm-task labels Oct 29, 2026
@clawsweeper

clawsweeper Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR updates fast-uri, smol-toml, and Undici in the dedicated Vercel release-tool lockfile while preserving Vercel, Sandbox, and Zod versions.

Example: Materialize the release/2026.10.8 Vercel toolchain.

  • Before: The toolchain installs fast-uri 3.1.7, smol-toml 1.8.0, and Undici 6.28.1/7.30.0.
  • After: The toolchain installs fast-uri 3.1.9, smol-toml 1.9.1, and Undici 6.29.1/7.30.1.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The bounded patch is source-consistent and registry identities match; runtime confidence rests on reported local validation rather than inspectable execution evidence.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; its body reports before/after audits, materializer npm ci, and isolated CLI smoke, but the referenced local evidence is not publicly inspectable.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Release maintainers use a dedicated Vercel toolchain whose stable-branch lock contains dependencies affected by published advisories.
Reason: The maintainer-authored direction deliberately repairs compatible transitive dependencies while preserving the stable CLI train and deferring the breaking Zod migration.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored draft open: it provides a useful, bounded stable-branch advisory repair, and source review found no introduced defect.

Priority: P2
Reviewed head: 20d04b6e1a3865c0b7177ddf191416f16210b877

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The reported audit, materializer installation, and CLI smoke results have no publicly inspectable output, and no baseline-failing regression run is supplied.
Agent review details

How this fits together

Release automation materializes a separately locked Vercel/Sandbox toolchain before exposing credentials, then uses its executables for registry authentication and image verification.

flowchart LR
  A[Release workflow] --> B[Pinned manifest and lock]
  B --> C[Hash-checked materializer]
  C --> D[Install without lifecycle scripts]
  D --> E[Vercel and Sandbox CLIs]
  E --> F[Registry publication and verification]
Loading

Technical review

Best possible solution:

Retain the bounded dependency repair and keep the breaking Zod compatibility migration in separately reviewed work.

Do we have a high-confidence way to reproduce the issue?

The base lock contains versions covered by published advisory ranges; inspection establishes the affected dependency graph without executing the toolchain or demonstrating exploitability.

Is this the best way to solve the issue?

The change repairs the existing manifest, lock, and integrity owner together, preserves direct CLI compatibility, and avoids an unrelated Zod major-version migration.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 94696da9d62e.

Provenance checked

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

  • Pinned introduced change: The introduced diff changes seven dependency records, their manifest overrides, and the materializer lock hash; direct CLI versions and installation safeguards remain unchanged. (.github/release/vercel-cli/package.json:13, 20d04b6e1a38)
  • Lock integrity preserved: The committed lock hashes to 67385dadda975151b6238ea49b2f38e7d632fba7c630471aadd4036a4aac0d69, matching the updated materializer pin. (scripts/materialize-vercel-cli.sh:11, 20d04b6e1a38)
  • Published advisory ranges: GitHub advisory data identifies the baseline versions as affected and the selected versions as patched, including Undici GHSA-2m5v-pch6-74hx, smol-toml GHSA-r4xh-jqrq-34v2, and fast-uri GHSA-w74x-v6f9-j3xg.
  • Registry identities verified: The npm registry metadata for fast-uri 3.1.9, smol-toml 1.9.1, and both selected Undici versions matches the changed tarball URLs and integrity values; their engine requirements fit the workflow's Node 24 runtime.
  • Existing closure coverage: The existing closure test checks the preserved CLI identities and derives the expected materializer hash from the lock bytes, so the refresh leaves no stale hash assertion. (test/scripts/vercel-container-registry-publish.test.ts:745, 20d04b6e1a38)
  • Main only partially overlaps: Current main already resolves the selected smol-toml and Undici versions, but still resolves fast-uri 3.1.8 and uses newer Vercel/Sandbox versions; it does not replace this stable-branch adaptation. (.github/release/vercel-cli/package-lock.json, 94696da9d62e)

Likely related people:

  • Patrick Erichsen: Raw commit 105038e adds scripts/materialize-vercel-cli.sh:5 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 105038e6581c; files: scripts/materialize-vercel-cli.sh)

PR surface

Config +2, Other 0. Total +2 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 2 26 24 +2
Generated 0 0 0 0
Other 1 1 1 0
Total 3 27 25 +2

Labels

Label changes:

  • add P2: This repairs known vulnerable dependencies in release-only tooling without establishing an urgent product-runtime failure.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: This repairs known vulnerable dependencies in release-only tooling without establishing an urgent product-runtime failure.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Make the existing redacted audit, installation, and CLI smoke output inspectable when advancing the draft.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 29, 2026, 12:25 AM ET / 04:25 UTC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: macos App: macos P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants