Skip to content

Studio: Windows — finding programs on PATH, and only Claude Code's writer (#936) #942

Backlog

Description

@danielrispler

Parent

#936

What to build

On Windows plotkeeper finds programs on PATH with PATHEXT, never through a shell, and only Claude Code's writer runs.

  • One function in the workbench searches PATH with PATHEXT and returns an absolute path; a pure core takes the variables and a file probe, so its table runs on every CI. On Windows find/find_program use it; macOS and Linux keep their lookups. (install::on_path moves to it in 06.)
  • For claude, only a real claude.exe counts. A claude.cmd alone counts as not found, with a line saying to install Claude Code's native build.
  • gh_path returns bare gh on Windows without asking a login shell; git and gh run by bare name.
  • On Windows the agy, Codex, Copilot and Cursor writers count as not found with "not on native Windows yet"; the OpenAI-compatible writer counts as not found even with a base URL set; os_keys() gains a Windows arm that holds no key and refuses a save with "API keys can't be saved on native Windows yet; use Claude Code's writer.".

Acceptance criteria

  • Rows on every CI for the lookup: PATHEXT order, a .cmd beside an .exe, a missing program, an entry with quotes.
  • Rows: claude.cmd alone is not found and gets its line.
  • Rows: on Windows only Claude Code's writer is found; the OpenAI-compatible writer with only a base URL is not; a key save is refused with the line.
  • docs/studio/settings.md says which writers native Windows has.
  • npm run check and npm run check:windows pass.

Reading

Touches

  • Files: workbench/src/lib.rs, new workbench/tests/path_lookup.rs, understanding/src/lib.rs, server/src/learning.rs, server/src/settings.rs, server/tests/writer.rs, server/tests/api_key.rs, docs/studio/settings.md
  • Session: auto mode
  • Route: medium · effort medium — a pure lookup with table rows and found-or-not answers; 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