You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fb23b8e
Browse filesBrowse the repository at this point in the historyBrowse files
docs(gateway): keep warm images opt-in pending a proven capture boundary
Review finding: default-on capture would persist setup-created state outside
the scrubbed worker root into provider images for profiles that never opted
in. suspendAfter pairs with warmImage: true for warm wakes.
|`provider`| Worker provider id registered by a plugin (`crabbox` for the bundled plugin). |
115
-
|`install`| Installation preference for SSH-backed providers. The bundled Crabbox provider always installs the current Gateway bundle through the authenticated node channel. |
116
-
|`suspendAfter`| Optional idle duration, such as `45m`, `90m`, or `2h`; minimum `1m`. Automatically suspend an idle worker using the same safe stop as manual reclaim. The next message provisions a replacement, warm when a snapshot exists. While suspended, only retained snapshot storage is billed; omit this field to keep workers running until explicitly stopped. |
117
-
|`settings`| Provider-owned JSON. For crabbox: `provider` (backend), `class` (machine class), `ttl`, `idleTimeout` (Go durations), optional idempotent `setup`, optional `desktop`, and absolute `binary` path. While a session remains placed, OpenClaw heartbeats its lease at a safe fraction of `idleTimeout`; teardown stops the heartbeat before releasing the machine. `desktop: true` asks Crabbox to warm the lease with its browser and loopback RFB desktop before node enrollment. |
118
-
|`settings.warmImage`| Optional, enabled by default; set to `false` to disable reusable machine images. When an enrolled worker stops, OpenClaw saves an image for later workers with the same profile. Images incur snapshot storage charges in your cloud provider account. OpenClaw removes worker identities, device tokens, bundles, and all workspace files before capture; use image reuse only for mutually trusted workloads. Capture adds at most about three minutes to a stop on providers with slow native snapshots, then degrades to cold-only provisioning. Capture needs a Crabbox release with fixed-ID checkpoint forks, and coordinator-brokered leases additionally need `broker.adminToken`; without either, every stop degrades to normal cold provisioning with one warning. |
|`provider`| Worker provider id registered by a plugin (`crabbox` for the bundled plugin). |
116
+
|`install`| Installation preference for SSH-backed providers. The bundled Crabbox provider always installs the current Gateway bundle through the authenticated node channel. |
117
+
|`suspendAfter`| Optional idle duration, such as `45m`, `90m`, or `2h`; minimum `1m`. Automatically suspend an idle worker using the same safe stop as manual reclaim. The next message provisions a replacement, warm when a snapshot exists. While suspended, only retained snapshot storage is billed; omit this field to keep workers running until explicitly stopped. |
118
+
|`settings`| Provider-owned JSON. For crabbox: `provider` (backend), `class` (machine class), `ttl`, `idleTimeout` (Go durations), optional idempotent `setup`, optional `desktop`, and absolute `binary` path. While a session remains placed, OpenClaw heartbeats its lease at a safe fraction of `idleTimeout`; teardown stops the heartbeat before releasing the machine. `desktop: true` asks Crabbox to warm the lease with its browser and loopback RFB desktop before node enrollment. |
119
+
|`settings.warmImage`| Optional, disabled by default. Set to `true` to save a reusable machine image when an enrolled worker stops and start later workers with the same profile from that image — pair it with `suspendAfter` so suspended sessions wake warm. Images incur snapshot storage charges in your cloud provider account. OpenClaw removes worker identities, device tokens, bundles, and all workspace files before capture, but the image also retains whatever `settings.setup` wrote elsewhere on the machine, so keep setup credential-free and enable reuse only for mutually trusted workloads. Capture adds at most about three minutes to a stop on providers with slow native snapshots, then degrades to cold-only provisioning. Capture needs a Crabbox release with fixed-ID checkpoint forks, and coordinator-brokered leases additionally need `broker.adminToken`; without either, every stop degrades to normal cold provisioning with one warning. |
Copy file name to clipboardExpand all lines: docs/gateway/configuration-reference.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1004,7 +1004,7 @@ The bundled `crabbox` provider provisions a disposable machine through the local
1004
1004
-`settings.provider` (required): Crabbox backend passed through `--provider`; `aws` selects the direct AWS backend.
1005
1005
-`settings.class` (required): Crabbox machine class passed to `--class`.
1006
1006
-`settings.ttl` and `settings.idleTimeout` (required): positive Go duration strings passed to `--ttl` and `--idle-timeout` as provider-side failsafes.
1007
-
-`settings.warmImage`: reusable machine images are enabled by default; set this to `false` to disable capture and image reuse. Images incur provider snapshot storage charges. Capture adds at most about three minutes to a stop on providers with slow native snapshots, then degrades to cold-only provisioning.
1007
+
-`settings.warmImage`: set to `true` to capture a reusable machine image at each stop and start later workers with the same profile from it; pair with `suspendAfter` so suspended sessions wake warm. Disabled by default because images incur provider snapshot storage charges and retain whatever `setup` wrote outside the scrubbed worker state. Capture adds at most about three minutes to a stop on providers with slow native snapshots, then degrades to cold-only provisioning.
1008
1008
-`settings.binary`: optional absolute Crabbox executable path. Without it, OpenClaw checks the sibling Crabbox checkout, then executable entries on `PATH`, and finally invokes `crabbox` so a missing CLI remains a visible provider error.
1009
1009
1010
1010
Unknown settings are rejected. Crabbox credentials and backend-specific account configuration remain owned by Crabbox; do not place them in `settings`. OpenClaw invokes only the local CLI and makes no provider network calls from this plugin. Provisioning passes one deterministic canonical lease ID through `--lease-id`, keeps `--slug` as display metadata only, and always passes `--keep=true`; OpenClaw owns the external lifecycle and destroys the lease with `crabbox stop --id <canonical-id>`. After an ambiguous result, Gateway reconciliation repeats the same fixed-ID operation. Crabbox must return the exactly attested lease or fail closed; OpenClaw never falls back to slug adoption or replacement allocation.
0 commit comments