feat(acp_client): settle a sandboxed agent's permission requests through the gate
I maintainer di solito rispondono entro 1 giorno
@LivXue ci sta già lavorando.
Dal 12/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 4.1k
- Fork
- 94
- Merge medio
- 2g 7h
- PR unite (30g)
- 216
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di EverMind-AI/Raven
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
EverMind-AI/Raven#1413 ·
I maintainer di solito rispondono entro 1 giorno
-
feat: allow users to build ui-web and ui-tui with `bun`Forse di nuovo libera @0warning0error l’ha presa 8 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
EverMind-AI/Raven#1283 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
EverMind-AI/Raven#121 ·
I maintainer di solito rispondono entro 1 giorno
-
fix: Feishu channel status wrongly reports missing credentials and "not connected" while WebSocket is liveForse già presa @pcbeingused333 l’ha presa 1 giorno fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 18/100
EverMind-AI/Raven#1399 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
WebUI tab froze silently while gateway stayed healthy (heartbeat stopped 1h49m); reproducible /auth refresh dead-end fixed in #1392Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
EverMind-AI/Raven#1393 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di EverMind-AI/Raven
Issue simili
-
bug docs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
ActivityWatch/docs#223 ·
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier captureForse già presa @jianyx1 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
volcengine/OpenViking#8354 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ARTPARK-SAHAI-ORG/calibrate-frontend#842 ·
I maintainer di solito rispondono entro 1 giorno
-
comp/tools P2 tool/skills type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NousResearch/hermes-agent#159541 ·
I maintainer di solito rispondono entro 1 giorno