psmux: decide whether bmad-loop should support `PSMUX_BARE_ENV`
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Empieza leyendo el predicado PSMUX_BARE_ENV en pane.rs:890, el manejo del entorno de sesión en server/mod.rs:1023 y pane.rs, y la ruta de cold-start en main.rs. Usa el historial de revisión de #537 para identificar las restricciones de compatibilidad y, después, define qué tendría que preservar una revisión explícita del contrato con opt-in para window-0 y parked-engine environments; se considera terminado cuando haya una decisión de soporte establecida y una dirección de interfaz implementable.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
psmux's PSMUX_BARE_ENV=1 (its escape hatch for CreateProcessW err 87 on bloated Windows environments, psmux#167) env_clears every pane child and repopulates from a 14-name allowlist. That deletes BMAD_LOOP_STATE_DIR and the LOCALAPPDATA its default cascade falls back to, so any pane shell that runs bmad-loop derives a different state root — and with it a different psmux registry — and reads live sessions as gone.
#537 declares the mode unsupported: coding-CLI windows still work (their env rides the in-source -EncodedCommand prelude, applied after the clear), and the psmux backend warns once per process when the switch is on. What does NOT survive is inheritance into a session's window-0 shell and the TUI's parked engine windows.
Supporting it means an env transport on the session- and parked-window verbs. That was attempted on #537 across five review rounds and cut: widening the released signatures breaks out-of-tree backends (TypeError), signature-probing around that misbinds (a trailing default swallowed the env dict), and a delegation layer with concrete env-taking entries bypasses subclass overrides of the released verbs and turns same-named helpers into accidental capability declarations. A workable design likely needs a new, differently-named verb pair introduced as an explicit opt-in contract revision — a seam version bump, not a compatibility shim.
Facts to build on, all source-read at psmux v3.3.8 and measured on #537: the mode's predicate is "1"/case-insensitive "true" in the SERVER's env (pane.rs:890); new-session -e pairs are merged into the session env before the first pane spawns and applied after the clear (server/mod.rs:1023, pane.rs), so -e is a working transport for window 0; a -e create never claims a warm server (main.rs, env_vars.is_empty()), so such mints are always cold starts; and an in-source $env: prelude survives the mode.
Related: #537 (per-project registry root; the warning), the ambient-PSMUX_DATA_DIR design issue drafted alongside it.
- Lenguaje dominante
- Python
- Estrellas
- 160
- Forks
- 68
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 84
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 bmad-code-org/bmad-loop
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
bmad-code-org/bmad-loop#973 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
bmad-code-org/bmad-loop#965 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
bmad-code-org/bmad-loop#835 ·
Los mantenedores suelen responder en 1 día
-
area:adapters area:psmux bug P4
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
bmad-code-org/bmad-loop#673 · 8 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
tickets: an injected plan_halt result for a built plan escalates with stopped-attempt wordingAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 36/100
bmad-code-org/bmad-loop#972 ·
Los mantenedores suelen responder en 1 día
Todos los issues de bmad-code-org/bmad-loop
Issues similares
-
Python Volcengine provider returns failures instead of raising themPosiblemente ocupada @Ricardo-M-L la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
agent-infra/sandbox#248 ·
-
Textractor leaves empty temporary files when remote retrieval failsPosiblemente ocupada @HuaTNA la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
test(bm_generation): pin the learning parameters and CPU sync shortcutPosiblemente ocupada @iloveeyjafjalla la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
qboson/kaiwu-pytorch-plugin#1341 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
elder-plinius/V3R1T4S#625 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
foxglove/mcap#1907 · 1 comentario ·
Los mantenedores suelen responder en 1 día