[Other] Escalation denied in Plan mode is reported as a rejection by the user
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- backend-api-design, desktop
Línea de trabajo
Empieza por dsh-user-approval/src/index.ts y dsh-sandbox/src/escalation.ts; después, sigue el tratamiento de un nuevo intento de escalación por parte de la política de aprobación «never». Confirma que la indicación y el mensaje de error distinguen entre el rechazo automático y una decisión del usuario, y que la operación sigue denegada. El trabajo estará terminado cuando el mensaje explique que las solicitudes de aprobación están deshabilitadas en el modo Plan y no culpe al usuario.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C++
- Estrellas
- 11.6k
- Forks
- 1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Niko1221/Strata
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Niko1221/Strata#4630 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
[Engine] HIP source build fails since v0.1.45: `__shared__ alignas(16) int4` in iq_kernels.cu (expdec verify window)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Niko1221/Strata#4589 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
[Engine] strata-sycl.sh drops every STRATA_* variable whose value is 0, so the documented STRATA_PREFILL_MMQ=0 (FP16 prompt path) never reaches the engine; "off" works by accidentPosiblemente ocupada @ctr-137 la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 3 días
-
[Other] tools/ab_engine.py reuses ab_<arm>_r<n>.log in the temp dir across runs, so a later A/B appends its engine logs to an earlier onePosiblemente ocupada @ctr-137 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 3 días
Todos los issues de Niko1221/Strata
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
ROCm/FastFlowLM#887 ·
Los mantenedores suelen responder en 1 día
-
paraview 6.2.0 uses Abseil 20260526 symbols but does not pin libabseil (undefined symbol with libabseil 20260817)Posiblemente ocupada @jschueller la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
bug medium priority openmp tokenizer wrong result
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
apache/casbin-cpp#277 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
iamaisim/ProjectAirSim#241 ·
Los mantenedores suelen responder en 1 día