Skip to content

feat(cloud-workers): openclaw worker mode running the embedded loop on the box - #105865

Merged
steipete merged 12 commits into
mainfrom
claude/cloud-workers-worker-mode
Jul 13, 2026
Merged

steipete merged 12 commits into
mainfrom
claude/cloud-workers-worker-mode

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Part of #104294 (cloud workers, milestone 2, PR 9 — the composition PR). Builds on the four landed milestone-2 backend contracts: #104688 (worker role), #104809 (transcript commits), #105275 (live events), #105719 (inference proxy). Design: docs/plan/cloud-workers.md (openclaw worker mode).

What Problem This Solves

The four backend RPCs exist on the gateway side, but nothing yet runs an agent session ON a worker box. This PR adds openclaw worker mode: the entry point + worker-side runtime that dials the gateway over the reverse tunnel, admits with the minted credential + handshake, and runs the embedded agent loop on the box — with its persistence, model, and streaming seams tethered to the gateway, and tools running locally. This is where a worker box becomes capable of running a real session driven from the gateway.

Why This Change Was Made

  • openclaw worker entry: restricted runtime (loadPlugins:"never", no channels, no gateway HTTP surfaces, throwaway mkdtemp 0700 state dir, in-memory empty auth storage — no local model auth profile read). Dials the tunnel-forwarded local socket, presents credential + handshake, attaches to its single assigned session. Fails closed on admission failure (with a bounded 120s admission deadline so a leased box can't burn forever on an unreachable gateway).
  • Embedded runner rewired: session persistence -> transcript-commit RPC client (base-leaf CAS + runEpoch + seq, durable replay dedupe); model calls -> inference-proxy RPC client (provider/model reference strings only, streamed deltas + terminal, durable-replay resume); streaming -> live-event RPC client (monotonic seq, cumulative ACK, unacked-tail replay). Tools are the six coding tools (read/write/edit/apply_patch/exec/process), local-only, fail-closed availability check.
  • Reconnect/resume: exact-frame transcript retry (ledger dedupe), cumulative live-ACK replay of the unacked tail, durable inference resume (single provider call, no double-bill). Owner-epoch supersession -> clean fenced exit. Oversized transcript messages fail closed producer-side.

Deep-review fixes (a dedicated adversarial review found real concurrency/lifecycle bugs)

  • BLOCKER fixed: stop() during an in-flight transcript commit spun forever (100% CPU hang on SIGINT/SIGTERM) because the terminal stopped state was indistinguishable from a transient interrupt and the commit retry loop treated it as retryable. Introduced a terminal WorkerConnectionStoppedError; retry loops now retry only transient interruptions and rethrow on any terminal state. Stop-in-flight and post-stop emit settle promptly.
  • Blast-radius fixed: a gateway live-event window reset (a streaming-telemetry cursor reset) used to abort the entire run including a healthy in-flight inference turn. Now: satisfiable resyncs renumber the unacked tail from the gateway's expectedSeq (the gateway explicitly tolerates renumbered replay); an unrecoverable live-seam failure degrades to lossy preview streaming while inference/transcript continue. Live events are preview; they no longer kill the turn.
  • Dead-seam removed + contract documented: the unused in-process resumeFromBase resync was removed (leaf-only rebasing is unsafe — an unseen transcript mutation means stale inference context). On stale-base-leaf the run fail-stops with an explicit lost-tail lifecycle error and no duplicate commit; relaunch-with-fresh-context is milestone-3 (placement) territory, now documented in docs/cli/worker.md.
  • Hardening: the worker's session write path is now a real promise-chain mutex (was a pass-through relying on an unguarded serial-emission invariant); bounded admission deadline.

User Impact

Opt-in only; dispatch/UI (target bar, placement) is milestone 3. This makes a worker box able to run a session end-to-end. No config/changelog/version-bump changes.

Evidence

  • Blacksmith Testbox: src/worker (runtime, RPC clients, launch), gateway worker-environments, CLI command policy, lint-suppressions — 744 tests green, including the deep-review regression tests (stop-during-commit, resync-below-cursor renumber, live-seam-failure-does-not-abort, stale-base-leaf fail-stop, epoch-flip mid-inference, reconnect-mid-stream single provider call).
  • Dedicated adversarial correctness review verified the hard parts correct (CAS/seq/replay dedupe, live ACK math, inference resume/no-double-bill, epoch fencing under withLock, restriction invariants) and found the bugs above, all fixed.
  • Clean build (rm -rf dist): public plugin-SDK declaration graph 5,077,853/5,100,000; no [INEFFECTIVE_DYNAMIC_IMPORT]. Type-aware lint, check:test-types, madge + import cycles zero, protocol:check, docs:map:check all green. Codex fresh autoreview clean.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime cli CLI command changes size: XL maintainer Maintainer-authored PR labels Jul 13, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. feature: ✨ showcase ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 13, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9caca6d6d4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +526 to +527
config: { plugins: { enabled: false } },
exec: { host: "gateway", security: "full", ask: "off" },

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Scrub ambient environment before enabling worker exec

When openclaw worker is launched from an environment that still has host secrets (for example OPENAI_API_KEY, GITHUB_TOKEN, or SSH_AUTH_SOCK), this full local exec surface inherits process.env through the existing exec tool path (src/agents/bash-tools.exec.ts:1799), while the worker runtime only overrides OPENCLAW_STATE_DIR and OPENCLAW_CONFIG_PATH. In that scenario the model can run exec/process to print or use those secrets and send them back through transcript/live events, which breaks the restricted-worker guarantee that no standing provider or forge credentials are available locally. Please clear/sandbox the worker process environment, or pass a scrubbed env into local shell tools before enabling them.

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. labels Jul 13, 2026
@clawsweeper

clawsweeper Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 13, 2026, 5:31 AM ET / 09:31 UTC.

Summary
Adds a restricted openclaw worker command and worker-side embedded agent runtime that runs coding tools locally while proxying inference, transcript persistence, and live events through the gateway.

PR surface: Source +3543, Tests +2079, Docs +84. Total +5706 across 32 files.

Reproducibility: yes. for the review defects: current-head source shows the unset workspace-only policy, unreserved stdout, and cancellation request's ready-connection dependency. The complete cloud-worker feature itself still lacks a real-environment run.

Review metrics: none identified.

Stored data model
Persistent data-model change detected: durable storage schema: src/cli/worker-cli.ts, durable storage schema: src/gateway/worker-environments/inference.test.ts, durable storage schema: src/worker/embedded-agent-live.runtime.ts, durable storage schema: src/worker/embedded-agent-transcript.runtime.ts, durable storage schema: src/worker/embedded-agent.runtime.ts, durable storage schema: src/worker/inference-stream.runtime.ts, and 38 more. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster
Relationship: fixed_by_candidate
Canonical: #104294
Summary: This PR is the worker-mode implementation candidate for the canonical cloud-workers feature, while the stacked test PR is a distinct milestone exit gate.

Members:

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

Merge readiness
Overall: 🧂 unranked krab
Proof: 🧂 unranked krab
Patch quality: 🦪 silver shellfish
Result: blocked until real behavior proof from a real setup is added.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P1] Fix workspace confinement, protocol stdout ownership, and reconnect-safe inference cancellation.
  • Post redacted real-worker proof covering launch, local tools, proxied inference, transcript persistence, and terminal result.
  • Update the PR body after adding proof so ClawSweeper can review the new head.

Proof guidance:

  • [P1] Needs real behavior proof before merge: Evidence is limited to tests, CI, builds, and automated review claims; add redacted terminal output, logs, or a linked artifact showing an after-fix real worker session end to end, then update the PR body to trigger review or ask a maintainer for @clawsweeper re-review.

Risk before merge

  • [P1] The local worker model can read or modify host files outside the assigned workspace, potentially exposing prepared-host state or secrets despite the documented isolation boundary.
  • [P1] An operator abort during a tunnel interruption can leave the gateway provider turn running and spending until it terminates or expires.
  • [P1] Unexpected diagnostics on stdout can make the orchestrator's single JSON result unparsable and strand an otherwise completed worker run.
  • [P1] Tests and CI do not establish that the composed worker succeeds on a real provisioned box with its tunnel, credential, workspace, provider proxy, and transcript path.

Maintainer options:

  1. Fix boundaries and prove the full worker flow (recommended)
    Repair workspace confinement, protocol stdout, and reconnect-safe cancellation, then add redacted evidence from a real provisioned worker before merge.
  2. Pause the composition PR
    Keep the branch open but do not land the worker entry point until the security boundary and real-environment behavior are proven.

Next step before merge

  • [P1] A maintainer should require the three code repairs and contributor-supplied real-worker proof; automation cannot establish the contributor's deployment evidence or bypass the protected maintainer gate.

Security
Needs attention: The worker's advertised isolation is incomplete because its local file tools can access paths outside the assigned workspace.

Review findings

  • [P1] Constrain worker file tools to the assigned workspace — src/worker/embedded-agent.runtime.ts:120
  • [P2] Reserve stdout for the worker result protocol — src/cli/command-catalog.ts:323-328
  • [P2] Retry remote inference cancellation after reconnect — src/worker/worker-connection-frames.ts:300-309
Review details

Best possible solution:

Constrain every worker file tool to the assigned workspace, reserve stdout exclusively for the launcher result, make inference cancellation survive reconnects, and demonstrate the complete flow with redacted real-worker terminal or log evidence before landing.

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

Yes for the review defects: current-head source shows the unset workspace-only policy, unreserved stdout, and cancellation request's ready-connection dependency. The complete cloud-worker feature itself still lacks a real-environment run.

Is this the best way to solve the issue?

No, not yet: the architecture follows the approved milestone contracts, but the composition is not the best safe implementation until tool confinement, launcher framing, and durable cancellation are corrected.

Full review comments:

  • [P1] Constrain worker file tools to the assigned workspace — src/worker/embedded-agent.runtime.ts:120
    This worker config leaves tools.fs.workspaceOnly unset, whose default permits absolute and parent-relative paths outside assignment.workspaceDir. That contradicts the documented worker isolation boundary and can expose unrelated host files; explicitly enable workspace-only mode for this tool surface.
    Confidence: 0.99
  • [P2] Reserve stdout for the worker result protocol — src/cli/command-catalog.ts:323-328
    The command writes one machine-readable JSON result to stdout, but its policy still does not declare protocol stdout ownership. Any startup or runtime diagnostic can corrupt the result consumed by the orchestrator; set ownsProtocolStdout: true as other protocol commands do.
    Confidence: 0.99
  • [P2] Retry remote inference cancellation after reconnect — src/worker/worker-connection-frames.ts:300-309
    An abort while the socket is reconnecting makes requestInferenceCancel() reject before sending, and that rejection is suppressed while the gateway provider operation continues. Queue or retry the cancel after readiness, or otherwise cancel it gateway-side, before finalizing the worker abort.
    Confidence: 0.96

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

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

Label changes

Label changes:

  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦪 silver shellfish.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🧂 unranked krab, so this older rating label is no longer current.

Label justifications:

  • P1: The new worker execution path currently has security-boundary, cancellation, and launcher-protocol defects that can break real cloud-worker sessions.
  • merge-risk: 🚨 session-state: Worker transcript and live-event state are composed across reconnects and epochs, while the required real-environment proof remains absent.
  • merge-risk: 🚨 security-boundary: The local file tools are not confined to the assigned workspace, so merging can expose files elsewhere on the worker host.
  • merge-risk: 🚨 availability: Lost cancellation and stdout contamination can leave provider work running or make completed worker results unusable.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦪 silver shellfish.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: Evidence is limited to tests, CI, builds, and automated review claims; add redacted terminal output, logs, or a linked artifact showing an after-fix real worker session end to end, then update the PR body to trigger review or ask a maintainer for @clawsweeper re-review.
Evidence reviewed

PR surface:

Source +3543, Tests +2079, Docs +84. Total +5706 across 32 files.

View PR surface stats
Area Files Added Removed Net
Source 21 3543 0 +3543
Tests 6 2079 0 +2079
Docs 5 92 8 +84
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 32 5714 8 +5706

Security concerns:

  • [high] Worker file tools escape the assigned workspace — src/worker/embedded-agent.runtime.ts:120
    The worker enables read, write, edit, and patch tools without forcing workspace-only filesystem policy, allowing model-directed access to unrelated host paths on the prepared box.
    Confidence: 0.99

What I checked:

  • Workspace boundary remains unenforced: The current worker runtime creates the local coding-tool surface without enabling tools.fs.workspaceOnly; OpenClaw's default permits absolute and parent-relative file access outside the assigned workspace, contrary to the PR's isolation contract. (src/worker/embedded-agent.runtime.ts:120, ed722bbd4e37)
  • Machine-readable stdout remains unreserved: The worker command policy enables restricted startup behavior but still omits ownsProtocolStdout, allowing startup or runtime diagnostics to contaminate the JSON launcher result written to stdout. (src/cli/command-catalog.ts:323, ed722bbd4e37)
  • Cancellation can be lost during reconnect: Inference cancellation requires a ready connection and rejects while reconnecting; the abort path suppresses that rejection, while a closed worker socket does not itself cancel the gateway's active provider operation. (src/worker/worker-connection-frames.ts:300, ed722bbd4e37)
  • Prior review continuity: The stdout finding from the prior ClawSweeper cycle remains visible in the current policy block; the later cancellation and workspace-boundary findings were raised against subsequent heads and no corresponding fix commit appears in the final 12-commit series. (src/cli/command-catalog.ts:323, ed722bbd4e37)
  • Real behavior proof is absent: The PR body reports Testbox suites, builds, lint, type checks, and automated reviews, but provides no inspectable after-fix worker launch, remote inference, local tool execution, transcript commit, and terminal-result run from a real prepared worker environment. (ed722bbd4e37)
  • Feature provenance: The worker mode composes the previously merged authenticated worker, transcript, live-event, and inference-proxy milestones, all introduced through the linked cloud-workers series. (src/worker/worker.runtime.ts:1, ed722bbd4e37)

Likely related people:

  • steipete: Authored the current worker-mode branch and the merged worker admission, transcript, live-event, and inference-proxy milestones that define this runtime's contracts. (role: feature introducer and recent area contributor; confidence: high; commits: b80ab618c3de, 04f945fabe47, 4289c6c16cd5; files: src/worker/worker.runtime.ts, src/worker/embedded-agent.runtime.ts, src/gateway/worker-environments/inference.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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
  • 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.
Review history (3 earlier review cycles)
  • reviewed 2026-07-13T02:19:05.572Z sha 9caca6d :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-13T04:08:22.499Z sha fe1a277 :: needs real behavior proof before merge. :: [P1] Scrub ambient credentials before enabling worker exec | [P2] Reserve stdout for the worker result protocol | [P2] Validate workspaceDir as a path, not an identifier
  • reviewed 2026-07-13T08:20:00.973Z sha 68c9e97450bf53e833e6039246abd0ef2c1cd85b :: needs real behavior proof before merge. :: [P2] Reserve stdout for the worker result protocol

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7cd52fa3c7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +322 to +326
policy: {
bypassConfigGuard: true,
hideBanner: true,
loadPlugins: "never",
networkProxy: "bypass",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reserve stdout for worker protocol output

openclaw worker writes its machine-readable launcher result to stdout (src/worker/worker.runtime.ts:237-239), but this policy does not mark the command as owning protocol stdout. In that configuration resolveCliStartupPolicy leaves suppressDoctorStdout false, so console/log diagnostics are not routed to stderr before the worker starts; any info/warn emitted while constructing tools or running the local agent can be mixed into the only JSON response the orchestrator parses. Please set ownsProtocolStdout: true for this command, like node worker does.

Useful? React with 👍 / 👎.

!isIdentifier(value.runId) ||
!isIdentifier(value.turnId) ||
typeof value.prompt !== "string" ||
!isIdentifier(value.workspaceDir) ||

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Accept valid workspace paths in launch descriptors

The parser reuses isIdentifier for workspaceDir, which applies the worker identifier length cap and trimming rules before the later path.isAbsolute/stat validation. If the orchestrator prepares a valid absolute checkout under a long nested worktree/temp path (over 256 characters), the worker rejects the launch descriptor before it can admit, even though the directory is valid. Validate this field as a bounded absolute path string rather than as a protocol identifier.

Useful? React with 👍 / 👎.

@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Jul 13, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. and removed P2 Normal backlog priority with limited blast radius. labels Jul 13, 2026
@steipete
steipete force-pushed the claude/cloud-workers-worker-mode branch from fe1a277 to 207f51c Compare July 13, 2026 07:10
@openclaw-barnacle openclaw-barnacle Bot removed the scripts Repository scripts label Jul 13, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 207f51cf93

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +94 to +95
const authStorage = AuthStorage.inMemory({});
const modelRegistry = ModelRegistry.inMemory(authStorage);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Bypass local model-auth preflight for workers

When a worker starts on a clean leased box, or after the ambient-env scrub requested elsewhere, this empty AuthStorage leaves ModelRegistry.hasConfiguredAuth() false for descriptor.assignment.modelRef.provider; AgentSession.prompt() checks that before it ever calls the overridden RPC-backed streamFn, so the turn fails with a local “No API key found” instead of issuing worker.inference.start. Seed a non-secret auth marker/override or bypass the local auth preflight for this worker-only stream path.

Useful? React with 👍 / 👎.

@steipete
steipete force-pushed the claude/cloud-workers-worker-mode branch 2 times, most recently from 2783eaa to 68c9e97 Compare July 13, 2026 08:13
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. feature: ✨ showcase ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. labels Jul 13, 2026
@steipete
steipete force-pushed the claude/cloud-workers-worker-mode branch from 0d094eb to ed722bb Compare July 13, 2026 09:18
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jul 13, 2026
@steipete
steipete merged commit 6cd1133 into main Jul 13, 2026
114 of 116 checks passed
@steipete
steipete deleted the claude/cloud-workers-worker-mode branch July 13, 2026 09:34
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 14, 2026
…n the box (openclaw#105865)

* feat(cloud-workers): add restricted worker runtime

* test(cloud-workers): cover worker runtime contracts

* docs(cloud-workers): document worker mode

* fix(worker): bound connection lifecycle

* fix(worker): serialize transcript flushes

* fix(worker): fail stop stale transcript bases

* fix(worker): degrade lossy live streaming

* test(worker): cover inference reconnect fencing

* refactor(worker): split RPC clients

* refactor(worker): split connection transport

* refactor(worker): split embedded runtime

* refactor(worker): narrow worker module exports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant