Skip to content

fix(build): fail closed on symlinked build output roots - #116705

Merged
vincentkoc merged 3 commits into
openclaw:mainfrom
wangyan2026:fix/symlink-output-root-guard-116498
Jul 31, 2026
Merged

vincentkoc merged 3 commits into
openclaw:mainfrom
wangyan2026:fix/symlink-output-root-guard-116498

Conversation

@wangyan2026

@wangyan2026 wangyan2026 commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Closes #116498

What problem this solves

A source build could recursively delete files outside the checkout when a generated output root (dist, dist-runtime, or a package-local dist) was a symlink. The reported incident deleted 12,809 generated files from a live gateway build tree and later caused ERR_MODULE_NOT_FOUND failures.

Fix

Build and postbuild mutation paths now fail closed when an output root is a symlink or junction. The shared guard:

  • uses lstat on the root itself;
  • treats only ENOENT as a missing root and propagates other filesystem failures;
  • validates the complete root set before traversal, cleanup, or pruning can mutate any root;
  • covers the canonical aggregate build plus standalone UI, export-template, bundled-plugin asset, and plugin-runtime entry points;
  • leaves below-root symlink policy unchanged as a separate decision.

Maintainer policy decision: generated output roots must be real directories. Operators using symlinked output roots must replace them with real directories before building. This compatibility break is intentional because following the link can destroy unrelated data.

Evidence

Current exact head 160e0ee5e86a3b1f6e4f91ee6d681b20aa5854ea is a conflict-free rebase onto the frozen merge slot 82231b425b7f574e70c03bc32bb954a78bc3377b; git range-diff confirms the three-commit patch is unchanged. Live main then advanced to b4e10e8a90f4e9d0d7adffff83a229cd83d9c8fc in an unrelated file set; the exact merge tree has zero touched-file overlap, the same stable patch id, and passes git diff --check. The full build and broad changed-gate proof below were recorded on the identical patch tree at 3562737b739a10b3a0af301f6f8c0a8adc6506f5, followed by final exact-head focused tests, format, lint, and diff validation.

  • Reproduced destructive cleanup on unpatched main; confirmed the vulnerable path in v2026.7.1 and v2026.7.2-beta.5 on Node 22.22.3, 24.15.0, and 26.5.0.
  • Focused validation: 406 assertions passed, including the plugin-owner lane; the critical 132-case subset passed five consecutive runs.
  • Changed-test routing: 259 assertions passed. UI guard suite: 12 tests passed. Final post-review smoke: 18 passed, 1 Windows-only skipped.
  • Canonical changed gate passed its selected policy, format, lint, declaration, dependency, boundary, and tsgo lanes. It caught a missing ambient declaration during validation; that declaration was added and the exact failed test-root tsgo lane passed.
  • Full pnpm build passed on the exact head in 5m33.6s, covering tsdown, runtime postbuild, bundled-plugin assets, plugin SDK exports, export templates, and UI verification.
  • Fresh branch autoreview reported no findings: patch is correct, confidence 0.91.
  • Blacksmith Testbox could not begin execution because file sync timed out twice, including with the prescribed unlimited wrapper timeout. Repository-policy fallback validation ran in an isolated disposable local GWT; this is not a remote-green claim.

AI assistance

  • AI-assisted: yes
  • Original contributor model: kimi-k3
  • Maintainer repair and review: human-directed, with full diff and validation outputs reviewed before push

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts docker Docker and sandbox tooling size: M triage: blank-template Candidate: PR template appears mostly untouched. triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. and removed triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. labels Jul 31, 2026
@wangyan2026 wangyan2026 changed the title [AI] fix(build): fail closed on symlinked build output roots fix(build): fail closed on symlinked build output roots Jul 31, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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. P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 31, 2026
@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 7:29 AM ET / 11:29 UTC.

ClawSweeper review

What this changes

This PR adds a shared lstat-based guard so build and postbuild commands reject symlinked generated output roots before cleanup, staging, metadata copying, or alias rewriting can alter the link target.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep this PR open for the assigned maintainer’s normal landing path. The member comment explicitly accepts the intentional fail-closed compatibility policy, the patch has no concrete correctness finding, and the remaining gate is completion of the current exact-head required checks rather than a contributor repair.

Priority: P0
Reviewed head: 160e0ee5e86a3b1f6e4f91ee6d681b20aa5854ea

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, well-tested fix with strong terminal proof; ordinary maintainer merge review remains appropriate because it intentionally changes a source-build compatibility path.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The PR body contains before/after terminal evidence from a real temporary filesystem setup: vulnerable cleanup alters the symlink target before the fix, while patched paths throw and preserve the link and target.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR body contains before/after terminal evidence from a real temporary filesystem setup: vulnerable cleanup alters the symlink target before the fix, while patched paths throw and preserve the link and target.
Evidence reviewed 5 items Shared fail-closed boundary: The PR introduces a shared guard that uses lstatSync, permits only a missing root, and throws before a symlinked root can be recursively mutated; it is used by tsdown cleanup and the audited postbuild entry points.
Reported shipped path is covered: The PR extends the guard to cleanTsdownOutputRoots before it enumerates protected children or removes output entries, which is the preserve-aware cleanup path described by the linked report.
Sibling mutation coverage: The patch applies the same boundary before bundled-plugin metadata replacement, Docker pruning, runtime alias replacement, bundled runtime staging, standalone UI build, export-template copying, and package-local plugin runtime cleanup.
Findings None None.
Security None None.

How this fits together

OpenClaw’s source-build pipeline creates dist, dist-runtime, and package-local build trees before runtime packaging and gateway startup consume them. The changed scripts are the mutation boundary: they receive build-output paths, decide whether they are safe roots, then clean or populate generated artifacts.

flowchart LR
  A[Source build command] --> B[Build and postbuild mutators]
  B --> C[Output-root safety check]
  C -->|Missing or real root| D[Cleanup copy and staging]
  C -->|Symlinked root| E[Actionable build failure]
  D --> F[Generated dist trees]
  F --> G[Runtime packaging and gateway startup]
Loading

Before merge

  • Resolve merge risk (P1) - Merging intentionally changes existing source checkouts whose top-level generated output roots are symlinks: builds now stop until the operator replaces the link with a real directory.
  • Resolve merge risk (P1) - Several required exact-head checks are still in progress, so merge should wait for the final current-base CI state even though the PR is cleanly mergeable and the member reports unrelated base movement.
  • Complete next step (P2) - The only remaining action is the assigned maintainer’s normal merge decision after the current exact-head required checks complete; there is no discrete repair for ClawSweeper to queue.
Agent review details

Security

None.

PR surface

Tests +410, Docs +6, Other +90. Total +506 across 25 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 11 412 2 +410
Docs 1 6 0 +6
Config 0 0 0 0
Generated 0 0 0 0
Other 13 107 17 +90
Total 25 525 19 +506

Review metrics

None.

Stored data model

Persistent data-model change detected: serialized state: test/plugin-npm-runtime-build.test.ts, serialized state: test/scripts/runtime-postbuild.test.ts, serialized state: test/scripts/stage-bundled-plugin-runtime.test.ts, serialized state: test/scripts/tsdown-build.test.ts, vector/embedding metadata: src/plugins/copy-bundled-plugin-metadata.test.ts, vector/embedding metadata: test/scripts/tsdown-build.test.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #116498
Summary: This PR is the concrete candidate fix for the linked canonical report: both describe recursive build-output mutation through a symlinked root and the PR adds the requested fail-closed boundary.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Land after exact-head checks complete (recommended)
    Accept the already-confirmed fail-closed policy and merge once the remaining required checks finish successfully on the current merge result.
  2. Pause only for a supported-layout reversal
    Keep the PR open only if maintainers decide that top-level output-root symlinks need a separately designed safe compatibility contract.

Technical review

Best possible solution:

Land the shared root-level guard after the in-progress required checks complete, retaining the documented migration to real output directories rather than restoring traversal into symlink targets.

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

Yes. The PR supplies a concrete temporary-directory reproduction of preserve-aware cleanup mutating a symlink target on unpatched code and shows the patched paths throw before changing the target.

Is this the best way to solve the issue?

Yes. A shared root-level lstat guard is the narrowest maintainable fix for every audited recursive mutator, and the accepted policy prevents silent traversal into a potentially live output tree.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 95df2dfd6a61.

Labels

Label justifications:

  • P0: The linked report describes deterministic silent deletion through a build-output symlink followed by gateway module-resolution failures.
  • merge-risk: 🚨 compatibility: Existing source deployments that intentionally use symlinked generated output roots will change from building successfully to receiving an explicit remediation error.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR body contains before/after terminal evidence from a real temporary filesystem setup: vulnerable cleanup alters the symlink target before the fix, while patched paths throw and preserve the link and target.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body contains before/after terminal evidence from a real temporary filesystem setup: vulnerable cleanup alters the symlink target before the fix, while patched paths throw and preserve the link and target.

Evidence

What I checked:

  • Shared fail-closed boundary: The PR introduces a shared guard that uses lstatSync, permits only a missing root, and throws before a symlinked root can be recursively mutated; it is used by tsdown cleanup and the audited postbuild entry points. (scripts/lib/output-root-guard.mjs:10, 160e0ee5e86a)
  • Reported shipped path is covered: The PR extends the guard to cleanTsdownOutputRoots before it enumerates protected children or removes output entries, which is the preserve-aware cleanup path described by the linked report. (scripts/tsdown-build.mjs:98, 160e0ee5e86a)
  • Sibling mutation coverage: The patch applies the same boundary before bundled-plugin metadata replacement, Docker pruning, runtime alias replacement, bundled runtime staging, standalone UI build, export-template copying, and package-local plugin runtime cleanup. (scripts/runtime-postbuild.mjs:548, 160e0ee5e86a)
  • Regression and real-behavior evidence: The PR body records before/after temporary-directory runs where unpatched cleanup mutates a symlink target while the patched path throws and leaves both link and target intact; focused tests cover the shared guard and affected owners. (test/scripts/output-root-guard.test.ts:10, 160e0ee5e86a)
  • Maintainer policy and landing state: A member explicitly accepted rejecting symlinked dist, dist-runtime, and package-local output roots as the compatibility policy, documented the operator migration, and is holding merge only for final current-main refresh and required-check completion. Public docs: docs/install/updating.md. (docs/install/updating.md:108, 160e0ee5e86a)

Likely related people:

  • vincentkoc: Authored the current PR head, recorded the accepted fail-closed policy, supplied exact-head validation context, and is assigned to the PR. (role: recent build-tooling contributor and policy decision author; confidence: high; commits: 160e0ee5e86a; files: scripts/lib/output-root-guard.mjs, scripts/tsdown-build.mjs, docs/install/updating.md)
  • wangyan2026: Authored the original shared-guard implementation and the follow-up test-routing commit that established this focused patch series. (role: original build-tooling fix contributor; confidence: medium; commits: 907fa9fa4e77, 0a2acec14ac1; files: scripts/lib/output-root-guard.mjs, test/scripts/tsdown-build.test.ts, src/plugins/copy-bundled-plugin-metadata.test.ts)

Rank-up moves

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

  • Wait for the remaining exact-head required checks to complete before merging.

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 (7 earlier review cycles)
  • reviewed 2026-07-31T08:02:31.130Z sha 436e873db6e6e553adf8c9bb467d32248f860472 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T08:44:53.384Z sha 436e873db6e6e553adf8c9bb467d32248f860472 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T09:38:52.859Z sha 436e873db6e6e553adf8c9bb467d32248f860472 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T10:08:40.778Z sha 687bfe602c44841d667ec1c3068d5f0a81c6607a :: needs changes before merge. :: [P3] Remove the release-owned changelog entry
  • reviewed 2026-07-31T10:18:55.380Z sha 3562737b739a10b3a0af301f6f8c0a8adc6506f5 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T10:24:11.180Z sha 3562737b739a10b3a0af301f6f8c0a8adc6506f5 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T11:25:13.282Z sha 160e0ee :: needs maintainer review before merge. :: none

@openclaw-barnacle openclaw-barnacle Bot reopened this Jul 31, 2026
@vincentkoc vincentkoc self-assigned this Jul 31, 2026
@vincentkoc
vincentkoc force-pushed the fix/symlink-output-root-guard-116498 branch from 436e873 to 687bfe6 Compare July 31, 2026 10:04
@openclaw-barnacle openclaw-barnacle Bot added the docs Improvements or additions to documentation label Jul 31, 2026
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. and removed triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. labels Jul 31, 2026
@vincentkoc
vincentkoc force-pushed the fix/symlink-output-root-guard-116498 branch from 687bfe6 to 3562737 Compare July 31, 2026 10:14
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Jul 31, 2026
@vincentkoc

Copy link
Copy Markdown
Member

Maintainer decision: I accept the fail-closed compatibility policy. Generated dist, dist-runtime, and package-local output roots must be real directories; following a symlink or junction is not worth the data-loss risk. The update documentation names the required migration.

Exact-head CI run: https://github.com/openclaw/openclaw/actions/runs/30622873936

All branch-relevant build, type, Windows, contract, boundary, and test lanes passed. Two exceptions are external to this diff:

  • checks-node-compact-small-4 hit the base-only skill allowlist regression; the exact assertion passes on this frozen branch, and current main now contains the missing allowlist.
  • check-lint was shut down by the runner with exit 143 twice while oxlint was still progressing; local canonical lint and format validation are green.

Holding merge for the final current-main refresh and required-check rerun.

@vincentkoc
vincentkoc force-pushed the fix/symlink-output-root-guard-116498 branch from 7913631 to 03d5e25 Compare July 31, 2026 11:17
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

wangyan2026 and others added 3 commits July 31, 2026 19:20
A symlinked dist/dist-runtime root made preserve-aware cleanup recurse into
the link target and delete it (incident: 12,809 files removed from a running
gateway's tree). Add one shared lstat guard and apply it at every audited
build/postbuild recursive mutator; the symlink and target stay unchanged and
the build stops with an actionable error.

Fixes openclaw#116498
…gh owner lane

The scripts-lane test twin broke the changed-target routing pins for
scripts/copy-bundled-plugin-metadata.mjs edits; move the symlinked-dist
guard case into src/plugins/copy-bundled-plugin-metadata.test.ts.

Related to openclaw#116498
@vincentkoc
vincentkoc force-pushed the fix/symlink-output-root-guard-116498 branch from 03d5e25 to 160e0ee Compare July 31, 2026 11:21
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@vincentkoc

Copy link
Copy Markdown
Member

ClawSweeper rank-up move disposition: no further rebase after the frozen merge slot. The branch was conflict-free rebased onto 82231b425b7f574e70c03bc32bb954a78bc3377b; live main later advanced to b4e10e8a90f4e9d0d7adffff83a229cd83d9c8fc only in unrelated files. The exact merge tree has zero touched-file overlap, the same stable patch id (c338adbc6a080a3b1f06e7d206ba1669a54a3e2f), and a clean git diff --check. Rewriting again would only restart identical validation. Holding merge until required exact-head CI completes.

@vincentkoc
vincentkoc merged commit d865c9b into openclaw:main Jul 31, 2026
120 of 123 checks passed
vincentkoc added a commit to yetval/openclaw that referenced this pull request Aug 1, 2026
* commit 'd8f229f2e6c39e2dc694730c2efc479e4fb3871e': (59 commits)
  fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824)
  fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818)
  fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816)
  fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400)
  fix(browser): preserve doctor JSON failure status (openclaw#116811)
  fix(ollama): stream native tool call lifecycle (openclaw#116809)
  fix(matrix): preserve message-tool room thread routing (openclaw#116802)
  fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751)
  fix(ui): coalesce profile identity refresh (openclaw#116764)
  fix(ui): preserve chat attachments and run ownership (openclaw#116752)
  fix(plugins): clean up partial service startup once (openclaw#116804)
  fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801)
  fix(qa-lab): support groups and isolate thread timelines (openclaw#116803)
  feat(plugins): externalize Voyage embeddings (openclaw#116785)
  fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520)
  fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757)
  fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771)
  fix(ui): preserve scoped session state across updates (openclaw#116772)
  fix(build): fail closed on symlinked build output roots (openclaw#116705)
  fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773)
  ...
pull Bot pushed a commit to liudf0716/openclaw that referenced this pull request Aug 1, 2026
* origin/main: (52 commits)
  fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824)
  fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818)
  fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816)
  fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400)
  fix(browser): preserve doctor JSON failure status (openclaw#116811)
  fix(ollama): stream native tool call lifecycle (openclaw#116809)
  fix(matrix): preserve message-tool room thread routing (openclaw#116802)
  fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751)
  fix(ui): coalesce profile identity refresh (openclaw#116764)
  fix(ui): preserve chat attachments and run ownership (openclaw#116752)
  fix(plugins): clean up partial service startup once (openclaw#116804)
  fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801)
  fix(qa-lab): support groups and isolate thread timelines (openclaw#116803)
  feat(plugins): externalize Voyage embeddings (openclaw#116785)
  fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520)
  fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757)
  fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771)
  fix(ui): preserve scoped session state across updates (openclaw#116772)
  fix(build): fail closed on symlinked build output roots (openclaw#116705)
  fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773)
  ...
sunlit-deng pushed a commit to sunlit-deng/openclaw that referenced this pull request Aug 1, 2026
* commit 'd8f229f2e6c39e2dc694730c2efc479e4fb3871e': (60 commits)
  fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824)
  fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818)
  fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816)
  fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400)
  fix(browser): preserve doctor JSON failure status (openclaw#116811)
  fix(ollama): stream native tool call lifecycle (openclaw#116809)
  fix(matrix): preserve message-tool room thread routing (openclaw#116802)
  fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751)
  fix(ui): coalesce profile identity refresh (openclaw#116764)
  fix(ui): preserve chat attachments and run ownership (openclaw#116752)
  fix(plugins): clean up partial service startup once (openclaw#116804)
  fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801)
  fix(qa-lab): support groups and isolate thread timelines (openclaw#116803)
  feat(plugins): externalize Voyage embeddings (openclaw#116785)
  fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520)
  fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757)
  fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771)
  fix(ui): preserve scoped session state across updates (openclaw#116772)
  fix(build): fail closed on symlinked build output roots (openclaw#116705)
  fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
)

Reject symlinked generated-output roots before build and postbuild mutation paths can recurse into unrelated targets. Cover aggregate, UI, export-template, bundled-plugin, Docker-prune, and plugin-runtime entry points with regression tests and migration guidance.

Closes openclaw#116498

Co-authored-by: WangYan <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
* commit '4e7fffdb98ce4d3e6fd69859bedd584cf474ec53': (59 commits)
  fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824)
  fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818)
  fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816)
  fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400)
  fix(browser): preserve doctor JSON failure status (openclaw#116811)
  fix(ollama): stream native tool call lifecycle (openclaw#116809)
  fix(matrix): preserve message-tool room thread routing (openclaw#116802)
  fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751)
  fix(ui): coalesce profile identity refresh (openclaw#116764)
  fix(ui): preserve chat attachments and run ownership (openclaw#116752)
  fix(plugins): clean up partial service startup once (openclaw#116804)
  fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801)
  fix(qa-lab): support groups and isolate thread timelines (openclaw#116803)
  feat(plugins): externalize Voyage embeddings (openclaw#116785)
  fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520)
  fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757)
  fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771)
  fix(ui): preserve scoped session state across updates (openclaw#116772)
  fix(build): fail closed on symlinked build output roots (openclaw#116705)
  fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
* origin/main: (52 commits)
  fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824)
  fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818)
  fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816)
  fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400)
  fix(browser): preserve doctor JSON failure status (openclaw#116811)
  fix(ollama): stream native tool call lifecycle (openclaw#116809)
  fix(matrix): preserve message-tool room thread routing (openclaw#116802)
  fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751)
  fix(ui): coalesce profile identity refresh (openclaw#116764)
  fix(ui): preserve chat attachments and run ownership (openclaw#116752)
  fix(plugins): clean up partial service startup once (openclaw#116804)
  fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801)
  fix(qa-lab): support groups and isolate thread timelines (openclaw#116803)
  feat(plugins): externalize Voyage embeddings (openclaw#116785)
  fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520)
  fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757)
  fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771)
  fix(ui): preserve scoped session state across updates (openclaw#116772)
  fix(build): fail closed on symlinked build output roots (openclaw#116705)
  fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
* commit '4e7fffdb98ce4d3e6fd69859bedd584cf474ec53': (60 commits)
  fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824)
  fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818)
  fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816)
  fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400)
  fix(browser): preserve doctor JSON failure status (openclaw#116811)
  fix(ollama): stream native tool call lifecycle (openclaw#116809)
  fix(matrix): preserve message-tool room thread routing (openclaw#116802)
  fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751)
  fix(ui): coalesce profile identity refresh (openclaw#116764)
  fix(ui): preserve chat attachments and run ownership (openclaw#116752)
  fix(plugins): clean up partial service startup once (openclaw#116804)
  fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801)
  fix(qa-lab): support groups and isolate thread timelines (openclaw#116803)
  feat(plugins): externalize Voyage embeddings (openclaw#116785)
  fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520)
  fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757)
  fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771)
  fix(ui): preserve scoped session state across updates (openclaw#116772)
  fix(build): fail closed on symlinked build output roots (openclaw#116705)
  fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling docs Improvements or additions to documentation merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. triage: blank-template Candidate: PR template appears mostly untouched.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: build cleanup follows a symlinked output root into its target

2 participants