feat(acp_client): settle a sandboxed agent's permission requests through the gate
Maintainers usually reply within 1 day
@LivXue is already working on this.
Since Nov 12, 2026.
Assessment
This issue has not been assessed yet.
Description
Reserved for @LivXue: waiting for LivXue to resolve this. Please do not pick it up.
Summary
An external ACP agent's session/request_permission is answered by auto_approver in raven/acp_client/permissions.py: approve, unless the host's deny rules refuse the command. PR #1269 gives Raven's own agents the host's whole permission set and, where the platform supports it, the host's OpenShell sandbox. When such an agent runs sandboxed, its permission requests should be settled by the gate of the turn that owns the run (PermissionGate.authorize_runtime): ask asks the user, full approves, a deny rule refuses. This is the second half of decision D12, left out of PR #1269.
Ruled constraint
A subagent that does not run in a sandbox keeps auto-approving every request (OpenShell does not support Windows, among other cases). Only a sandboxed child changes.
What is missing
- A route from an ACP session to the gate and responder of the turn that owns it.
request_dispatcheranswers every request on the pool's connection, outside the turn's task, socurrent_gate()is not bound there. Elicitations already have such a route, bysessionId:_SessionElicitorsinraven/acp_client/pool.py, with identity-checked attach and detach. Permission requests have none. - A marker that a child runs sandboxed, recorded when its config is rendered (
raven/config/product_render.py,inherit_host_permissions), so the dispatcher can tell the two cases apart.
Tests to have
- A sandboxed child in
askmode prompts the user through the owning turn. - A sandboxed child in
fullmode is approved without a prompt. - A child that is not sandboxed never prompts, and still has a host-denied command rejected.
- Dominant language
- Python
- Stars
- 4.1k
- Forks
- 94
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 216
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EverMind-AI/Raven
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
EverMind-AI/Raven#1413 ·
Maintainers usually reply within 1 day
-
feat: allow users to build ui-web and ui-tui with `bun`May be free again @0warning0error claimed this 8 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
EverMind-AI/Raven#1283 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
EverMind-AI/Raven#121 ·
Maintainers usually reply within 1 day
-
fix: Feishu channel status wrongly reports missing credentials and "not connected" while WebSocket is livePossibly taken @pcbeingused333 claimed this 1 day ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 18/100
EverMind-AI/Raven#1399 · 1 comment ·
Maintainers usually reply within 1 day
-
WebUI tab froze silently while gateway stayed healthy (heartbeat stopped 1h49m); reproducible /auth refresh dead-end fixed in #1392Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 22/100
EverMind-AI/Raven#1393 · 2 comments ·
Maintainers usually reply within 1 day
All issues in EverMind-AI/Raven
Similar issues
-
bug docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ActivityWatch/docs#223 ·
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier capturePossibly taken @jianyx1 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
volcengine/OpenViking#8354 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ARTPARK-SAHAI-ORG/calibrate-frontend#842 ·
Maintainers usually reply within 1 day
-
comp/tools P2 tool/skills type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-agent#159541 ·
Maintainers usually reply within 1 day