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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ Docs: https://docs.openclaw.ai
11
11
- Docs i18n: chunk raw doc translation, reject truncated tagged outputs, avoid ambiguous body-only wrapper unwrapping, and recover from terminated Pi translation sessions without changing the default `openai/gpt-5.4` path. (#62969, #63808) Thanks @hxy91819.
12
12
- QA/testing: add a `--runner multipass` lane for `openclaw qa suite` so repo-backed QA scenarios can run inside a disposable Linux VM and write back the usual report, summary, and VM logs. (#63426) Thanks @shakkernerd.
13
13
- Gateway: split startup and runtime seams so gateway lifecycle sequencing, reload state, and shutdown behavior stay easier to maintain without changing observed behavior. (#63975) Thanks @gumadeiras.
14
+
- CLI/exec policy: add a local `openclaw exec-policy` command with `show`, `preset`, and `set` subcommands for synchronizing requested `tools.exec.*` config with the local exec approvals file, plus follow-up hardening for node-host rejection, rollback safety, and sync conflict detection.
14
15
- Models/providers: add per-provider `models.providers.*.request.allowPrivateNetwork` for trusted self-hosted OpenAI-compatible endpoints, keep the opt-in scoped to model request surfaces, and refresh cached WebSocket managers when request transport overrides change. (#63671) Thanks @qas.
`openclaw exec-policy` is the local convenience command for keeping the requested
24
+
`tools.exec.*` config and the local host approvals file aligned in one step.
25
+
26
+
Use it when you want to:
27
+
28
+
- inspect the local requested policy, host approvals file, and effective merge
29
+
- apply a local preset such as YOLO or deny-all
30
+
- synchronize local `tools.exec.*` and local `~/.openclaw/exec-approvals.json`
31
+
32
+
Examples:
33
+
34
+
```bash
35
+
openclaw exec-policy show
36
+
openclaw exec-policy show --json
37
+
38
+
openclaw exec-policy preset yolo
39
+
openclaw exec-policy preset cautious --json
40
+
41
+
openclaw exec-policy set --host gateway --security full --ask off --ask-fallback full
42
+
```
43
+
44
+
Output modes:
45
+
46
+
- no `--json`: prints the human-readable table view
47
+
-`--json`: prints machine-readable structured output
48
+
49
+
Current scope:
50
+
51
+
-`exec-policy` is **local-only**
52
+
- it updates the local config file and the local approvals file together
53
+
- it does **not** push policy to the gateway host or a node host
54
+
-`--host node` is rejected in this command because node exec approvals are fetched from the node at runtime and must be managed through node-targeted approvals commands instead
55
+
-`openclaw exec-policy show` marks `host=node` scopes as node-managed at runtime instead of deriving an effective policy from the local approvals file
56
+
57
+
If you need to edit remote host approvals directly, keep using `openclaw approvals set --gateway`
58
+
or `openclaw approvals set --node <id|name|ip>`.
59
+
21
60
## Common commands
22
61
23
62
```bash
@@ -100,6 +139,16 @@ Why `tools.exec.host=gateway` in this example:
100
139
101
140
This matches the current host-default YOLO behavior. Tighten it if you want approvals.
102
141
142
+
Local shortcut:
143
+
144
+
```bash
145
+
openclaw exec-policy preset yolo
146
+
```
147
+
148
+
That local shortcut updates both the requested local `tools.exec.*` config and the
149
+
local approvals defaults together. It is equivalent in intent to the manual two-step
0 commit comments