Description
When running openab with the Codex agent (codex-acp) on Kubernetes, a Discord thread can become permanently stuck after a shell command first fails under the default Codex sandbox/network restrictions and is then retried through the auto-approved escalation path.
In my case, this happened while asking the bot to run:
HOME=/home/node gh issue view 269 -R openabdev/openab
The bot acknowledged the request, then appeared to switch to an elevated path, and never sent a final reply back to Discord.
This appears to be both:
- a documentation gap in the current Codex deployment guide, and
- a runtime/integration bug in the escalation path
Steps to Reproduce
- Deploy
openab with codex-acp using the documented/basic setup from docs/codex.md.
- Authenticate
gh successfully inside the agent container.
- In Discord, ask the bot to run a GitHub CLI command that needs network access, for example:
HOME=/home/node gh issue view 269 -R openabdev/openab
- Observe that the first attempt fails due to GitHub/network access inside the default Codex runtime.
- Observe that
openab auto-allows the follow-up permission/escalation request.
- The Discord thread never receives a final answer and appears stuck.
Expected Behavior
One of the following should happen:
- the escalated command completes and the agent replies normally, or
- the agent returns a clear failure message to Discord
It should not silently hang after an auto-approved escalation.
Environment
openab chart/app version: 0.7.1
- deployment: Helm on k3s / Kubernetes
- agent:
codex-acp
- image:
ghcr.io/openabdev/openab-codex:78f8d2c
- working dir:
/home/node
- Discord integration enabled
- GitHub CLI (
gh) installed and authenticated inside the agent container
- Initial generated Codex config was effectively:
[agent]
command = "codex-acp"
args = []
working_dir = "/home/node"
Screenshots / Logs
Observed signals:
- shell error:
error connecting to api.github.com
openab log showed an auto-allowed permission for the retried command
- the Codex session transcript stopped after the escalated tool call
- no
task_complete / final reply was emitted
- in this container/runtime,
workspace-write sandboxing also produced:
bwrap: Failed to make / slave: Permission denied
Additional notes:
Description
When running
openabwith the Codex agent (codex-acp) on Kubernetes, a Discord thread can become permanently stuck after a shell command first fails under the default Codex sandbox/network restrictions and is then retried through the auto-approved escalation path.In my case, this happened while asking the bot to run:
HOME=/home/node gh issue view 269 -R openabdev/openabThe bot acknowledged the request, then appeared to switch to an elevated path, and never sent a final reply back to Discord.
This appears to be both:
Steps to Reproduce
openabwithcodex-acpusing the documented/basic setup fromdocs/codex.md.ghsuccessfully inside the agent container.HOME=/home/node gh issue view 269 -R openabdev/openabopenabauto-allows the follow-up permission/escalation request.Expected Behavior
One of the following should happen:
It should not silently hang after an auto-approved escalation.
Environment
openabchart/app version:0.7.1codex-acpghcr.io/openabdev/openab-codex:78f8d2c/home/nodegh) installed and authenticated inside the agent containerScreenshots / Logs
Observed signals:
error connecting to api.github.comopenablog showed an auto-allowed permission for the retried commandtask_complete/ final reply was emittedworkspace-writesandboxing also produced:bwrap: Failed to make / slave: Permission deniedAdditional notes:
docs/codex.mdcurrently does not explain that Codex sandbox/approval/network settings may need to be configured explicitly for networked shell commands such asgh