Skip to content

Studio: Windows — plotkeeper install wires Claude Code in exec form (#936) #943

Backlog

Description

@danielrispler

Parent

#936

What to build

plotkeeper install on Windows wires Claude Code with hook entries Claude Code runs without a shell, and says it skips the other agents.

  • claude_files keeps the one template, plugin/hooks/hooks.json. On Windows only, a pure function converts each entry: "\"__PLOTKEEPER_BIN__/<name>\" <words>" becomes command = <bin>\<name>.exe and args = the words; every other field is kept; both binaries' entries. macOS and Linux keep today's bytes and fingerprints.
  • On Windows wire, wire_on_start and rewire_changed take Claude Code only, as a parameter; every other agent found gets a "not on native Windows yet" line as skipped() prints today.
  • install::on_path uses 05's lookup on Windows; install's line for a claude.cmd alone says to install Claude Code's native build.
  • install-never-opens-claude-settings gets a Windows twin that fails when install opens the settings file. Pick the mechanism (a symlink to a named pipe that records a connection, or a handle held with no sharing), say why in the PR, and show the twin failing with an open added for a moment.

Acceptance criteria

  • Rows on every CI: the conversion of the real template, every entry and both binaries, every field kept; macOS and Linux bytes unchanged.
  • A row on every CI: install wiring Claude Code only prints the skip line for each other agent found.
  • The Windows twin, tagged @law: install-never-opens-claude-settings, fails with an open added and passes without.
  • docs/studio/plugin.md describes the Windows entry form.
  • Each Windows-only test row is shown red (an assertion failure), then green, on Windows runs of this ticket's own pushed issue-* branch, x64 and arm64; Daniel approves the push when auto mode stops it (Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936 breakdown, Q41; the rule is in docs/agents/issue-tracker.md once 01 lands). Both run links are in the PR.
  • npm run check and npm run check:windows pass.

Reading

Touches

  • Files: server/src/install.rs, server/tests/install.rs, docs/studio/plugin.md
  • Session: auto mode
  • Route: strong · effort high — an open choice (the never-opened mechanism) and an untested edge case: install rewriting the hook entries Claude Code reads

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