Skip to content

Commit 9fdfaba

Browse files
committed
docs: Windows maturity V2 plan
1 parent ebf115a commit 9fdfaba

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Windows 成熟度提升 V2 方案
2+
3+
> 基于 GPT-5.5 评审反馈,将 Windows 从 22/48 提升到 30+/48。
4+
5+
## 任务清单
6+
7+
### T1: 修复 fresh-sandbox 能力 + git clone 单引号
8+
**目标:解锁 02, 24, 27_self, 32(+4 tests)**
9+
10+
- `cli.cppm:1963-1970` — git clone 用 `'{}'` 单引号,Windows cmd.exe 不支持
11+
- `run_all.sh` — Windows 添加 `fresh-sandbox` 能力
12+
- `27_self_contained_home.sh` — 误标 `elf`,实际逻辑是 Windows 可移植的
13+
14+
### T2: process.cppm 实际接入
15+
**目标:消除散落的 popen/system 拼接**
16+
17+
优先替换 5 个高风险 call site:
18+
- `probe.cppm:90` — compiler probing
19+
- `pm/publisher.cppm:211,239` — sha256sum, git archive
20+
- `toolchain/stdmod.cppm:64` — std module compilation
21+
- `build/ninja_backend.cppm:98` — ninja invocation
22+
23+
### T3: provider.cppm 接入 flags/ninja
24+
**目标:消除散落的 is_clang/is_gcc/isMusl 检查**
25+
26+
- `flags.cppm` — 用 `capabilities_for(tc)` 决定 compile/link flags
27+
- `ninja_backend.cppm:155` — scanner 策略用 provider
28+
- `stdmod.cppm:102,122` — BMI 路径用 provider
29+
30+
### T4: 更新过时文档
31+
**目标:文档与代码同步**
32+
33+
- 更新 `.agents/docs/2026-05-19-windows-platform-maturity-plan.md`
34+
- 48 tests(非 49),P1/P2/P3/P5 已完成基础设施
35+
36+
### T5: E2E 标签修正
37+
**目标:最大化 Windows 可运行测试**
38+
39+
- `27_self_contained_home.sh``elf` → 空(逻辑是 Windows 可移植的)
40+
- `10_env_command.sh` — 验证是否仍需 symlink

0 commit comments

Comments
 (0)