[Other] Escalation denied in Plan mode is reported as a rejection by the user
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 72/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend-api-design, desktop
Direzione di ricerca
Inizia da dsh-user-approval/src/index.ts e dsh-sandbox/src/escalation.ts, poi segui come la policy di approvazione «never» gestisce un nuovo tentativo di escalation. Verifica che l’indicazione e il messaggio di errore distinguano il rifiuto automatico da una decisione dell’utente, mantenendo comunque l’operazione negata. Il lavoro è completato quando il messaggio spiega che le richieste di approvazione sono disabilitate in modalità Plan e non attribuisce la colpa all’utente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Area
[Other] (anything else, including setup and installation)
Desktop app, Terminal or source?
Desktop app (Windows, Linux or Mac)
What happened
In Plan mode (read-only sandbox, approval policy "never") a file write is
denied with:
[sandbox: file access denied under read-only mode]
The tool result then advertises an escalation retry. When the agent retries the
same call with sandbox_permissions: workspace-write and a justification, it
fails with:
Error: the user rejected escalating this operation to "workspace-write"; it
stays denied, so stop and explain instead of working around it
No approval dialog appeared and nothing was shown to me. The message states
that the user rejected the request.
Expected: The operation remains denied, but the error message clearly states
that escalation is unavailable because approval prompts are disabled in Plan
mode. It should not attribute the rejection to the user.
The harness already tells the model that prompts are disabled:
"Approval prompts are disabled in this session: actions that require approval
are rejected automatically - do not request sandbox escalation"
Under the "never" policy, approval requests are automatically rejected.
However, the escalation hint still suggests that an approval prompt will
appear, and the resulting error attributes the rejection to the user.
Relevant files in the bundled Harness:
- dsh-user-approval/src/index.ts
- dsh-sandbox/src/escalation.ts
Related: #4120 (configurable permission presets).
This report concerns the error message only. It does not request approval
prompts in Plan mode.
Smallest steps or command that reproduce it
- Start a chat in Plan mode.
- Ask the agent to create a short text file in the workspace.
- The write is denied with the read-only marker.
- The agent retries the same call with sandbox_permissions: workspace-write
and a justification. - The result reads "the user rejected escalating this operation ...",
although no prompt was shown.
Reproduction status
Reproduced locally
Strata version
0.2.5 (Settings > About). Version 0.2.6 is available but has not been tested.
Graphics card, memory and system
macOS 27.0.1 (Darwin 27.0.0, arm64).
The approval gate is host-side and does not involve the GPU.
Model, size and settings
Qwen3.8-Flash-Next, Q2_0 quantization (GSQ-RCO),
131072 context, vision enabled.
The approval gate and approval policy are host-side and do not depend
on the model.
Logs
~/.strata/data/agent/harness.log contains no entry for the escalation.
The denial appears only as a tool result in the chat.
- Lingua principale
- C++
- Stelle
- 11.6k
- Fork
- 1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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 Niko1221/Strata
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 3 giorni
-
needs-format
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Niko1221/Strata#4205 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
[Engine] strata-dsv41 does not build for Pascal (sm_61): nvcuda::wmma used without an sm_70 guard in ds4_gguf.cu / ds4_iq.cuForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di Niko1221/Strata
Issue simili
-
backlog
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
EchoTools/nevr-runtime#1108 ·
I maintainer di solito rispondono entro 1 giorno
-
Status: Needs confirmation Status: Needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
boykopovar/AnyPS5#12124 ·
I maintainer di solito rispondono entro 1 giorno
-
bug-unconfirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno