Repository navigation
Backlog
Labels
Description
Parent
What to build
The core reads Windows paths in one form, so a Windows turn has its files, its project and its edits credited to the right session. macOS and Linux paths read exactly as before.
read(path, windows_line),inside(path, root)andsame(a, b)in the core, as Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936 "Paths in the core" defines them:/…as written except Git Bash's/c/…on a line whosecwdis a drive-letter path; drive-letter paths toC:/…; UNC to//server/share; drive-letter comparisons ASCII case-insensitive.- Applied once per line at replay to
Event.cwd,studio_touched_roots, the keys ofstudio_turn_start/studio_turn_endand eachTool.path.Tool.inputstays raw, butrow.file(ledger) and the step detail read throughread. Acdtarget in a check's command reads throughread. - Every comparison site Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936 lists uses
inside/same; the places that decide "absolute" acceptx:/. - New law
paths-read-in-one-formoncore, backingcheck, with Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936's text.
Acceptance criteria
- The rule's table on every CI, tagged
@law: paths-read-in-one-form: POSIX rows as written;C:\,c:/,\\?\C:\,/c/on a Windows line and on a POSIX line, UNC;inside/samewith acwdwhose case differs from git's. - A row: the core reads a Windows log into a turn with its files and project.
- A row: two sessions in one repository on Windows, each edit credited to its own session.
- A row: a check whose command
cds intoC:\…is matched to its folder. - The frozen samples read unchanged; none is edited.
-
docs/studio/behaviour/storage.mdsays the log keeps the agent's spelling and the core reads it in one form. -
npm run checkandnpm run check:windowspass.
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, "Paths in the core" and Testing Decisions.
understanding/tests/fixtures/stored/README.md: frozen samples are never edited.local-evidence/2026-11-30-windows-port-grilling/reports/sites-hook-and-paths.md(Daniel's machine): every path site.
Touches
- Files: new
core/src/paths.rs,core/src/lib.rs,core/src/studio/replay.rs,core/src/studio/roots.rs,core/src/studio/take.rs,core/src/checks.rs,core/src/turn_files.rs,core/src/ledger.rs,core/src/ask.rs,core/src/session.rs,core/src/output.rs,core/tests/,system-map.json,docs/studio/behaviour/storage.md - Session: auto mode
- Route: strong · effort high — reading stored log lines, with the frozen samples as the guard
Activity