Skip to content

[2026.10.10-beta.5] fix(release): pin beta ClawHub CLI to patched Undici - #187306

Merged
RomneyDa merged 2 commits into
release/2026.10.10from
security/clawhub-undici-beta-20261029
Oct 29, 2026
Merged

RomneyDa merged 2 commits into
release/2026.10.10from
security/clawhub-undici-beta-20261029

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Backport the ClawHub CLI Undici 7.30.1 security pin to release/2026.10.10, retaining ClawHub 0.23.3.
  • Change only the standalone override, Undici lock metadata, materializer lock digest, and a canonical Vitest tooling regression (4 files).
  • Original pin: f6c2aec (chore: refresh dependencies with a seven-day cooldown #182010), authored by RoboClaw; later main tree ed4c9d4 retains that fix. Original source attribution and coauthors are preserved in the adaptation commit.

Necessity and scope

The observed beta destination b991757 still pins Undici 7.29.1. Main already contains the corrected pin. This PR excludes the shared materializer refactor, release-validation plumbing, isolation work, root lockfiles, and unrelated exports. No shared materializer prerequisite is required.

Validation

  • Before-fix regression fails on the old 7.29.1 pin; after-fix Node tests: 3/3 pass.
  • Real standalone materialization succeeds with lifecycle scripts disabled; ClawHub --cli-version: 0.23.3.
  • Standalone npm audit: zero vulnerabilities.
  • Formatter, shell syntax, and git diff --check pass.

Review status

Ready for standard CI following complete independent canonical source review with no actionable P0–P2 findings. The test-only owner-registration correction also received complete independent canonical review with no actionable P0–P2 findings. Hosted checks remain required. This does not authorize release, package publication, or merge.

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.

The initial hosted preflight rejected the .test.mjs file because canonical tooling ownership matches .test.ts. The reviewed correction preserves all three tests under Vitest; canonical-wrapper tests (3/3), isolated strict TypeScript checking, formatting, and diff checks pass. Local runner uses installed Vitest 5.0.5 versus branch-declared 5.0.1, so hosted frozen-install proof remains required.

Hosted beta baseline blockers (October 29, 2026)

Three beta checks now fail: session-accessor-boundary, madge-import-cycles, and mock-exports. These are not waived. Vercel beta job logs identify one pre-existing sessionAccessorWrite debt violation, two existing import cycles, and 14 mock callsites in five existing test files missing preserved exports/isolation explanations. ClawHub beta check annotations confirm the same three failing guard owners. The implicated source files, guard implementations, debt baseline, root manifest and root lock are byte-identical to the beta destination baseline in both focused PRs. No broad source cleanup, baseline weakening, or guard configuration change is included here. Beta baseline-owner repair is needed separately; the environment-variable budget warning is not the terminal failure.

Adapt only the ClawHub override and node_modules/undici lock metadata
from the already-fixed main tree ed4c9d4
(#185194). Source author: RoboClaw <[email protected]>.
The pin actually originated in f6c2aec
(#182010), also authored by RoboClaw; ed4c9d retains it unchanged.

Refresh only the standalone materializer's lock digest. Do not import
c79071d / #174693 shared-helper refactoring, workflows, build isolation,
root dependency locks, or unrelated private-export changes. The new
node:test security regression is a local release-line adaptation.

Source-Commit: ed4c9d4
Source-PR: #185194
Original-Pin-Commit: f6c2aec
Original-Pin-PR: #182010
Co-authored-by: RoboClaw <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
@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.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: S labels Oct 29, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review October 29, 2026 04:32
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 29, 2026
Keep the standalone materializer success and tamper checks under the canonical Vitest owner so bounded PR preflight can discover them.

Co-authored-by: RomneyDa <[email protected]>
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. 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

Updates the beta release toolchain from Undici 7.29.1 to 7.30.1 while retaining ClawHub 0.23.3 and synchronizing its lock digest.

Example: Materialize the standalone ClawHub CLI on release/2026.10.10.

  • Before: ClawHub 0.23.3 installs with Undici 7.29.1.
  • After: ClawHub 0.23.3 installs with Undici 7.30.1 using the matching pinned lock digest.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The narrow patch is internally consistent and source-verified; inspectable execution evidence is limited to the test implementation and reported validation results.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored dependency-pin update is outside the ordinary contributor proof gate and introduces no new authority-bearing path; its body reports successful real materialization and a CLI version probe, while inspectable test coverage uses fake npm.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Beta release tooling still installs an older Undici version despite the corrected pin already being available on main.
Reason: The maintainer-authored change brings the release toolchain to an existing qualified pin while retaining its CLI version and security controls.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: the maintainer-authored backport fixes a dependency pin still present on the beta branch, and no introduced correctness or security defect was found.

Priority: P2
Reviewed head: 124af984d0245488738daae0425431eb133c92a9

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The reported real installation and CLI probe have no attached terminal trace or artifact to inspect; the added materializer tests substitute a fake npm executable.
Agent review details

How this fits together

Release workflows pass a trusted standalone package manifest and lockfile to the materializer, which verifies integrity, installs without lifecycle scripts, and returns the ClawHub executable and toolchain identity.

flowchart LR
  A[Release workflow] --> B[Standalone manifest and lock]
  B --> C[ClawHub materializer]
  C --> D[Digest verification]
  D --> E[npm ci without lifecycle scripts]
  E --> F[ClawHub executable and identity]
Loading

Technical review

Best possible solution:

Land the narrow beta dependency backport after its required checks pass, preserving ClawHub 0.23.3 and the existing integrity controls.

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

Source inspection establishes the beta branch's old pin and the matching corrected metadata on main; no vulnerability reproduction or target code was run during this read-only review.

Is this the best way to solve the issue?

The patch follows the existing scoped override and digest owner without importing main's shared-materializer refactor or unrelated dependency changes.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 54818f9e6756.

Provenance checked

  • Scoped ClawHub Undici override and lock metadata keeps the original intent (d7a1753: Keep the override scoped to ClawHub's exact owning version while applying upstream security updates.)
  • Materializer full-lock digest keeps the original intent (2abecd7: Synchronize the trusted materializer digest with the refreshed standalone dependency graph.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Raw commit 54cc90b adds scripts/materialize-clawhub-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: 54cc90b1b1a8; files: scripts/materialize-clawhub-cli.sh)

PR surface

Tests +116, Config 0, Other 0. Total +116 across 4 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 116 0 +116
Docs 0 0 0 0
Config 2 4 4 0
Generated 0 0 0 0
Other 1 1 1 0
Total 4 121 5 +116

Labels

Label changes:

  • add P2: A focused security dependency repair for standalone release tooling, without an established active exploit or broken end-user runtime.
  • 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: A focused security dependency repair for standalone release tooling, without an established active exploit or broken end-user runtime.
  • 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.

  • Attach redacted terminal output from the reported real materialization showing the installed Undici 7.30.1 graph and ClawHub 0.23.3 probe.

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:42 AM ET / 04:42 UTC.

@RomneyDa RomneyDa changed the title fix(release): pin beta ClawHub CLI to patched Undici [2026.10.10-beta.5] fix(release): pin beta ClawHub CLI to patched Undici Oct 29, 2026
@RomneyDa
RomneyDa merged commit 25326a7 into release/2026.10.10 Oct 29, 2026
127 of 131 checks passed
@RomneyDa
RomneyDa deleted the security/clawhub-undici-beta-20261029 branch October 29, 2026 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants