Repository navigation
Done
Labels
Description
Parent
What to build
The platform-neutral changes the Windows build needs, landed first on main so the build ticket is smaller. Nothing changes for a user on macOS or Linux.
test-support's fake copies the test binary whenever a hard link fails, not only across devices (the runners'D:drive is ReFS).- Every test helper that sets
HOMEalso setsUSERPROFILE, sincehome_dirreadsUSERPROFILEon Windows. - The hook reads
git ls-files -zoutput as UTF-8 instead ofOsStrExt::from_bytes. ureqbecomes a target-specific dependency ofstudio-understanding, without itstlsfeature on Windows.- Each
cfg(not(target_os = "macos"))arm that means Linux becomescfg(target_os = "linux")where Windows needs a different answer (Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936, "How the platform split is organised").
An ordinary PR to main, checked on the Mac and by the existing CI; it runs before 01.
Acceptance criteria
- The fake falls back to a copy on any hard-link error, with a test row that forces the fallback.
- Every helper that sets
HOMEsetsUSERPROFILEto the same folder. -
git ls-files -zis parsed as UTF-8; a non-UTF-8 name is skipped, not a panic, with a test row. -
cargo tree --target x86_64-pc-windows-msvc -e normal -i ringfinds no path toring; macOS and Linux keeptls. - No
cfg(not(target_os = "macos"))arm that holds Linux-only code is left (git grepin the PR). -
npm run checkpasses.
Reading
- Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936: the spec. Its Implementation Decisions and Testing Decisions settle the design; its "Made without Daniel" points to the grilling's decisions (Q10–Q41).
- Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936, "CI and the local check" (TLS) and "Tests' Unix habit".
docs/studio/research/windows.md: the platform facts (D1–D10) and CI spike results this phase rests on.
Touches
- Files:
test-support/src/fake.rs,hook/tests/common.rs,server/tests/isolated_home/mod.rs,hook/src/lib.rs,server/src/runner.rs,server/src/settings.rs,Cargo.toml,understanding/Cargo.toml - Session: auto mode
- Route: medium · effort medium — five small platform-neutral changes, each with a row or a command; no stored type
Activity
Studio: Windows prep, platform-neutral pieces (#937) (#955)