[bug] background subagents in auto mode flood me with permission prompts for safe…
Los mantenedores suelen responder en 5 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 18/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- bun, shell, typescript
Línea de trabajo
Start with the LifeOSHooks tool.call hook and the SubagentGitSandbox class with its wrapInline method, which the report says wrap every subagent Bash command in sandbox-exec. Check how the hook's changed input leads to the "gave no verdict" result in auto mode, and reproduce with a background subagent running ls. Done means safe read-only subagent commands are judged without reaching the human, while the git-internals protection still holds.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened
background subagents in auto mode flood me with permission prompts for safe commands, 15-20 clicks in a few minutes
Summary
In auto mode, a background subagent's Bash calls often get no verdict from the auto-mode reviewer and end up as permission prompts for the human, even for read-only commands.
Cause, from reading the code and the message Claude Code returns: the LifeOSHooks tool.call hook wraps every subagent Bash command in sandbox-exec (SubagentGitSandbox, wrapInline). Claude Code then reports "gave no verdict: a hook changed this call's input after the model wrote it, so the review was of different input from what would run", adds "This is not a judgment that the action is unsafe", and tells the model to issue the call again once.
Seen on 8.761.0 with four background subagents: about 15-20 prompts within a few minutes, for work that only read files. The same command type passes in the main session, which is not wrapped. It is intermittent (bun test passed while ls and bun Places.ts did not), and the agents copying the wrapped text into their retry adds more prompts.
Expected: the git-internals protection stays, and safe subagent commands are judged without reaching the human. The current workaround is telling subagents not to use Bash at all, which rules out any subagent that has to run tests, so unattended work is not practical.
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
- Lenguaje dominante
- TypeScript
- Estrellas
- 19.9k
- Forks
- 2.5k
- 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 danielmiessler/LifeOS
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
danielmiessler/LifeOS#2894 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
danielmiessler/LifeOS#2891 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
danielmiessler/LifeOS#2888 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
danielmiessler/LifeOS#2886 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
danielmiessler/LifeOS#2848 ·
Los mantenedores suelen responder en 5 días
Todos los issues de danielmiessler/LifeOS
Issues similares
-
ready-for-agent
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
LucasSantana-Dev/Lucky#3257 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
XiaomiMiMo/MiMo-Code#2849 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement frontend good first issue help wanted testing-infrastructure
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 2 días
-
enhancement follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
obsidian-tasks-group/obsidian-tasks#4155 ·
Los mantenedores suelen responder en 1 día