Skip to content

feat(workers): run OpenClaw and Codex on the same cloud profile - #127752

Merged
steipete merged 9 commits into
mainfrom
steipete/cloud-node-multimode-harnesses
Aug 25, 2026
Merged

steipete merged 9 commits into
mainfrom
steipete/cloud-node-multimode-harnesses

Conversation

@steipete

@steipete steipete commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

Related: #127202

What Problem This Solves

Operators could not use the same configured Crabbox cloud profile for both an OpenClaw session and a Codex session. OpenClaw cloud placement required worker-turn, Codex required remote-exec, and New Session / Move Session treated an otherwise appropriate cloud profile as unavailable when the selected runtime changed.

Why This Change Was Made

One provider-owned profile can now advertise both canonical execution modes. Provisioning records the selected mode and admits the same outbound enrolled-node carrier for either runtime: OpenClaw starts its existing restricted worker child, while Codex keeps app-server/model authentication on the Gateway and invokes the approval-gated, node-backed pinned Codex exec-server without starting an OpenClaw worker child.

The Crabbox enrollment owner validates exact-version Codex and its executable pinned native dependency before node startup. It also rejects unsupported execution modes before any external allocation. Bundled plugins retain bundled provenance; officially installed npm plugins are projected into a physical per-lease managed npm project and recovered by the existing installed-plugin index, preserving trustedOfficialInstall without fabricating provenance, directly writing SQLite, or installing plugins during enrollment. Device/pairing generation, current command advertisement, placement ownership, explicit allow-once approvals, and credential isolation remain authoritative.

This change does not bump a protocol version or SQLite schema, add dependencies, activate hosted wrappers, remove SSH support, add reconnect/resume behavior, or change existing single-mode provider contracts.

User Impact

Operators configure one disposable Crabbox profile and can select that same profile in New Session and Move Session for either OpenClaw or Codex. Both paths execute on outbound enrolled cloud nodes and reconcile workspace results. Incompatible one-mode profiles remain visibly unavailable. Codex node execution remains explicit-approval-only, with model/provider credentials and app-server authentication confined to the Gateway.

Exact Revision and Change Accounting

  • Exact proof head: e5c180cab54b377cbcd7a238ba1123b2384c7853.
  • Rebased onto 1af9b07e30df15fb5387a5650cc48f7033f8fc2d; six conflicts were resolved by preserving current main's automatic device selection and newer Codex/runtime behavior alongside this PR's dual-mode provider contract.
  • Production: 38 files, +623/-305 (net +318).
  • Tests: 28 files, +1783/-426 (net +1357).
  • Test support: 1 file, +6/-1 (net +5).
  • Documentation: 11 files, +163/-94 (net +69).
  • The positive production delta is the explicit provider-mode, persisted placement/recovery, node-enrollment, and UI eligibility contract. No parallel fallback or compatibility runtime was added.

Source and Dependency Contract Audit

The Codex contract was personally checked against sibling codex tag rust-v0.149.1, peeled commit ff29a44391deccde0aba0f8390337d7f3c319ea4: codex-rs/exec-server-protocol/src/protocol.rs:19, codex-rs/exec-server/src/connection.rs:38, codex-rs/exec-server/src/client_transport.rs:388, codex-rs/exec-server/src/local_process.rs:695, and codex-rs/protocol/src/shell_environment.rs:97. These establish the initialize/initialized handshake, newline-delimited 64 MiB stdio messages, one child-owned stdio process per connection, process/filesystem/capability/streamed-HTTP methods, terminal disconnect ownership, and the node-local-plus-explicit-overlay environment contract.

Official install recovery and trust were audited at src/plugins/installed-plugin-index-record-reader.ts:133, src/plugins/npm-project-roots.ts:17, and src/plugins/manifest-registry.ts:811. A real isolated CLI reproduction installed the candidate as an official npm package, demonstrated the old global-extension alias loses official provenance, and showed the physical npm-project projection restores origin: "global", trustedOfficialInstall: true, loaded status, trusted keyed state, and node-command registration; bundled discovery remained origin: "bundled".

Automated and Local Proof

  • node scripts/run-vitest.mjs extensions/crabbox/src/crabbox-worker-provider.test.ts: 133/133 pass. The unsupported-mode regression fails on the pre-fix provider because Crabbox is invoked before rejection, then passes with zero provider commands after the fix.
  • Focused post-rebase structural coverage: 26 Gateway tests, 50 New Session model-control tests, and 133 Crabbox provider tests pass.
  • Full pnpm check:changed: all selected TypeScript, formatting, lint, docs, plugin-boundary, import-cycle, database-first, and architecture gates pass. Three touched files that crossed hard line limits after the rebase were split into concept-owned modules; no suppressions or baseline edits were added.
  • pnpm build: exact-head production build passes.
  • Canonical Docker/package tarball build and integrity inspection pass; the package build metadata names the exact proof head, and the exact Codex plugin tarball pins @openai/[email protected].
  • Exact-head CI failures were reproduced and repaired: the recovery transcript fixture now uses the canonical node-backed worker-turn transport, and container status waits for its already-owned child observation before converting a dead attach client into an interruption. The affected 59 tests pass; the container success case also passed 20/20 stress runs.
  • Fresh structured autoreview of the final provider-boundary repair, structural split, and CI repair: zero accepted/actionable findings.
  • Existing focused and overlapping branch coverage remains green across provider registration/API, lease lifecycle/recovery, enrollment, placement dispatch/startup/reclaim/move, Gateway RPC/protocol/profile projection, Codex exec-server, and Control UI.
  • Six production-Control-UI Chromium E2E scenarios remain covered by the sanitized screenshots below: the same cloud profile is enabled for both runtimes in New Session and Move Session; one-mode profiles are disabled for the incompatible runtime.

Real Hetzner Same-Profile Proof

Two exact-head runs used the same profile id and the real bundled Crabbox provider against public Hetzner nodes. The isolated Gateway used deterministic local model inference, an ephemeral authenticated Cloudflare ingress, no Tailscale, no hydration, key-only provider setup, and no persisted proof credentials.

OpenClaw worker-turn

  • The profile advertised [worker-turn, remote-exec].
  • A public Hetzner lease installed the exact-head package, enrolled outbound, and became a node-backed worker-turn placement with a worker child.
  • The OpenClaw turn completed and reconciled its generated workspace file to the Gateway.
  • sessions.reclaim destroyed the placement and the provider inventory returned to zero owned leases before the Codex leg began.

Codex remote-exec

  • The same profile advertised [worker-turn, remote-exec] and became a node-backed remote-exec placement without an OpenClaw worker child or worker-slot consumption.
  • The exact official Codex plugin and exact pinned native launcher were installed and verified on the fresh node.
  • A denied request failed before native process I/O: native exec calls 0, streamed HTTP hits 0, and no evidence file reconciled.
  • A separate allow-once request performed one native Codex exec-server call, consumed one streamed HTTP response, reconciled the expected workspace evidence, and kept the placement active without a worker child.
  • Gateway-only credential canaries, pairing/bootstrap material, runtime injection values, and ambient Gateway NODE_ENV were absent in the remote process. The process received private HOME and CODEX_HOME directories.
  • Reclaim destroyed the placement. Final Gateway environment inventory marked the owned environment destroyed; Crabbox inventory reported zero remaining owned leases and zero unexpected new leases.

Named proof gap: public sessions.reclaim destroys the cloud node, so this PR does not claim a post-revocation retained-placement attempt against the same destroyed operational instance. The observed denial-before-I/O path covers the merge-blocking authorization requirement.

Sanitized Control UI Evidence

The screenshots use synthetic account, session, and Gateway fixtures only; they were individually inspected before upload. Both New Session and Move Session are shown for both runtimes.

New Session: OpenClaw enables the shared cloud profile and disables remote-only

New Session: Codex enables the same cloud profile and disables worker-only

Move Session: OpenClaw enables the shared profile and disables remote-only

Move Session: Codex enables the shared profile and disables worker-only

@clawsweeper

clawsweeper Bot commented Aug 22, 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 app: web-ui App: web-ui gateway Gateway runtime extensions: codex extensions: crabbox size: XL maintainer Maintainer-authored PR labels Aug 22, 2026
@steipete
steipete marked this pull request as ready for review August 22, 2026 01:54
@clawsweeper clawsweeper Bot added 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. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Aug 22, 2026
@clawsweeper

clawsweeper Bot commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 25, 2026, 3:08 AM ET / 07:08 UTC.

ClawSweeper review

What this changes

Adds a dual-mode cloud worker profile so OpenClaw worker turns and Codex remote execution can use the same approved cloud profile.

Merge readiness

⚠️ Needs maintainer review before merge - 5 items remain

Keep open for manual merge review: current main does not supersede the cloud-profile capability, and no concrete patch defect was found, but the required direct inspection of the pinned Codex source contract could not be completed in this environment.

Priority: P2
Reviewed head: e5c180cab54b377cbcd7a238ba1123b2384c7853
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The branch has meaningful live evidence and coherent owner-boundary checks, with direct Codex-source verification still outstanding.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): Exact-head live output demonstrates both rejection before node I/O and successful approved remote execution with cleanup.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): Exact-head live output demonstrates both rejection before node I/O and successful approved remote execution with cleanup.
Evidence reviewed 8 items Gateway revalidates placement before activation: The placement startup rechecks node eligibility and required capabilities after synchronization and again inside activation, preventing stale profile selection from reaching provisioning.
Final node invocation revalidates authority: The generic node invocation policy validates runtime authority, pairing/connection state, and effective command allowlisting immediately before dispatching to the node registry.
Codex execution remains approval-gated: The Codex node command is marked dangerous and uses the critical, allow-once node invocation policy before opening the duplex command channel.
Findings None None.
Security Needs attention Pinned Codex protocol contract unverified: The branch launches and relays the Codex execution server, but the required sibling Codex source checkout was unavailable for direct protocol and lifecycle inspection.

How this fits together

The Gateway advertises cloud worker capabilities to the Control UI, which selects an execution mode and provisions an environment. Codex remote execution then invokes an approved node command through the Gateway authorization boundary.

flowchart LR
  A[Cloud worker profile] --> B[Gateway capability projection]
  B --> C[Control UI placement choice]
  C --> D[Environment provisioning]
  D --> E[Node command authorization]
  E --> F[Codex remote execution]
Loading

Decision needed

Question Recommendation
Should a reviewer with the pinned Codex source checkout complete the required direct execution-server contract verification before merging this feature? Complete direct contract review: Inspect the pinned Codex execution-server protocol and lifecycle source before merge.

Why: The feature launches and relays the Codex execution server; repository policy requires direct sibling-source inspection for a Codex verdict or proof-sufficiency conclusion.

Before merge

  • Resolve security concern: Pinned Codex protocol contract unverified - The branch launches and relays the Codex execution server, but the required sibling Codex source checkout was unavailable for direct protocol and lifecycle inspection.
  • Resolve merge risk (P1) - The expanded public worker-provider contract can affect external providers and existing profile consumers during upgrades.
  • Resolve merge risk (P1) - The remote-execution path depends on the pinned Codex execution-server protocol, which could not receive the repository-required direct source-contract inspection here.
  • Complete next step (P2) - A required direct Codex contract inspection remains; this is a maintainer review action rather than a mechanical repair.

Findings

  • [medium] Pinned Codex protocol contract unverified — extensions/codex/src/node-exec-server.runtime.ts:19
Agent review details

Security

Needs attention: No concrete Gateway authorization defect was found, but direct pinned-Codex source verification is still required for this execution-boundary change.

PR surface

Source +323, Tests +1357, Docs +69. Total +1749 across 78 files.

View PR surface stats
Area Files Added Removed Net
Source 39 629 306 +323
Tests 28 1783 426 +1357
Docs 11 163 94 +69
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 78 2575 826 +1749

Review metrics

Metric Value Why it matters
Production versus test delta production +623/-305; tests +1,783/-426; test support +6/-1; docs +163/-94 Author-supplied exact-head accounting shows substantial production growth for a new cloud execution path, alongside broad coverage.
Worker-provider API contract 1 public contract changed External worker providers may now declare the canonical ordered two-mode tuple, affecting implementation and upgrade expectations.

Stored data model

Persistent data-model change detected: durable storage schema: src/gateway/worker-environments/device-placement-eligibility.ts, durable storage schema: src/gateway/worker-environments/device-provider.ts, durable storage schema: src/gateway/worker-environments/environment-access.ts, durable storage schema: src/gateway/worker-environments/identity.ts, durable storage schema: src/gateway/worker-environments/placement-dispatch-device.test.ts, durable storage schema: src/gateway/worker-environments/placement-dispatch-recovery.test.ts, and 38 more. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: canonical
Canonical: #127752
Summary: This is the active cloud-profile Codex execution implementation; #127202 enabled the adjacent paired-device prerequisite.

Members:

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

Merge-risk options

Maintainer options:

  1. Verify the pinned Codex contract (recommended)
    Complete the direct upstream source review before merging this compatibility- and authority-sensitive worker capability.
  2. Pause for a constrained follow-up
    Keep the PR open if direct contract review cannot be arranged without broadening the release risk.

Technical review

Best possible solution:

Complete the direct pinned-Codex source contract review, then merge if it confirms the exercised protocol and lifecycle assumptions.

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

Not applicable: this is a feature PR; supplied exact-head evidence exercises the new denied and approved execution paths.

Is this the best way to solve the issue?

Unclear: the design is coherent across Gateway, UI, and provider boundaries, but the required direct Codex contract check remains incomplete.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. Exact-head live output demonstrates both rejection before node I/O and successful approved remote execution with cleanup.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp. Replaced prior rating: 🦪 silver shellfish.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.

Label justifications:

  • P2: This is a substantial but non-emergency cloud-worker capability expansion requiring normal maintainer review.
  • merge-risk: 🚨 compatibility: The public worker-provider declaration and profile capability projection now support a new dual-mode shape.
  • merge-risk: 🚨 session-state: Execution-mode choice participates in environment provisioning and persisted worker-placement lifecycle.
  • merge-risk: 🚨 security-boundary: The feature authorizes a Codex command across the Gateway-to-node execution boundary.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp. Replaced prior rating: 🦪 silver shellfish.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Sufficient (live_output): Exact-head live output demonstrates both rejection before node I/O and successful approved remote execution with cleanup.
  • proof: sufficient: Contributor real behavior proof is sufficient. Exact-head live output demonstrates both rejection before node I/O and successful approved remote execution with cleanup.

Evidence

Security concerns:

  • [medium] Pinned Codex protocol contract unverified — extensions/codex/src/node-exec-server.runtime.ts:19
    The branch launches and relays the Codex execution server, but the required sibling Codex source checkout was unavailable for direct protocol and lifecycle inspection.
    Confidence: 0.98

What I checked:

Likely related people:

  • steipete: Central recent history across cloud workers, node execution, and the paired-device Codex predecessor. (role: feature owner; confidence: high; commits: 1353ce0995c6; files: extensions/crabbox/src/crabbox-worker-provider.ts, src/gateway/worker-environments/placement-dispatch-startup.ts, extensions/codex/src/node-exec-server.ts)
  • RoboClaw: Recent main history touched the shared New Session placement UI surface. (role: recent adjacent contributor; confidence: low; commits: c2602ded; files: ui/src/pages/new-session/model-control.ts)

Rank-up moves

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

  • Have a reviewer inspect the pinned Codex execution-server contract before merge.

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 (13 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-23T23:06:13.650Z sha 8735de8 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-24T19:09:01.254Z sha 7c9699a :: needs real behavior proof before merge. :: [P2] Validate execution mode before provisioning
  • reviewed 2026-08-24T22:40:28.430Z sha 3ad01e2 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-25T03:20:17.398Z sha 3ad01e2 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-25T03:42:33.062Z sha 9e7cb16 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-25T04:39:05.120Z sha 81cbe0c :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-25T05:59:33.782Z sha 81cbe0c :: needs real behavior proof before merge. :: [P1] Preserve the generic WorkerProvider type parameter
  • reviewed 2026-08-25T06:46:20.710Z sha e5c180c :: needs real behavior proof before merge. :: none

@steipete
steipete force-pushed the steipete/cloud-node-multimode-harnesses branch from ffb1ba1 to b4c891a Compare August 23, 2026 02:40
@steipete

steipete commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Rebased final head d74ebfc0b04f078115190304b610faa82211d7d0 addresses the bundled-plugin documentation finding and has green exact-head CI, clean whole-branch P1 autoreview, the complete implementation changed gate, 1,989 passing focused checks, refreshed exact-head production build and packaged real-node Codex approval/reconciliation/disconnect proof, and four refreshed exact-head New Session / Move Session screenshots.

Direct AWS proof remains blocked: the real bundled provider created public/no-IAM leases cbx_894058358234 and cbx_9c94c4b0a440 on two instance classes, but neither broker-managed EC2 host ever became reachable (ready=false), so no AWS worker turn or Codex execution could honestly be observed. Both leases were destroyed and zero proof resources remain. The body records exact evidence and limitations; this still needs Crabbox AWS broker/public-host recovery before landing.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 23, 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 exact_review_queue).
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 commented Aug 23, 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 exact_review_queue).
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 commented Aug 23, 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 exact_review_queue).
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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. P1 High-priority user-facing bug, regression, or broken workflow. P2 Normal backlog priority with limited blast radius. 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. P2 Normal backlog priority with limited blast radius. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 23, 2026
@steipete

steipete commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor Author

Exact-head repair and live proof are complete for e5c180cab54b377cbcd7a238ba1123b2384c7853 after rebasing onto current main.

The provider-boundary finding is fixed: unsupported execution modes fail before any Crabbox command or external allocation. The regression demonstrably fails on the prior path and passes with zero provider commands after the repair.

Current-version dependency proof is against @openai/[email protected], tag rust-v0.149.1, peeled commit ff29a44391deccde0aba0f8390337d7f3c319ea4.

Final live Hetzner proof covers both modes from the same profile id and exact head. This is the sanitized authority/final-effect trace; ephemeral lease, node, environment, and run identifiers are intentionally redacted:

{"stage":"preflight-passed","sha":"e5c180cab54b377cbcd7a238ba1123b2384c7853","exactProductionDist":true,"provider":"hetzner","publicNetwork":true,"tailscale":false,"hydration":false,"sshAuthentication":"key-only","rootArtifactHashVerified":true,"codexArtifactHashVerified":true,"codexArtifactNpmShasumVerified":true,"artifactVersionsVerified":true,"artifactExactHeadVerified":true,"artifactNativeDependencyVerified":true,"rootArtifactNpmInstallable":true,"baselineCloudLeaseCount":0}
{"stage":"gateway-ready","sha":"e5c180cab54b377cbcd7a238ba1123b2384c7853","profileId":"same-profile-cloud-direct","provider":"hetzner","executionModes":["worker-turn","remote-exec"],"inference":"deterministic-local-provider","approvedNodeCommand":"codex.exec-server.stdio.v1","credentialsPersistedByDriver":false}
{"stage":"placement-active","profileId":"same-profile-cloud-direct","mode":"worker-turn","environmentId":"[redacted]","leaseId":"[redacted]","nodeId":"[redacted]","provider":"hetzner","nodeBacked":true,"workerChild":true,"publicNetwork":true,"tailscale":false}
{"stage":"openclaw-worker-proof-passed","runId":"[redacted]","profileId":"same-profile-cloud-direct","mode":"worker-turn","leaseId":"[redacted]","nodeId":"[redacted]","reconciledFile":"compaction-retry-summary.txt"}
{"stage":"session-reclaimed","session":"agent:qa:aws-openclaw-proof","state":"reclaimed"}
{"stage":"openclaw-worker-cleanup-verified","leaseId":"[redacted]","remainingOwned":0}
{"stage":"placement-active","profileId":"same-profile-cloud-direct","mode":"remote-exec","environmentId":"[redacted]","leaseId":"[redacted]","nodeId":"[redacted]","provider":"hetzner","nodeBacked":true,"workerChild":false,"publicNetwork":true,"tailscale":false}
{"stage":"codex-approval-resolved","decision":"deny","runId":"[redacted]"}
{"stage":"codex-denial-proof-passed","runId":"[redacted]","decision":"deny","terminal":"error","nativeExecCalls":0,"httpHits":0,"evidenceReconciled":false}
{"stage":"codex-approval-resolved","decision":"allow-once","runId":"[redacted]"}
{"stage":"codex-remote-exec-proof-passed","runId":"[redacted]","profileId":"same-profile-cloud-direct","mode":"remote-exec","leaseId":"[redacted]","nodeId":"[redacted]","decision":"allow-once","nativeExecCalls":1,"httpHits":1,"streamedHttp":true,"credentialCanariesPresent":false,"privateHome":true,"privateCodexHome":true,"gatewayEnvironmentIsolated":true,"openClawWorkerChild":false,"reconciledFile":"codex-node-proof.json"}
{"stage":"session-reclaimed","session":"agent:qa:aws-codex-proof","state":"reclaimed"}
{"stage":"codex-cleanup-verified","leaseId":"[redacted]","remainingOwned":0}
{"stage":"cleanup-environment-inventory","totalEnvironments":3,"ownedEnvironments":2,"ownedStates":["destroyed","destroyed"]}
{"stage":"cleanup-cloud-inventory","remainingOwnedCloudLeases":0,"baselineCloudLeaseCount":0,"otherNewCloudLeases":0}
{"stage":"cleanup-complete","remainingOwnedCloudLeases":0}
{"stage":"live-proof-passed","sha":"e5c180cab54b377cbcd7a238ba1123b2384c7853","profileId":"same-profile-cloud-direct","executionModes":["worker-turn","remote-exec"],"nativeExecCalls":1,"streamedHttpHits":1,"remainingOwnedCloudLeases":0,"namedProofGaps":["post-revocation-retained-placement-authority-before-process-io"]}

Final local proof:

  • Crabbox provider: 133/133 tests.
  • Post-rebase focused suites: 26 Gateway + 50 UI + 133 Crabbox tests.
  • CI repair suites: 59/59 pass; the load-sensitive container completion case passed 20/20 stress runs.
  • Full pnpm check:changed: pass.
  • pnpm build: pass.
  • Canonical exact-head package build and tarball integrity check: pass.
  • Fresh structured autoreview of the final repair/refactor/CI fixes: clean.

The exact-head CI failures were repaired at their owners: a stale SSH-backed recovery fixture now uses the canonical node transport, and container status observes a dead attach client's already-owned terminal result before converting it into an interruption.

The PR body contains the current dependency-source audit, change accounting, cleanup results, and the one explicitly named non-blocking post-reclaim proof gap.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 25, 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 exact_review_queue).
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 the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Aug 25, 2026
@steipete
steipete force-pushed the steipete/cloud-node-multimode-harnesses branch from 3ad01e2 to 9e7cb16 Compare August 25, 2026 03:36
@clawsweeper clawsweeper Bot removed the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Aug 25, 2026
@clawsweeper

clawsweeper Bot commented Aug 25, 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 exact_review_queue).
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 commented Aug 25, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 25, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete
steipete merged commit 8a1ff39 into main Aug 25, 2026
243 of 244 checks passed
@steipete
steipete deleted the steipete/cloud-node-multimode-harnesses branch August 25, 2026 07:13
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

@steipete steipete self-assigned this Aug 25, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 26, 2026
…claw#127752)

* feat(workers): run both harnesses on one cloud node profile

* docs(workers): explain shared OpenClaw and Codex cloud profiles

* fix(workers): preserve trusted Codex cloud enrollment

* docs(codex): clarify bundled cloud plugin eligibility

* fix(workers): honor Crabbox bootstrap retries

* fix(workers): allow cloud profile setup to finish

* fix(workers): reject unsupported cloud execution modes

* refactor(workers): split cloud placement modules

* fix(workers): preserve completed container results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation extensions: codex extensions: crabbox 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. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. 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