Skip to content

Studio: Windows core v1 — the native port after #805's foundations #847

Backlog
1 of 2 issues completed
Backlog

Description

@danielrispler

What this is

The roadmap for native Windows support, from #805's foundations to a released core v1. It holds no tickets of its own. Each phase is its own spec, a sub-issue of this one, written just before its tickets are cut so that it reads main as it is then. A phase opens only when the one before it has landed.

The research behind it is docs/studio/research/windows.md (platform facts D1 to D10, two CI spike rounds) and the options report of the grilling (local-evidence/2026-11-30-windows-port-grilling/, Daniel's machine only). Decisions are in "Decided" below, each with where it was made.

The goal: core v1

plotkeeper records sessions on native Windows and gives the learning layer that needs no agent run: the session list and "needs you", the story rail, Headlines, Where we were and the Brief, checks, the map and Fog, First map's free scan, PR briefs, part catch-ups, the CLI summary writers, and answering Claude Code from the page. It covers Claude Code, Codex and Cursor, on x64 and arm64. Released on npm as plotkeeper-win32-x64 and plotkeeper-win32-arm64 only once Phase 2's gate passes.

What core v1 refuses on native Windows, each with its own message rather than a Linux error:

  • Every background run: back a law, micro-worlds, the map text review, and First map's Draft the map. All four run Claude Code inside its OS sandbox, which Claude Code does not have on native Windows (server/src/runner.rs:59-68, :371).
  • API keys, so the Anthropic and OpenAI-compatible writers; the CLI writers work (Claude Code's from Phase 1, the others' as their phase decides).
  • Jump to a session's terminal (macOS only today, as on Linux) and Open in editor.

WSL2 keeps working as Linux does, for agents inside WSL2.

Phases

Phase What Gate it ends with Effort days (judgement, low)
0 #805: the event log's own lock, LF checkouts, the Rust test fake. Done. - -
1 #936. Claude Code recorded correctly on native Windows: the platform module and refusals, the process runner on Job Objects, the event log's file identity, the answer file and private files, program lookup, finding the agent's process, paths at the boundary, Claude Code's exec-form entry on Windows, moving a running hook aside, the tests that guard them, and a Windows CI job on x64 and arm64. Gate B 9 to 16
2 Core v1: Codex's and Cursor's hook entries, the remaining shell fakes moved to the Rust fake and every gated test back on, the npm packages, release and smoke test, README and docs. Open in editor if Daniel takes it (Q8). Gate C, then the release 3 to 5.5
Later Each its own spec, opened when Daniel chooses: read-only runs so First map's draft and the map text review work (Q3); the other five agents (agy, Qwen Code, Cline, Copilot CLI, OpenCode); API keys in the Credential Manager (Q4); signing (Q6); runs that write, in a Windows sandbox (srt-win, Codex's sandbox, or Claude Code on MXC). Its own See windows.md, "Options"

Gates

Silent failures are the main risk on Windows: a hook that never runs, a shell taken for the agent, a path dropped as not absolute. So each phase ends on a real machine, and Phase 1 also leaves a test behind that catches them on every PR.

  • Gate A (Phase 1, early, by Daniel, never blocking): after Phase 1's first ticket, the CI-built binaries in the Parallels VM: Smart App Control turned on, Ctrl+C, the browser opener. About an hour. No other ticket waits for it. If Smart App Control blocks the unsigned hook, signing (Q6) is decided before Phase 2 is specced.
  • CI end to end (Phase 1, permanent): a real Claude Code session against a stand-in model on the Windows runner, checking that a turn is recorded with its files and project.
  • Gate B (Phase 1's last ticket, by Daniel): a real interactive Claude Code session in the VM, end to end: recorded, files per turn, project, Headline, a permission answered from the page, no console window flashing.
  • Gate C (Phase 2's last ticket, by Daniel): Cursor's desktop app and Codex in the VM. The release follows it.

Decided

  • Scope: core v1 is this umbrella's goal; the later phases are options (Daniel, grilling round 1).
  • arm64: in Phase 1. If arm64 meets an unexpected crate or build blocker, Phase 1 falls back to x64, which Daniel tries under emulation in the VM, and arm64 moves to a later phase (Daniel).
  • Phase 1 is Claude Code only; Codex and Cursor are Phase 2 (Daniel).
  • Trial machine: a Parallels VM on Daniel's Mac (Windows 11 Arm, x64 emulation, no WSL2 inside). Gate A never blocks Phase 1's other tickets (Daniel).
  • Release: no public Windows release until Gate C passes (Daniel).
  • CI: the Windows job is not required while it is red, and becomes required once Phase 1 lands (default, passed by Daniel).
  • Carried from Spec: Windows foundations — a separate event-log lock, LF checkouts, a Rust test fake, the Windows npm names #805: the event log's lock is events.lock (Q1 there); a running hook binary is moved aside, not replaced through versioned bin/<version>/ folders (windows.md, "Foundational changes: now or later"); Claude Code's exec form on Windows only (Spec: Windows foundations — a separate event-log lock, LF checkouts, a Rust test fake, the Windows npm names #805, Q6).

Open, each decided in the phase it affects

  • Q3, background runs (a later phase): refuse every run (the research's recommendation), let the two read-only kinds start unsandboxed so First map's draft works, or an unsandboxed opt-in for every run.
  • Q4, API keys (a later phase): refused, as on headless Linux, or the Credential Manager, which changes the AGENTS.md hard rule.
  • Q6, signing (before Phase 2's spec, earlier if Gate A shows a block): ship unsigned, or Artifact Signing. What a block would cost: with the exec-form entries, a hook that cannot start does not block Claude Code (its hooks docs limit blocking to shell-form hooks without Git Bash), so sessions would go unrecorded and answers from the page do nothing, while Claude Code keeps asking in its terminal.
  • Q8, Open in editor (Phase 2's grilling): in core v1, or refused with a message.

Decided once for every phase

Phase 1 is the first to write Windows data, so its spec fixes these and later phases keep them: how a Windows path is stored in the event log, the data folder's place, the shape of each agent's hook entry on Windows, and the npm package names. Changing any of them after a real user's log holds Windows events means a new frozen sample and code that reads both forms.

Working on Windows without a Windows machine

Draft PRs run no CI (.github/workflows/studio.yml:5, :28), so /implement-spec's integration PR gets no Windows run, and npm run check on a Mac builds nothing for Windows. Phase 1's first ticket gives background implementers a Windows signal before the others start; its spec says how.

Reading

Touches

  • Files: none of its own; each phase's spec names its files.
  • Session: auto mode
  • Route: strong · effort high — a roadmap with choices of Daniel's still open; no implementation in this issue

Sub-issues

Sub-issues

1 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. danielrispler commented on Nov 30, 2026

    @danielrispler
    OwnerAuthor

    This was generated by AI during triage.

    Triaged as enhancement. It stays needs-triage because Daniel still has choices open in it (Q3, Q4, Q6, Q8). The body is now the roadmap from #805 to core v1; the issue's edit history holds the earlier body. Phase 0 (#805, closed) and Phase 1 (#936, the spec) are linked as sub-issues. Phase 2's spec opens once Phase 1 lands.

  2. added
    windows
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementneeds-triagewindows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions