Skip to content

Studio: Windows — background runs and Open in editor refuse by name (#936) #941

Backlog

Description

@danielrispler

Parent

#936

What to build

On native Windows every background run and Open in editor says why it can't run, in the state the page already draws, instead of a Linux error.

  • The runner's config carries runs_supported, true on macOS and Linux, false on Windows. Each kind checks it before any work, with "Background runs need Claude Code's OS sandbox, which native Windows does not have. Inside WSL2 they can run as on Linux.": back a law before its srt lookup, a micro-world beside its scripts check, "Review map text", First map's start. Runner::prepare checks it as the backstop. The automatic map text review of Daniel's own PRs does not start and records nothing. The scan screen's claude flag becomes "claude found and runs supported", so on Windows it leads with "Use your own agent".
  • plotkeeper-run.exe prints the runs line and exits 1 on Windows.
  • The switchboard's Platform gains Windows; Open in editor refuses at its top on it, before any git, with "Open in editor isn't available on native Windows yet.". Jump keeps "Jump works on macOS only".
  • New law runs-refuse-without-a-sandbox on map-briefs-runs, backing check, with Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936's text.

Acceptance criteria

  • Table rows on every CI, through runs_supported false: each of the four kinds refuses with the line, makes no folder, records the state its refusal draws; tagged @law: runs-refuse-without-a-sandbox.
  • A row: the automatic map review does not start with runs_supported false.
  • A row: the scan flag is false when runs are unsupported.
  • A row: Open in editor on Platform::Windows refuses before running anything.
  • docs/studio/behaviour/background-runs.md and terminal.md say what Windows refuses.
  • npm run check and npm run check:windows pass.

Reading

Touches

  • Files: server/src/runner.rs, server/src/back_a_law.rs, server/src/micro_worlds.rs, server/src/map_review.rs, server/src/map_draft.rs, server/src/map_scan.rs, server/src/bin/plotkeeper-run.rs, server/src/switchboard.rs, server/tests/runner.rs, server/tests/switchboard.rs, system-map.json, docs/studio/behaviour/background-runs.md, docs/studio/behaviour/terminal.md
  • Session: auto mode
  • Route: medium · effort medium — adds a law and touches many files; every case is a parameter row, no stored type

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