Bug type
Behavior bug (incorrect output/state without crash)
Summary
When a user clicks the "Always Allow" button on an interactive execution approval prompt (e.g., in Discord or Telegram) for a short command (like id, jq, or sed), the system fails to persist the command to the exec-approvals.json allowlist. As a result, subsequent executions of the same command still require manual approval, rendering the "Always Allow" button ineffective for these commands.
Additionally, there is no UI feedback informing the user that the persistence failed.
Steps to reproduce
- Ensure the agent attempts to run a short command without an absolute path (e.g.,
id or jq -r ...).
- Receive the execution approval prompt in Discord/Telegram.
- Click the "Always Allow" button.
- Attempt to run the exact same command via the agent again.
- Observed: The system prompts for approval again.
- Check
~/.openclaw/exec-approvals.json, the command is missing from the allowlist.
Expected behavior
When a user clicks "Always Allow":
- The system should attempt to resolve the absolute path of the command (e.g., equivalent to
which <command>) and persist the resolved absolute path to the allowlist.
Actual behavior
"Always Allow" fails silently and behaving exactly like "Allow once" without any warning or feedback to user
OpenClaw version
2026.3.8 (3caab92)
Operating system
Ubuntu 24.04
Install method
npm global
Model
gemini-3-pro
Provider / routing chain
openclaw -> apikey
Config file / key location
No response
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Bug type
Behavior bug (incorrect output/state without crash)
Summary
When a user clicks the "Always Allow" button on an interactive execution approval prompt (e.g., in Discord or Telegram) for a short command (like
id,jq, orsed), the system fails to persist the command to theexec-approvals.jsonallowlist. As a result, subsequent executions of the same command still require manual approval, rendering the "Always Allow" button ineffective for these commands.Additionally, there is no UI feedback informing the user that the persistence failed.
Steps to reproduce
idorjq -r ...).~/.openclaw/exec-approvals.json, the command is missing from the allowlist.Expected behavior
When a user clicks "Always Allow":
which <command>) and persist the resolved absolute path to the allowlist.Actual behavior
"Always Allow" fails silently and behaving exactly like "Allow once" without any warning or feedback to user
OpenClaw version
2026.3.8 (3caab92)
Operating system
Ubuntu 24.04
Install method
npm global
Model
gemini-3-pro
Provider / routing chain
openclaw -> apikey
Config file / key location
No response
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response