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
Clawdbot has strict config validation. Common gotchas:
199
+
Moltbot has strict config validation. Common gotchas:
195
200
196
201
-`agents.defaults.model` must be `{ "primary": "model/name" }` not a string
197
202
-`gateway.mode` must be `"local"` for headless operation
198
203
- No `webchat` channel - the Control UI is served automatically
199
204
-`gateway.bind` is not a config option - use `--bind` CLI flag
200
205
201
-
See [Clawdbot docs](https://docs.clawd.bot/gateway/configuration) for full schema.
206
+
See [Moltbot docs](https://docs.molt.bot/gateway/configuration) for full schema.
202
207
203
208
## Common Tasks
204
209
@@ -211,7 +216,7 @@ See [Clawdbot docs](https://docs.clawd.bot/gateway/configuration) for full schem
211
216
212
217
### Adding a New Environment Variable
213
218
214
-
1. Add to `ClawdbotEnv` interface in `src/types.ts`
219
+
1. Add to `MoltbotEnv` interface in `src/types.ts`
215
220
2. If passed to container, add to `buildEnvVars()` in `src/gateway/env.ts`
216
221
3. Update `.dev.vars.example`
217
222
4. Document in README.md secrets table
@@ -230,12 +235,12 @@ Enable debug routes with `DEBUG_ROUTES=true` and check `/debug/processes`.
230
235
231
236
## R2 Storage Notes
232
237
233
-
R2 is mounted via s3fs at `/data/clawdbot`. Important gotchas:
238
+
R2 is mounted via s3fs at `/data/moltbot`. Important gotchas:
234
239
235
240
-**rsync compatibility**: Use `rsync -r --no-times` instead of `rsync -a`. s3fs doesn't support setting timestamps, which causes rsync to fail with "Input/output error".
236
241
237
242
-**Mount checking**: Don't rely on `sandbox.mountBucket()` error messages to detect "already mounted" state. Instead, check `mount | grep s3fs` to verify the mount status.
238
243
239
-
-**Never delete R2 data**: The mount directory `/data/clawdbot` IS the R2 bucket. Running `rm -rf /data/clawdbot/*` will DELETE your backup data. Always check mount status before any destructive operations.
244
+
-**Never delete R2 data**: The mount directory `/data/moltbot` IS the R2 bucket. Running `rm -rf /data/moltbot/*` will DELETE your backup data. Always check mount status before any destructive operations.
240
245
241
246
-**Process status**: The sandbox API's `proc.status` may not update immediately after a process completes. Instead of checking `proc.status === 'completed'`, verify success by checking for expected output (e.g., timestamp file exists after sync).
0 commit comments