-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathopenclaw.json5.example
More file actions
57 lines (53 loc) · 1.83 KB
/
Copy pathopenclaw.json5.example
File metadata and controls
57 lines (53 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
// openclaw worker kit: example config posture
//
// this is not a drop-in config file.
// it shows the posture this kit recommends for a first worker.
//
// before using any of these keys:
// 1. confirm the key names and structure against your installed openclaw version
// 2. check the current openclaw docs for any changes to config format
// 3. test in a non-production setup first
//
// openclaw config structure and key names change between versions.
// the posture below is what matters. the exact syntax may need adjustment.
// browser posture:
// start with the managed openclaw browser profile.
// do not attach to your real signed-in browser session by default.
// the managed profile is isolated from your personal logins and cookies.
browser: {
defaultProfile: "openclaw",
// use "user" only when the job requires your real login state
// and you have explicitly approved it.
},
// approval posture:
// enable exec approvals to reduce accidental execution.
// this is a guardrail, not an identity boundary.
// it does not replace trust-boundary design.
approvals: {
exec: {
enabled: true,
},
},
// sandbox posture for non-main sessions:
// if you run group chats, they land in non-main sessions.
// sandboxing non-main sessions gives them a narrower tool set
// while your main dm lane keeps full access.
agents: {
defaults: {
sandbox: {
enabled: true,
},
},
},
// tool restrictions for sandboxed sessions:
// start narrow. widen only after review proves the worker needs more.
tools: {
sandbox: {
allow: ["messaging", "sessions"],
deny: ["runtime", "fs", "ui", "nodes", "cron", "gateway"],
// these category names are illustrative.
// check your openclaw version for the current tool group names.
},
},
}