Skip to content

fix(sandbox): restore guest coding in private workspaces - #135702

Merged
steipete merged 2 commits into
mainfrom
codex/guest-coding-repair
Sep 2, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/guest-coding-repair

Conversation

@steipete

@steipete steipete commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Closes #37634. A sandbox-required guest could chat but could not do ordinary coding work: the private workspaceAccess: "none" workspace was mounted read-only, and both spawn paths rejected children before inheriting the parent's sandbox requirement. The real assembled file tools also treated container paths as host paths during memory-provenance classification.

Why This Change Was Made

Keep isolation at its owning boundary without turning an isolated workspace into a read-only workspace. none now provides writable private storage; explicit ro and the shared-workspace boundary remain unchanged. One managed-skill mount projection protects instruction roots across local, remote, and OpenShell file bridges. Mount format v4 replaces stale container layouts.

Child admission now derives immutable creator/sandbox policy from the authoritative parent under its lifecycle lock before checking execution policy. File-tool memory provenance reuses backend-owned canonical file identity, including remote aliases, and records private writes against the private workspace rather than the shared workspace.

The composed tests also exposed directory rename/remove rejection, untyped remote missing-file errors, inconsistent remote directory-alias preparation, and candidate-container environment influencing host plugin metadata discovery. These are repaired at their existing owners; missing files remain distinguishable from permission or transport failures, and canonical directory preparation retains no-follow file opens.

User Impact

Guests can write, edit, patch, run commands, and delegate inside their private sandbox without administrator access. Public cloning and dependency downloads still require the operator's existing network setting; this PR does not change the global no-network default or expose host credentials. Managed skill files remain read-only. Remote arbitrary shell execution still depends on the remote operator's filesystem policy, not file-bridge checks.

Thanks to @whyuds for the original workspace report. No new config option, schema version, protocol version, dependency, or changelog entry.

Evidence

  • Before-fix live guest reproduction: private workspace writes and public clone failed read-only; hidden and visible children were rejected as unsandboxed. A cold upgrade retained the same session/private workspace and replaced the old container layout; seamless hot replacement was not claimed.
  • Real Gateway/provider matrix: native and Codex runtimes both passed write/edit/read/patch, public clone, two independently verified child executions, private writable workspace, immutable skills, host-exec rejection, and credential absence. Explicit ro passed its negative control. Connections had only operator.read and operator.write; role policy forced sandboxing with agent sandbox mode off.
  • Linux filesystem regression: 2 assembled remote scenarios and 28 remote-bridge tests passed, including canonical aliases, memory quarantine, and escape/final-file-symlink rejection.
  • Local assembled coding/provenance/patch suite: 213 passed. Gateway creation: 135 passed. Hidden spawn: 84 passed. Visible spawn: 134 passed. OpenShell: 116 passed. Provider-environment metadata: 30 passed. Real filesystem bridge E2E: 8 passed. Filesystem boundaries and container recreation: 106 passed.
  • Runtime-candidate validation: all 33 changed-file hashes matched; 178 focused tests and normal pnpm build:docker (all 11 invocations and post-build guards) passed. pnpm tsgo:core and independent Codex review passed. The first CI run exposed two stale sibling-test expectations, a now-unused internal export, and a test-file line limit; the follow-up corrects these without changing runtime behavior. The cleanup has 110 passing focused tests (wrapper exit 0), passing targeted lint, formatting, and independent Codex review; final exact-head CI passed on 3dd9470d47172eaa7e5f436f131241986f513f22, including both Windows test lanes and the required merge gate. All proof machines were released.
  • Production: +312/−371 (net −59); tests: +782/−412; docs: +59/−19. Removed duplicate remote/OpenShell policy paths instead of adding a parallel guest implementation.

The provider proof used patch e3b026d22683c3d5817bbfc29f775b54080184cda001529a6081770a589345e9 over a9469a2119a6cd4251c7346c896c8d9cae3633a3. The next change was a stable local observer binding in two call sites to satisfy TypeScript narrowing across await; that candidate patch bf1fe8740a9bc49a493a638c0929117f7b038741b32bc99149f4128fe78e7f8b passed the separately linked tests/build. The subsequent CI-only cleanup makes one unused helper private and updates/consolidates existing tests; it does not alter runtime behavior. Current head: 3dd9470d47172eaa7e5f436f131241986f513f22.

Named follow-up: sandboxed skill-path presentation. One Codex child attempted a shared-host skill pathname, received correct /workspace/ guidance from the sandbox boundary, and then completed successfully. Investigate the path's presentation/inheritance separately; do not broaden host filesystem access to compensate.

@clawsweeper

clawsweeper Bot commented Sep 2, 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 gateway Gateway runtime docker Docker and sandbox tooling agents Agent runtime and tooling extensions: openshell size: XL maintainer Maintainer-authored PR labels Sep 2, 2026
@steipete
steipete marked this pull request as ready for review September 2, 2026 00:17
@steipete
steipete requested a review from a team as a code owner September 2, 2026 00:17
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. 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 Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 1, 2026, 8:53 PM ET / September 2, 2026, 00:53 UTC.

ClawSweeper review

What this changes

The PR makes isolated guest workspaces writable while keeping managed skills read-only, and propagates required sandboxing into child sessions.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open for normal maintainer handling: the recorded boundary acceptance addresses the prior review’s rank-up move, and the remaining merge gate is exact-head CI for this compatibility- and security-sensitive repair.

Priority: P1
Reviewed head: 3dd9470d47172eaa7e5f436f131241986f513f22

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The repair is coherent, source-backed, and supported by broad real-runtime evidence; exact-head CI remains the final merge gate.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): The PR body links a real Gateway/provider matrix exercising the changed OpenClaw sandbox owner through write, edit, patch, child execution, read-only-skill, host-exec-denial, and credential-absence scenarios, with explicit ro negative control; the supplied follow-up commit is described as test-only cleanup.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The PR body links a real Gateway/provider matrix exercising the changed OpenClaw sandbox owner through write, edit, patch, child execution, read-only-skill, host-exec-denial, and credential-absence scenarios, with explicit ro negative control; the supplied follow-up commit is described as test-only cleanup.
Evidence reviewed 6 items Current-main defect: The current-main workspace mount implementation makes the primary workspace read-only unless access is rw, which covers private workspaceAccess none sessions.
Canonical repaired boundary: The PR makes only ro non-writable, selects private workspace skill roots for none, and mounts those roots read-only.
Child sandbox inheritance: Native subagent planning derives inherited creation policy before admission, and Gateway session creation locks and revalidates the parent lifecycle before persisting the child policy.
Findings None None.
Security None None.

How this fits together

Sandboxed agent tools use filesystem bridges to access private or shared workspaces, while session creation decides whether child runs must remain sandboxed. The changed policy permits writes in private storage but preserves protected instruction paths and host isolation.

flowchart LR
  A[Guest session] --> B[Sandbox policy]
  B --> C[Private workspace]
  B --> D[Child session creation]
  C --> E[Filesystem bridges]
  E --> F[Read-only skill mounts]
  D --> G[Sandboxed child run]
Loading

Before merge

  • Resolve merge risk (P1) - Existing workspaceAccess none sessions intentionally become writable private workspaces and require cold container recreation through mount format v4.
  • Resolve merge risk (P1) - Exact-head CI is still incomplete, so the broad cross-bridge regression suite has not yet validated the latest follow-up commit.
Agent review details

Security

None.

PR surface

Source -59, Tests +370, Docs +40. Total +351 across 35 files.

View PR surface stats
Area Files Added Removed Net
Source 18 312 371 -59
Tests 14 782 412 +370
Docs 3 59 19 +40
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 35 1153 802 +351

Review metrics

Metric Value Why it matters
Production versus test delta production −59; tests +370; docs +40 The repair removes duplicate production policy paths while adding regression coverage across filesystem and session boundaries.
Workspace policy change 1 existing access mode changed; mount format v3 → v4 workspaceAccess none changes from read-only to writable private storage, requiring a cold container replacement on upgrade.

Stored data model

Persistent data-model change detected: unknown-data-model-change: src/agents/memory-write-provenance.ts, vector/embedding metadata: src/agents/memory-write-provenance.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #37634
Summary: This PR is the concrete candidate repair for the linked private-workspace mutability report.

Members:

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

Merge-risk options

Maintainer options:

  1. Complete exact-head validation (recommended)
    Retain the accepted writable-private policy and merge only after the current head’s required CI succeeds.
  2. Pause if regression coverage fails
    Keep the PR open for a focused correction if any bridge, lifecycle, or protected-mount check fails on the exact head.

Technical review

Best possible solution:

Land the canonical writable-private workspace behavior only after exact-head CI confirms the shared bridge, protected-skill, and child-inheritance coverage.

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

Yes, at source level: current main marks the private workspace read-only unless access is rw, while the PR changes that predicate to reserve read-only behavior for ro only.

Is this the best way to solve the issue?

Yes. A shared read-only skill-mount projection is the narrowest repair because it keeps private workspace writes and immutable instruction roots consistent across local, remote, and OpenShell bridges.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 967a7ead7a20.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR body links a real Gateway/provider matrix exercising the changed OpenClaw sandbox owner through write, edit, patch, child execution, read-only-skill, host-exec-denial, and credential-absence scenarios, with explicit ro negative control; the supplied follow-up commit is described as test-only cleanup.

Label justifications:

  • P1: The repair restores guest coding and delegated child execution in isolated sandbox sessions.
  • merge-risk: 🚨 compatibility: Upgrading changes the established mutability of workspaceAccess none and recreates affected containers.
  • merge-risk: 🚨 security-boundary: The patch changes filesystem and child-session isolation enforcement, although it retains protected-skill and host-boundary checks.
  • 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 (linked_artifact): The PR body links a real Gateway/provider matrix exercising the changed OpenClaw sandbox owner through write, edit, patch, child execution, read-only-skill, host-exec-denial, and credential-absence scenarios, with explicit ro negative control; the supplied follow-up commit is described as test-only cleanup.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body links a real Gateway/provider matrix exercising the changed OpenClaw sandbox owner through write, edit, patch, child execution, read-only-skill, host-exec-denial, and credential-absence scenarios, with explicit ro negative control; the supplied follow-up commit is described as test-only cleanup.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

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

  • Wait for exact-head CI to complete successfully 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 (1 earlier review cycle)
  • reviewed 2026-09-02T00:23:22.667Z sha 8c85231 :: needs maintainer review before merge. :: none

@steipete

steipete commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Maintainer acceptance of the reviewed boundary: workspaceAccess: "none" is intended to permit coding in private storage while denying access to the shared agent workspace. Accept the deliberate writable-private behavior and cold container recreation, with immutable managed skills, explicit ro, and host/credential isolation preserved. This is the requested guest-workflow repair; administrator privileges must not be required for private coding.

The data-model detector is flagging path-provenance code, not a schema change: the existing journal API and schema are unchanged. Classification now uses the filesystem backend's canonical namespace, and previously blocked private writes are attributed to the private workspace. Shared rw storage remains unchanged; no migration, version bump, or alternate reader is introduced.

Rank-up move: boundary acceptance is recorded above; exact-head CI remains mandatory. The first CI run caught two sibling tests with obsolete none read-only expectations, a now-unused export, and a test-file line limit. Those are being corrected before another exact-head run. The linked live provider proof and full Linux build remain valid for the unchanged runtime behavior.

@openclaw-barnacle openclaw-barnacle Bot added the commands Command implementations label Sep 2, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 2, 2026
@steipete
steipete merged commit 0d4eb03 into main Sep 2, 2026
292 checks passed
@steipete
steipete deleted the codex/guest-coding-repair branch September 2, 2026 01:04
@steipete

steipete commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 2, 2026
…5702)

* fix(sandbox): restore guest coding in private workspaces

* test(sandbox): align private workspace sibling coverage
@whyuds

whyuds commented Sep 2, 2026

Copy link
Copy Markdown

Thanks for finally getting this fixed

obviyus added a commit that referenced this pull request Sep 6, 2026
…9876)

Related: #136257

## What Problem This Solves

Fixes an issue where users leaving Automations open see old model suggestions after the Gateway publishes a changed catalog. Failed catalog reads also silently remove suggestions instead of showing the failure.

## Why This Change Was Made

The Automations page now owns its typed catalog read and refreshes it on the existing configuration and chat-metadata notifications. Only the latest request for the current page and agent may publish results or errors. This removes the separate mutable suggestion helper and its duplicate parsing; the existing form-suggestion builder still owns normalization and sorting.

Automatic reads retain `preparedOnly: true`. The change uses existing Gateway methods and does not alter provider discovery, authentication, configuration, session/default selection, or automation execution.

## User Impact

New suggestions appear without reloading the page. Failed reads show an error while preserving the previous suggestions for the same agent and connection. Successful reads, including empty catalogs, replace them and clear the error. Draft fields remain unchanged.

## Evidence

- Built-browser baseline at `2a488546aabe1921259e7d3a4f18be8f3741d77d`: initial model is visible; after `chat.metadata.changed`, the replacement option remains absent. The existing all-agents ownership scenario passes.
- Built-browser candidate: both scenarios pass, covering both publication events, removal of old options, visible failure, retained options, empty recovery and draft preservation. This uses the real built Control UI with synthetic Gateway responses; it does not claim live provider acquisition.
- Focused unit tests: 253 pass across the cron page, lifecycle, form-suggestion and cron library suites. Delayed successes and errors cannot publish after a newer request, agent switch, reconnect, Gateway replacement or page removal. Existing automation coalescing and mutation coverage remains intact.
- Source-blind browser acceptance: all five contract clauses pass, including ten delayed-response orderings. All 33 catalog reads use prepared configured parameters; 244 captured requests contain no configuration, authentication, session-default or automation writes. The validator exercised the built UI independently and kept the same synthetic-provider limitation.
- Real Gateway proof: coupled baseline and candidate UI/runtime builds run the normal Gateway. A supported CLI config change emits real `config.changed` and `chat.metadata.changed` notifications. The baseline keeps the old list; the candidate reads the published list and removes the retired option. A controlled transport fault replaces real catalog replies with `UNAVAILABLE` after recording them; the error appears, prior options remain, and another real publication restores reads without losing the draft. Catalog contents and notifications are never injected in this test. All five tests in the existing real-Gateway automation suite pass, including the new case.
- Independent code review: no actionable findings through P2. Formatting, syntax-only lint, line/assertion ratchets and UI copy verification pass. Typechecking is left to CI.
- Production: **−17 lines**. Tests/support: **+272 lines**. Docs: **+1 line**. Validation metadata: **0 net lines**, with the assertion allowance reduced from 13 to 11. The test growth adds built-browser refresh/recovery, real Gateway publication and five request-ownership cases; one obsolete helper test is removed.

Focused commands:

```sh
node scripts/run-vitest.mjs ui/src/pages/cron/cron-page.test.ts ui/src/pages/cron/cron-page.lifecycle.test.ts ui/src/pages/cron/form-suggestions.test.ts ui/src/lib/cron/index.test.ts
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/cron-agent-ownership.e2e.test.ts --maxWorkers=1
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/cron-duration-save.real-gateway.e2e.test.ts --maxWorkers=1
```

Known unrelated baseline test: `src/agents/sandbox/browser.create.test.ts:606` assumes no protected skill mounts beneath its fixed temporary workspace. Independent controls on unmodified main `2a488546aabe1921259e7d3a4f18be8f3741d77d` pass with no skills directory and reproduce the same hash-label failure when only that directory exists. The production mount behavior from #135702 is intentional; the test fixture needs isolation. This PR changes no sandbox owner, dependency, runner or hash input. The exact completed CI result still determines whether the guarded unrelated-failure route is needed.

Before: initial catalog choice; the baseline keeps this list after publication.

![Automations model suggestions before refresh](https://github.com/user-attachments/assets/d77cd191-3edc-448b-bae1-13469e2fbf2d)

After: the published replacement appears and the draft remains.

![Automations model suggestions after refresh](https://github.com/user-attachments/assets/ad16503d-1073-44b3-8259-13183c38fab5)

Real Gateway flow: the controlled read failure is visible while the unsaved draft remains.

![Real Gateway catalog read failure preserves the draft](https://github.com/user-attachments/assets/30ac4e46-9f01-416c-9a27-0496c121d5ba)

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 7, 2026
…nclaw#139876)

Related: openclaw#136257

## What Problem This Solves

Fixes an issue where users leaving Automations open see old model suggestions after the Gateway publishes a changed catalog. Failed catalog reads also silently remove suggestions instead of showing the failure.

## Why This Change Was Made

The Automations page now owns its typed catalog read and refreshes it on the existing configuration and chat-metadata notifications. Only the latest request for the current page and agent may publish results or errors. This removes the separate mutable suggestion helper and its duplicate parsing; the existing form-suggestion builder still owns normalization and sorting.

Automatic reads retain `preparedOnly: true`. The change uses existing Gateway methods and does not alter provider discovery, authentication, configuration, session/default selection, or automation execution.

## User Impact

New suggestions appear without reloading the page. Failed reads show an error while preserving the previous suggestions for the same agent and connection. Successful reads, including empty catalogs, replace them and clear the error. Draft fields remain unchanged.

## Evidence

- Built-browser baseline at `b9a935ddeddc5e6545135912a69bee6f7051e90a`: initial model is visible; after `chat.metadata.changed`, the replacement option remains absent. The existing all-agents ownership scenario passes.
- Built-browser candidate: both scenarios pass, covering both publication events, removal of old options, visible failure, retained options, empty recovery and draft preservation. This uses the real built Control UI with synthetic Gateway responses; it does not claim live provider acquisition.
- Focused unit tests: 253 pass across the cron page, lifecycle, form-suggestion and cron library suites. Delayed successes and errors cannot publish after a newer request, agent switch, reconnect, Gateway replacement or page removal. Existing automation coalescing and mutation coverage remains intact.
- Source-blind browser acceptance: all five contract clauses pass, including ten delayed-response orderings. All 33 catalog reads use prepared configured parameters; 244 captured requests contain no configuration, authentication, session-default or automation writes. The validator exercised the built UI independently and kept the same synthetic-provider limitation.
- Real Gateway proof: coupled baseline and candidate UI/runtime builds run the normal Gateway. A supported CLI config change emits real `config.changed` and `chat.metadata.changed` notifications. The baseline keeps the old list; the candidate reads the published list and removes the retired option. A controlled transport fault replaces real catalog replies with `UNAVAILABLE` after recording them; the error appears, prior options remain, and another real publication restores reads without losing the draft. Catalog contents and notifications are never injected in this test. All five tests in the existing real-Gateway automation suite pass, including the new case.
- Independent code review: no actionable findings through P2. Formatting, syntax-only lint, line/assertion ratchets and UI copy verification pass. Typechecking is left to CI.
- Production: **−17 lines**. Tests/support: **+272 lines**. Docs: **+1 line**. Validation metadata: **0 net lines**, with the assertion allowance reduced from 13 to 11. The test growth adds built-browser refresh/recovery, real Gateway publication and five request-ownership cases; one obsolete helper test is removed.

Focused commands:

```sh
node scripts/run-vitest.mjs ui/src/pages/cron/cron-page.test.ts ui/src/pages/cron/cron-page.lifecycle.test.ts ui/src/pages/cron/form-suggestions.test.ts ui/src/lib/cron/index.test.ts
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/cron-agent-ownership.e2e.test.ts --maxWorkers=1
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/cron-duration-save.real-gateway.e2e.test.ts --maxWorkers=1
```

Known unrelated baseline test: `src/agents/sandbox/browser.create.test.ts:606` assumes no protected skill mounts beneath its fixed temporary workspace. Independent controls on unmodified main `b9a935ddeddc5e6545135912a69bee6f7051e90a` pass with no skills directory and reproduce the same hash-label failure when only that directory exists. The production mount behavior from openclaw#135702 is intentional; the test fixture needs isolation. This PR changes no sandbox owner, dependency, runner or hash input. The exact completed CI result still determines whether the guarded unrelated-failure route is needed.

Before: initial catalog choice; the baseline keeps this list after publication.

![Automations model suggestions before refresh](https://github.com/user-attachments/assets/d77cd191-3edc-448b-bae1-13469e2fbf2d)

After: the published replacement appears and the draft remains.

![Automations model suggestions after refresh](https://github.com/user-attachments/assets/ad16503d-1073-44b3-8259-13183c38fab5)

Real Gateway flow: the controlled read failure is visible while the unsaved draft remains.

![Real Gateway catalog read failure preserves the draft](https://github.com/user-attachments/assets/30ac4e46-9f01-416c-9a27-0496c121d5ba)

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling commands Command implementations docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: openshell gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL 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.

sandbox: keep workspaceAccess none workspaces writable

2 participants