Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 3, 2026, 9:52 PM ET / July 4, 2026, 01:52 UTC. Summary PR surface: Tests +11, Other +16. Total +27 across 2 files. Reproducibility: yes. by source inspection: current main still writes/chmods the macOS temp script through plain Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the narrow same-identity macOS update-script repair after redacted Parallels npm-update proof or an explicit proof override, with the failed precise scan rerun or handled. Do we have a high-confidence way to reproduce the issue? Yes, by source inspection: current main still writes/chmods the macOS temp script through plain Is this the best way to solve the issue? Yes source-wise: resolving the macOS exec identity once and using it for tee, chmod, chown, and bash is the narrowest maintainable fix. A chmod-only path avoids the denial but leaves a credential-bearing temp script more broadly readable than needed. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2ffeedf406e7. Label changesLabel justifications:
Evidence reviewedPR surface: Tests +11, Other +16. Total +27 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
220a503 to
883981c
Compare
|
Heads up: this PR needs to be updated against current |
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper status: this ClawSweeper-authored replacement PR is blocked on real behavior proof. Reviewed head: Maintainer decision needed:
|
883981c to
91bd40d
Compare
|
ClawSweeper status: this ClawSweeper-authored replacement PR is blocked on real behavior proof. Reviewed head: Maintainer decision needed:
|
|
This pull request has been automatically marked as stale due to inactivity. |
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
|
Merged via squash.
|
Summary
Found one macOS-only Parallels smoke harness regression. The new guest script writer creates a root-owned
700script, then the macOS lane executes it as the desktop user.What ClawSweeper Is Fixing
scripts/e2e/parallels/npm-update-smoke.ts:739guestMacos()writes the script viawriteGuestScript(macosVm, ...), then runs it throughprlctl exec ... --current-user ... /bin/bash <scriptPath>or the sudo desktop-user fallback at lines 451-453. ButwriteGuestScript()writes with plainprlctl exec <vm> /usr/bin/tee <scriptPath>and thenchmod 700 <scriptPath>at lines 730-739. The Parallels docs describe--current-useras logging in as the current guest OS user, so the write path and execute path are different identities for the macOS lane. (docs.parallels.com)pnpm test:parallels:npm-update -- --platform macoscan fail before it exercisesopenclaw update, likely with/bin/bash: /tmp/openclaw-parallels-npm-update-macos-...sh: Permission denied. That breaks the intended release/update smoke coverage on currentmain; no later commit in the touched files fixes it.chownit to the resolved desktop user and keep permissions non-world-readable because the script embeds provider credentials. Keep the Linux root-owned path separate.Expected Repair Surface
scripts/e2e/parallels/npm-update-smoke.tsscripts/e2e/parallels/npm-update-scripts.tsSource And Review Context
ClawSweeper report: https://github.com/openclaw/clawsweeper/blob/main/records/openclaw-openclaw/commits/af5a1fbddb14a1f1ef2f6e9f3487f108d54ce066.md
Commit under review: af5a1fb
Latest main at intake: e311ffd
Original commit author: Peter Steinberger
GitHub author: @steipete
Highest severity: low
Review confidence: high
Diff:
231e5c618f8ae700d51d080e4182a57588da888b..af5a1fbddb14a1f1ef2f6e9f3487f108d54ce066Changed files:
scripts/e2e/parallels/npm-update-scripts.ts,scripts/e2e/parallels/npm-update-smoke.tsCode read: full changed files,
scripts/AGENTS.md, Parallels smoke skill, adjacent guest transport helpers, macOS/Linux smoke helpers, package script entrypointDependencies/web: official Parallels
prlctl execdocs; no package dependency changesCommands:
pnpm docs:list,git show,git diff,git diff --check,pnpm install,pnpm exec tsx scripts/e2e/parallels/npm-update-smoke.ts --help,pnpm exec oxfmt --check --threads=1 ...Expected validation
pnpm check:changedClawSweeper already ran:
pnpm exec tsx scripts/e2e/parallels/npm-update-smoke.ts --help: passed after installing depspnpm exec oxfmt --check --threads=1 scripts/e2e/parallels/npm-update-scripts.ts scripts/e2e/parallels/npm-update-smoke.ts: passedgit diff --check ...: passedKnown review limits:
prlctlis not installed in this environment, so I could not run the actual VM smoke.ClawSweeper Guardrails
mainbefore changing code.ClawSweeper 🐠 replacement reef notes:
fish notes: model gpt-5.5, reasoning medium; reviewed against 220a503.