Skip to content

fix(plugins): preserve declared dependencies in source checkouts - #132811

Merged
steipete merged 1 commit into
mainfrom
steipete/dazzling-wilbur-7ee1fc
Aug 29, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/dazzling-wilbur-7ee1fc

Conversation

@steipete

@steipete steipete commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Related: the source dependency-policy repair, which documented this follow-up for source-test dependency resolution after bundled-plugin pruning.

What Problem This Solves

Resolves a problem where developers running plugin source tests could silently exercise a different dependency version from the one declared and locked for that plugin after a normal install or build. At the reproduced main snapshot, Microsoft Teams declared jose 6.2.10, but postinstall removed its valid plugin-local installation and the auth tests resolved hoisted 6.2.9. Those tests still passed, concealing the mismatch. Slack had a related test-loader exception that forced root Undici instead of its declared version.

Why This Change Was Made

pnpm is the canonical owner of source dependency versions and workspace links. Remove source dependency pruning from both postinstall and build preparation, while retaining packaged dist cleanup and source-checkout protection for operator state. npm dependency bundling now stages a separate temporary package tree rather than assuming pnpm's source tree was deleted; cleanup cannot remove or replace the source dependencies. The existing Bun Undici workaround becomes importer-relative, and CI dependency archives retain plugin importer trees.

No root dependency, dependency-pin change, new resolver alias, override, or runtime dependency repair is added. Packaged internal plugins retain their root-runtime dependency contract; external packages retain their existing bundled-dependency or registry-install policy. Production/tooling: +67/−70 (net −3). Tests/support: +332/−302 (net +30). Documentation: +22/−14.

User Impact

Source tests and builds retain the dependency versions selected for each plugin, including conflicting versions and workspace links. Existing checkouts whose dependencies were pruned can restore them with pnpm install --frozen-lockfile. Plugin packaging keeps working without taking ownership of the source install. The source setup and dependency-resolution documentation describe the repaired boundary.

AI-assisted implementation, reviewed by the maintainer. This is install/build/test tooling repair, not a change to Teams authentication policy or channel behavior.

Evidence

Reproduced at main d4e41a61776026d38eebb05a5da92930b5c69be2. Before repair, canonical postinstall changed Teams' native resolution from local jose 6.2.10 to hoisted 6.2.9. Six new source/build regression cases failed because plugin versions fell back to the root version and workspace links disappeared. Packaging regression failed because the old bundler refused existing source node_modules. The real Vite resolver regression also failed on Slack's root-pinned Undici import before the existing workaround was made importer-relative.

After the repair:

  • Frozen pnpm install plus repeated canonical postinstall preserve Teams jose 6.2.10; actual Vite resolution uses that package and Slack's declared Undici 7.29.0.
  • 255 focused tests pass across postinstall, build preparation, real npm tarballs, native plugin imports, runtime overlays, metadata copying, Docker pruning, and Teams auth coverage.
  • 19 source/resolver/auth/HTTP tests pass on Node and 19 on Bun, including the real Vite importer-resolution regression. CI cache/archive tests and their offline pnpm reconciliation fixture pass.
  • Scoped formatting, script/test-root typechecking, lint, architecture/dependency guards, and workflow checks pass.
  • Fresh independent Codex review completed successfully with no actionable P0 findings in the selected change scope. Lower-priority findings were outside the requested review threshold.
  • Pre-publication local pnpm build passed in 27m 48.3s without ineffective-dynamic-import warnings. A post-build real Vite probe still resolved Teams’ plugin-local jose 6.2.10 and Slack’s package-relative Undici 7.29.0.
  • Clean Linux package proof: Blacksmith Testbox tbx_01m176wvsxy5d0t4hxexk7z4zq completed with wrapper exit 0 and stopped. Frozen install, full pnpm build, post-build source resolution and tests, scripts/release-check.ts (real packed-core installation and bundled-channel entrypoint smoke), and Slack/Teams package dry-runs passed. The backing Actions run may display cancellation from normal one-shot Testbox cleanup; the delegated command result was successful.

Focused owner proof:

node scripts/run-vitest.mjs extensions/msteams/src/auth-coverage.test.ts test/scripts/postinstall-bundled-plugins.test.ts test/scripts/tsdown-build.test.ts test/plugin-npm-package-manifest.test.ts test/scripts/plugin-npm-package-manifest-args.test.ts test/scripts/plugin-npm-runtime-native-import.test.ts test/scripts/stage-bundled-plugin-runtime.test.ts src/plugins/copy-bundled-plugin-metadata.test.ts src/plugins/prune-docker-plugin-dist.test.ts --maxWorkers 1

Proof limits: no authenticated Teams/Slack messaging or provider inference was needed or claimed. An additional instrumented local test run stalled and was stopped; it is not counted as proof, and ordinary Node/Bun reruns passed. No release or version publication is part of this PR. Exact-head PR CI will be recorded before landing; the local and clean Linux proof above does not substitute for it.

Publication: a native-wrapper trust check required a conflict-free mechanical refresh onto current main. The repair’s added/deleted bytes are unchanged. The previous head was 06c13fc974cbd3ffc9c3616d31f2a2c9dc878b60; exact-head PR CI failed: 124 jobs succeeded, 11 skipped, one test shard failed, and the required gate correctly failed. The initial head’s run was superseded and is not landing proof.

Refresh proof and landing status

The former shutdown blocker is resolved upstream by native worker profile coverage and parent-consumed custom shutdown synchronization. This branch was rebased conflict-free onto f12dab5833ae0ee572b7a1c3764efcb4b7151880, adopting both actual fixes. Range-diff confirms the same 16-file repair; there is no profiler/fixture delta, dependency pin/override change, or weakened assertion in this PR. First refreshed candidate: 54c043f8c214face01b826412056718ec244bc20.

Fresh recovery proof on this candidate:

  • pnpm install --frozen-lockfile: passed, including canonical postinstall; no lockfile changes.
  • Full shutdown file: 12/12 passed in original order, including native profiles for VM/custom pools and parent-side stop consumption.
  • Source/resolver/auth/HTTP set: 19/19 passed on Node 24.20.0 and 19/19 on Bun 1.4.0.
  • Six source-preservation regressions and two upstream signed-app output-cleanup cases: 8/8 passed.
  • Actual Vite importer probe: Teams selects declared jose 6.2.10; Slack selects declared undici 7.29.0.
  • Changed-file gates and workflow checks: passed (scripts/test-root types, lint, formatting and owner guards).
  • Fresh isolated Codex autoreview: exit 0, no actionable P0 findings in the selected scope.
node scripts/run-vitest.mjs test/scripts/vitest-fork-shutdown.test.ts --maxWorkers 1 --reporter verbose
node scripts/run-vitest.mjs test/vitest-dependency-resolution.test.ts extensions/msteams/src/auth-coverage.test.ts extensions/slack/src/native-data-blocks.test.ts src/test-utils/mock-http.test.ts --maxWorkers 1
bun --bun node_modules/vitest/vitest.mjs run --project unit-fast --project tooling --project extension-msteams --project extension-slack test/vitest-dependency-resolution.test.ts extensions/msteams/src/auth-coverage.test.ts extensions/slack/src/native-data-blocks.test.ts src/test-utils/mock-http.test.ts --maxWorkers 1
node scripts/run-vitest.mjs test/scripts/postinstall-bundled-plugins.test.ts test/scripts/tsdown-build.test.ts --maxWorkers 1 -t 'preserves importer dependency resolution|preserves separately owned outputs|keeps the packaged Mac app intact'

Tooling notes: the direct Bun tooling wrapper failed before collection on a tsx CJS-resolution error, so Bun proof uses the explicit Vitest run entry with unchanged repository configs. The workflow wrapper initially selected system Python 3.9 and could not install its pinned pre-commit; the unchanged wrapper passed with installed Python 3.14, including the pinned security hook. An initial ad hoc Vite probe used a nonexistent Slack importer; using the real source importer passed. These unsuccessful diagnostics are not counted as passing proof.

The documented full local build and clean Linux packaged proof remain applicable: this refresh does not change npm staging or module boundaries. The only overlapping main build change preserves signed app output during cleanup, covered by the fresh owner cases. Exact-current-head CI and native landing status will be recorded below; no prepare or merge has been attempted.

Browser CI repair adoption

Run 33279260949 finished with 124 successful jobs, 11 skipped, and failures in Chromium shard 14/14 plus the aggregate gate. The Chromium test assertions passed, but two unhandled Playwright JSON errors came from foreign Runtime.bindingCalled payloads (before-enable / after-disable). The dependency repair did not touch that owner.

Main already contained the exact repair in #132878, browser binding ownership and clipboard teardown, merged as 0dcbb900559944775bcca61452280e2f7383f007. The branch was refreshed conflict-free onto 90c1d798cad44f0d1901524a613acef33a4e42b6 to adopt it. Current candidate: 9987d847cc39b8273c8b25ac36a0bf04b0984b80. Range-diff again confirms the same 16-file repair; no browser, clipboard, fixture, manifest, lockfile or changelog delta was added to this PR.

Fresh proof on the second candidate: 31 Node cases passed (12 shutdown plus the same 19 source/resolver/auth/HTTP cases), 19 Bun cases passed, actual Vite importer versions remained correct, and all 40 upstream Runtime ownership cases passed. A fresh isolated Codex P0 autoreview reported no actionable findings. Changed-file and workflow gates passed.

node scripts/run-vitest.mjs test/scripts/vitest-fork-shutdown.test.ts test/vitest-dependency-resolution.test.ts extensions/msteams/src/auth-coverage.test.ts extensions/slack/src/native-data-blocks.test.ts src/test-utils/mock-http.test.ts --maxWorkers 1
OPENCLAW_BROWSER_EXTENSION_E2E=1 node scripts/run-vitest.mjs extensions/browser/chrome-extension/bootstrap.chromium.test.ts extensions/browser/src/browser/extension-relay/relay-runtime.test.ts --maxWorkers 1

The combined browser command is not a passing full-flow claim: its 40 Runtime tests passed, and Chromium exercised binding isolation, reconnect, labeled screenshots and tab creation without the CI JSON errors, then failed at native-host bootstrap while using the retained older built host artifact. Both generated screenshot proofs were inspected locally. The newly rebuilt exact-head Chromium CI lane must pass before landing; no assertion, timeout, dependency or runtime workaround was added.

Exact-head CI run33280125633 completed green on9987d847. All rebuilt UI E2E shards, including Chromium14/14, passed, resolving the browser full-flow proof gap. The canonical CI watcher exited0 with GREEN. The latest completed ClawSweeper review (22:51 UTC) has no actionable findings and asks only for normal exact-head CI and merge-result validation. Native review artifacts are current; prepare/merge await final approval.

@clawsweeper

clawsweeper Bot commented Aug 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 docs Improvements or additions to documentation scripts Repository scripts size: L maintainer Maintainer-authored PR labels Aug 29, 2026
@steipete
steipete marked this pull request as ready for review August 29, 2026 19:41
@steipete
steipete force-pushed the steipete/dazzling-wilbur-7ee1fc branch from eab6261 to 06c13fc Compare August 29, 2026 19:43
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 29, 2026
@clawsweeper

clawsweeper Bot commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed August 29, 2026, 7:22 PM ET / 23:22 UTC.

ClawSweeper review

What this changes

The PR preserves plugin dependencies in source checkouts, stages npm package contents separately for publishing, and updates related build, cache, resolver, documentation, and test coverage.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep open: the new isolated package staging tree drops the repository npm release-age policy before a portable optional-dependency install, creating a supply-chain policy bypass that must be repaired before merge.

Priority: P2
Reviewed head: 9987d847cc39b8273c8b25ac36a0bf04b0984b80

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The dependency-preservation repair is well exercised, but the introduced staging boundary omits a material npm supply-chain policy.
Proof confidence 🦞 diamond lobster (5/6) Not applicable: This maintainer-associated PR supplies Testbox and CI evidence for package behavior, but its current staged-package test does not cover the newly identified project-config propagation gap.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-associated PR supplies Testbox and CI evidence for package behavior, but its current staged-package test does not cover the newly identified project-config propagation gap.
Evidence reviewed 7 items Introduced staging boundary: The PR copies only the plugin package into a temporary staging directory and passes that directory as the package root for later packaging work; the root project configuration is not part of that copy.
Optional dependency install uses staged root: Portable optional bundled dependencies are collected and non-file registry specs are retained; missing dependencies are installed by npm with its working directory set to packageDir, now the temporary staging directory.
Repository supply-chain policy: The repository npm configuration sets a seven-day minimum release age. npm’s project-config contract loads .npmrc from the local project root, so an npm invocation in the staged directory does not inherit this policy.
Findings 1 actionable finding [P1] Preserve the repository npm policy in the staging tree
Security Needs attention Staged npm install bypasses project release-age policy: The introduced staging root omits the repository .npmrc, while a later registry-capable optional dependency install uses that root as its working project. This weakens the repository’s package-age supply-chain control.

How this fits together

OpenClaw’s plugin publishing path collects bundled runtime dependencies and produces npm packages from plugin source directories. The staging wrapper feeds dependency recovery and npm packaging, which then produces the publishable plugin artifact.

flowchart LR
A[Plugin source directory] --> B[Isolated package staging]
E[Repository npm policy] --> B
B --> C[Bundled dependency recovery]
C --> D[npm install]
D --> F[Publishable plugin artifact]
Loading

Before merge

  • Preserve the repository npm policy in the staging tree (P1) - The new temporary staging directory contains only the plugin package, but later installMissingOptionalBundledDependencies runs npm install with that directory as its package root. npm therefore cannot load the repository .npmrc that enforces min-release-age=7; registry-based portable optional dependencies can be resolved without the intended supply-chain filter. Propagate the canonical npm configuration to this invocation and cover a registry-spec optional dependency with a root .npmrc.
  • Resolve security concern: Staged npm install bypasses project release-age policy - The introduced staging root omits the repository .npmrc, while a later registry-capable optional dependency install uses that root as its working project. This weakens the repository’s package-age supply-chain control.
  • Resolve merge risk (P1) - Merging permits portable optional-dependency recovery in the temporary package root without the repository’s seven-day npm release-age filter.
  • Complete next step (P2) - A narrow security-sensitive repair is identified on the existing maintainer PR; review the policy-preserving change and its focused proof before merge.

Findings

  • [P1] Preserve the repository npm policy in the staging tree — scripts/lib/plugin-npm-package-manifest.mts:834-844
  • [medium] Staged npm install bypasses project release-age policy — scripts/lib/plugin-npm-package-manifest.mts:834
Agent review details

Security

Needs attention: The staged optional-dependency recovery install no longer inherits the repository npm release-age policy.

PR surface

Tests +30, Docs +8, Config +2, Other -5. Total +35 across 16 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 8 332 302 +30
Docs 3 22 14 +8
Config 2 5 3 +2
Generated 0 0 0 0
Other 3 62 67 -5
Total 16 421 386 +35

Review metrics

Metric Value Why it matters
Production versus test delta production/tooling +67/-70 (net -3); tests/support +332/-302 (net +30); docs +22/-14 The dependency-preservation refactor is net-negative in production tooling, while most changed lines add coverage and supporting documentation.

Merge-risk options

Maintainer options:

  1. Preserve npm policy in staging (recommended)
    Copy or explicitly supply the canonical repository npm configuration to the staged optional-dependency install and prove it with a registry-spec regression.
  2. Accept policy divergence
    Explicitly accept that portable optional dependency recovery during package staging intentionally bypasses the repository release-age policy.

Technical review

Best possible solution:

Keep the isolated staging design, but propagate the canonical npm policy to its recovery install and add a registry-spec regression that proves the staged invocation receives it.

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

No live reproduction was run in this read-only review, but source inspection establishes the introduced staged npm invocation and the missing project-policy boundary with high confidence.

Is this the best way to solve the issue?

No: isolating package contents is appropriate, but the staged install must preserve the repository npm policy and demonstrate that behavior for a registry dependency.

Full review comments:

  • [P1] Preserve the repository npm policy in the staging tree — scripts/lib/plugin-npm-package-manifest.mts:834-844
    The new temporary staging directory contains only the plugin package, but later installMissingOptionalBundledDependencies runs npm install with that directory as its package root. npm therefore cannot load the repository .npmrc that enforces min-release-age=7; registry-based portable optional dependencies can be resolved without the intended supply-chain filter. Propagate the canonical npm configuration to this invocation and cover a registry-spec optional dependency with a root .npmrc.
    Confidence: 0.97

Overall correctness: patch is incorrect
Overall confidence: 0.94

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 5d7b36c5a6c7.

Labels

Label changes:

  • add merge-risk: 🚨 security-boundary: The introduced temporary npm root can resolve portable optional packages without the repository’s intended minimum release-age protection.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: This maintainer-associated PR supplies Testbox and CI evidence for package behavior, but its current staged-package test does not cover the newly identified project-config propagation gap.
  • remove proof: sufficient: Current real behavior proof status is not_applicable, not sufficient.
  • remove rating: 🦞 diamond lobster: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: ⏳ waiting on author.

Label justifications:

  • P2: This is a bounded release-tooling defect with a concrete supply-chain policy effect, but it does not disrupt the running product for existing operators.
  • merge-risk: 🚨 security-boundary: The introduced temporary npm root can resolve portable optional packages without the repository’s intended minimum release-age protection.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: This maintainer-associated PR supplies Testbox and CI evidence for package behavior, but its current staged-package test does not cover the newly identified project-config propagation gap.

Evidence

Security concerns:

  • [medium] Staged npm install bypasses project release-age policy — scripts/lib/plugin-npm-package-manifest.mts:834
    The introduced staging root omits the repository .npmrc, while a later registry-capable optional dependency install uses that root as its working project. This weakens the repository’s package-age supply-chain control.
    Confidence: 0.97

What I checked:

  • Introduced staging boundary: The PR copies only the plugin package into a temporary staging directory and passes that directory as the package root for later packaging work; the root project configuration is not part of that copy. (scripts/lib/plugin-npm-package-manifest.mts:834, 9987d847cc39)
  • Optional dependency install uses staged root: Portable optional bundled dependencies are collected and non-file registry specs are retained; missing dependencies are installed by npm with its working directory set to packageDir, now the temporary staging directory. (scripts/lib/plugin-npm-package-manifest.mts:446, 9987d847cc39)
  • Repository supply-chain policy: The repository npm configuration sets a seven-day minimum release age. npm’s project-config contract loads .npmrc from the local project root, so an npm invocation in the staged directory does not inherit this policy. (.npmrc:5, 9987d847cc39)
  • Reachable bundled-plugin path: The npm-published WhatsApp plugin bundles baileys; its locked dependency graph includes optional sharp platform packages, and the collector traverses optional dependencies for recovery installs. (extensions/whatsapp/package.json:77, 9987d847cc39)
  • Regression coverage gap: The new staging test uses a local file: optional dependency and no root .npmrc, so it verifies packaging layout but cannot prove registry installs retain the release-age policy. (test/plugin-npm-package-manifest.test.ts:618, 9987d847cc39)
  • Current-main necessity check: Fetched main still prunes source-checkout plugin node_modules, while this PR exits the source-checkout path before cleanup; the central dependency-preservation change is not already on main. (scripts/postinstall-bundled-plugins.mjs:603, 5d7b36c5a6c7)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)

Rank-up moves

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

  • Propagate the canonical npm policy to the staged recovery install.
  • Add a registry-spec test with a root .npmrc that proves the policy is retained.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (3 earlier review cycles)
  • reviewed 2026-08-29T20:01:45.023Z sha 06c13fc :: needs maintainer review before merge. :: none
  • reviewed 2026-08-29T22:51:36.553Z sha 54c043f8c214face01b826412056718ec244bc20 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-29T23:13:41.215Z sha 9987d84 :: needs maintainer review before merge. :: none

@steipete
steipete force-pushed the steipete/dazzling-wilbur-7ee1fc branch from 06c13fc to 54c043f Compare August 29, 2026 22:42
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Aug 29, 2026
pnpm owns source dependency versions and workspace links. Remove both
source pruning owners, isolate npm bundle staging, preserve importer trees
in CI caches, and keep the Bun Undici workaround importer-relative.

Source tests now exercise declared plugin versions after install and build.
Packaged runtime cleanup remains unchanged; no dependency pins change.

Related: #132385
@steipete
steipete force-pushed the steipete/dazzling-wilbur-7ee1fc branch from 54c043f to 9987d84 Compare August 29, 2026 23:04
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 29, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Ready to land 9987d847. Exact-head CI passed:126 successful jobs,11 skipped, including the rebuilt Chromium lane and required gate.

The unchanged16-file repair preserves pnpm-owned source dependencies and isolates npm bundling in temporary staging (production/tooling net−3). Merged shutdown repairs #132820/#132824 and browser binding repair #132878 are inherited from main. Fresh12 shutdown +19 source tests pass on Node,19 source tests pass on Bun, actual Vite selects the declared Teams/Slack versions, and changed gates plus isolated Codex P0 review pass. Native review artifacts validate; the latest completed ClawSweeper review has no findings. Earlier failures and the local Chromium bootstrap limitation remain documented in the PR body; rebuilt exact-head CI supplies the full-flow proof.

The latest ClawSweeper review has no code/security findings. Its remaining items are resolved: exact-head CI is complete, and the maintainer explicitly accepts this owner-boundary repair. I also directly inspected installed Vite8.2.2: dist/node/chunks/node.js alias resolution (5358–5367) preserves the original importer; tryNodeResolve (33043–33068) starts from an existing absolute importer’s directory unless explicit dedupe applies; resolvePackageData (1892–1924) walks ancestor node_modules and resolves real paths. This source contract agrees with the passing actual-Vite probe and Node/Bun regressions.

Proceeding through native prepare/merge with matching-head final approval. No release, dependency pin, manifest, lockfile, or changelog change.

@steipete
steipete merged commit 013b361 into main Aug 29, 2026
197 checks passed
@steipete
steipete deleted the steipete/dazzling-wilbur-7ee1fc branch August 29, 2026 23:29
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 30, 2026
…nclaw#132811)

pnpm owns source dependency versions and workspace links. Remove both
source pruning owners, isolate npm bundle staging, preserve importer trees
in CI caches, and keep the Bun Undici workaround importer-relative.

Source tests now exercise declared plugin versions after install and build.
Packaged runtime cleanup remains unchanged; no dependency pins change.

Related: openclaw#132385
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: L status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant