Repository navigation
fix: publish fresh Sol/xhigh OpenClaw root-cause repairs safely - #974
Conversation
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Thanks for the context here. I did a careful shell check against current Close: the current So I’m closing this as already implemented rather than keeping a duplicate issue open. Review detailsBest possible solution: Keep the current-main validation and trusted-runner implementation, and include it in the next release so production repair publishing receives the corrected path. Do we have a high-confidence way to reproduce the issue? Yes. The focused current-head regression establishes both relevant paths: fallback checks preserve a pending fresh runtime output, while tampering with that output is rejected before archive smoke. Is this the best way to solve the issue? Yes. Binding the fresh output to the subsequent smoke check while excluding only those generated roots from checkout-identity comparison fixes the false refusal without weakening tamper detection. Security review: Security review cleared: The patch hardens artifact, cache, and symlink handling without broadening workflow permissions or adding a new untrusted execution source. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against f105b97e4d27; fix evidence: commit f105b97e4d27, main fix timestamp 2026-07-31T16:12:48Z. |
…claw#974) * fix: preserve fresh root-cause repair builds through secure archive validation * fix: preserve fresh builds through changed-gate fallback --------- Co-authored-by: Peter Steinberger <[email protected]>
What changes
openai/gpt-5.6-solwithxhighreasoning; tell the writer to place generated archive output in its disposable validation directory.pnpm build:ci-artifactsandpnpm run build:ci-artifacts, duplicate fresh builds, and safe intervening checks; bind the freshdist/,dist-runtime/, andpackages/*/dist/output to the exact subsequent smoke check..artifacts/build-all-cachebyte-for-byte while using a disposable clean cache; reject replaced.artifactssymlinks, dependency/vendor poisoning, modified build output, stale artifacts, and exhausted runtime budgets.bwraploopback setup.Real runtime proof
gpt-5.6-sol/xhighrepair already implemented a genuine root-cause fix for Runtime artifact must include agent templates and plugin runtime assets openclaw#98276 in https://github.com/openclaw/clawsweeper/actions/runs/30638412449. The writer created the runtime archive/extraction workflow fix, added focused coverage, and passed ACP import, Gateway readiness,pnpm build:ci-artifacts, runtime archive smoke, and changed-source validation. The executor incorrectly refused to publish the completed PR because legitimate generated archives/build outputs tripped checkout-identity validation. This PR fixes that precise observed production blocker.bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted..artifacts-symlink refusal while an external victim remained intact, and budget exhaustion without spawning a late subprocess.61.3s), including the newly added two-scenario changed-gate fallback regression: fresh runtime output survives both fallback validation commands, while fallback tampering is rejected before archive smoke.Directly reviewable, redacted output from the actual current-head subprocess regression run (no external artifact access required):
Directly reviewable output from the actual failing production root-cause writer, https://github.com/openclaw/clawsweeper/actions/runs/30638412449:
Current-head hosted Linux production-check output, https://github.com/openclaw/clawsweeper/actions/runs/30644393800:
The independent executable symlink-attack fixture also reported
EXTERNAL_VICTIM_EXISTS=true; the malicious external cache target was untouched. The fresh source/security committed-range Codex review concluded:No actionable regressions were identified. Focused validation confirmed disposable archive handling, preservation of freshly generated runtime artifacts, and safe build-cache cleanup.build, andbuild:repairpassed. The local full suite includes unrelated existing macOS-incompatible Linux containment tests; hosted Linuxpnpm checkis the full authoritative gate.[P2] Preserve pending outputs in changed-gate fallbackis resolved: fallback cleanup preserves the pending fresh output roots, verifies the protected checkout identity, and rebinds fresh output after each fallback command. The executable regression proves both the successful stalled-gate → changed-test fallback → archive-smoke sequence and explicit rejection when fallback modifies freshdist/runtime.js.After merge I will dispatch the same production issue through the trusted worker again and verify that the actual
gpt-5.6-sol/xhighroot-cause-fix PR is created. The repository owner explicitly requested automatic service-PR landing, live mutation, and production monitoring in this session.