psmux: decide whether bmad-loop should support `PSMUX_BARE_ENV`
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu bằng cách đọc predicate PSMUX_BARE_ENV trong pane.rs:890, phần xử lý session environment trong server/mod.rs:1023 và pane.rs, cùng cold-start path trong main.rs. Sử dụng lịch sử review của #537 để xác định các ràng buộc tương thích, sau đó xác định một explicit opt-in contract revision cần bảo toàn những gì cho window-0 và parked-engine environments; hoàn tất có nghĩa là đã thống nhất quyết định về support và định hướng interface có thể triển khai.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 160
- Fork
- 68
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 90
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bmad-code-org/bmad-loop
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
bmad-code-org/bmad-loop#973 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
bmad-code-org/bmad-loop#965 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
bmad-code-org/bmad-loop#835 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:adapters area:psmux bug P4
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
bmad-code-org/bmad-loop#673 · 8 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tickets: an injected plan_halt result for a built plan escalates with stopped-attempt wordingĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 36/100
bmad-code-org/bmad-loop#972 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của bmad-code-org/bmad-loop
Issue tương tự
-
wr.dynamodb.read_items returns [{}] for a single partition value that does not existCó thể đã có người làm @auraseb đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
aws/aws-sdk-pandas#3520 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
requires triage typing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
sqlalchemy/sqlalchemy#13704 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Edit tool converts CRLF files to LFCó thể đã có người làm @RaphaelFakhri đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
huggingface/tau#774 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
show ignores the row limit when a column or table name contains "limit"Có thể đã có người làm @RaphaelFakhri đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
What happened to `check.py`?Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
linebender/resvg#1179 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày