Skip to content

Studio: paths read in one form — the core's rule and the log (#936) #947

Backlog

Description

@danielrispler

Parent

#936

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.

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/same with a cwd whose 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 into C:\… is matched to its folder.
  • The frozen samples read unchanged; none is edited.
  • docs/studio/behaviour/storage.md says the log keeps the agent's spelling and the core reads it in one form.
  • npm run check and npm run check:windows pass.

Reading

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentwindows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions