psmux: decide whether bmad-loop should support `PSMUX_BARE_ENV`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず pane.rs:890 の PSMUX_BARE_ENV predicate、server/mod.rs:1023 と pane.rs の session environment handling、そして main.rs の cold-start path を読んでください。#537 の review history を使って互換性の制約を特定し、そのうえで、明示的な opt-in による contract revision が window-0 と parked-engine environments について何を維持する必要があるかを定義してください。完了の条件は、support に関する決定が確定し、実装可能な interface の方向性が定まっていることです。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 160
- フォーク
- 68
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 84
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bmad-code-org/bmad-loop のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
bmad-code-org/bmad-loop#973 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bmad-code-org/bmad-loop#965 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
bmad-code-org/bmad-loop#835 ·
メンテナーはふだん 1 日以内に返信
-
area:adapters area:psmux bug P4
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
bmad-code-org/bmad-loop#673 · コメント 8 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 36/100
bmad-code-org/bmad-loop#972 ·
メンテナーはふだん 1 日以内に返信
bmad-code-org/bmad-loop の issue をすべて見る
似ている issue
-
resource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
hesreallyhim/awesome-claude-code#3214 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
room-commons replace accepts an empty old string and silently prepends the new text to the pageオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
doobidoo/mcp-memory-service#1650 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ml-explore/mlx-lm#2002 ·
メンテナーはふだん 2 日以内に返信