Repository navigation
docs(gateway): document the Daytona cloud-worker provider - #130282
Conversation
Crabbox already ships a Daytona backend; add the profile example and provider-specific notes (no crabbox login step, default snapshot ships Node, default machine class) confirmed by a live lease-and-exec proof.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: found issues before merge. Reviewed August 26, 2026, 2:21 PM ET / 18:21 UTC. ClawSweeper reviewWhat this changesThe PR adds a Daytona-backed Crabbox cloud-worker profile, credential guidance, and provider-specific setup notes to the Cloud Workers guide. Merge readinessThe Daytona documentation fills a real gap, but one changed sentence incorrectly says operators may omit Priority: P2 Review scores
Verification
How this fits togetherGateway cloud-worker profiles select a bundled provider and pass its settings to Crabbox to lease an ephemeral worker. The documentation leads operators from provider credentials and configuration to Gateway-managed worker placement. flowchart LR
A[Gateway operator] --> B[Cloud-worker profile]
B --> C[Crabbox plugin]
C --> D[Profile validation]
D --> E[Crabbox lease request]
E --> F[Daytona worker]
F --> G[Gateway session placement]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceDocs +31. Total +31 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep Do we have a high-confidence way to reproduce the issue? Yes—omitting Is this the best way to solve the issue? No—the current example is sound, but the statement that omission falls back to Crabbox's default contradicts the OpenClaw validation boundary. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1fec7b6ccd89. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…30282) Crabbox already ships a Daytona backend; add the profile example and provider-specific notes (no crabbox login step, default snapshot ships Node, default machine class) confirmed by a live lease-and-exec proof.
What Problem This Solves
docs/gateway/cloud-workers.mddocumented how to configure Crabbox cloud-worker profiles for AWS but said nothing about Daytona, even though the bundled Crabbox provider already supports it as a fullssh-leasebackend.Why This Change Was Made
Confirmed via
crabbox providers describe daytona --jsonand a real end-to-end live test that no new OpenClaw provider code is needed —settings.provider: "daytona"already passes straight through the existing Crabbox worker provider. The only gap was documentation: how to authenticate (DAYTONA_API_KEY, nocrabbox loginstep required, unlike AWS), a profile example, and what the default snapshot provides out of the box.User Impact
Operators can now configure a Daytona-backed cloud-worker profile with a documented, live-verified example instead of reverse-engineering it from the AWS section or Crabbox source.
Evidence
Live proof against the real Daytona API (isolated local Crabbox binary, not the shared team Gateway):
crabbox doctor --provider daytona --json→daytona-fallback auth=ready control_plane=ready inventory=ready leases=0 mutation=falsecrabbox run --provider daytona --no-sync -- 'node --version; npx --version; uname -a'→ real leasecbx_7787281196a7, exit 0,node v25.9.0,npx 11.12.1, Ubuntu 24.04 kernel — confirming the default snapshot ships Node/npx already, sosettings.setupis optional for this provider (documented as such).crabbox list --provider daytona --json→nullafter the run, confirming clean teardown with no dangling billable resource.pnpm docs:check-config-examplesandnode scripts/check-changed.mjs -- docs/gateway/cloud-workers.mdboth pass.autoreview --mode branch --base origin/main: clean, no accepted/actionable findings.Docs-only change; no runtime/schema/config-contract impact.