Repository navigation
Done
Labels
Description
Parent
What to build
plotkeeper compiles for Windows, x64 and arm64, and a Windows CI job runs its tests green. Its own non-draft PR to main, before /implement-spec (docs/agents/ticket-authoring.md, "Checks that need CI").
- Every Unix-only item gets a
cfg(unix)gate and a Windows arm. Interim arms, filled in by later tickets: the process runner is a plain std arm (spawn, wait with the deadline, kill the direct child) so git and gh run on the Windows job; the answer hook refuses on Windows (answers nothing, so Claude Code asks in its terminal);pid_aliveanswers alive on Windows (a session ends by its SessionEnd only); every other refused feature refuses with a Windows line.run_loggedreturnsRunError::Starton Windows. - Every Unix-only test is gated with
cfg(unix)(or ignored on Windows) and a one-line reason; the PR lists each one.server/examples/sandbox_gate.rsis gated. npm run check:windows=cargo check --workspace --all-targets --target x86_64-pc-windows-msvc, not part ofnpm run check; the PR gives its measured cold and warm times..github/workflows/windows.ymlas Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936 "CI and the local check" says:windows-latestandwindows-11-arm; ready PRs, pushes tomainand toissue-*(drafts included); apull_requestevent from anissue-*head is skipped; npm's script shell is Git Bash at its full path;npm run check:rustwithoutslot.mjs;cargo clippy --locked --workspace --all-targets -- -D warningsfor the Windows target; onmainpushes,npm run build, the release binaries and an upload ofplotkeeper.exe,plotkeeper-run.exe,plotkeeper-hook.exe,plotkeeper-answer.exeasplotkeeper-windows-<arch>.- If the arm64 leg meets a crate or build blocker x64 does not have, mark it
continue-on-errorand tell Daniel (Q39). - Docs: AGENTS.md "Checks" (run
check:windowsfor a Rust change when the target is installed) and "Tests" (helpers setUSERPROFILE; new Unix-only code gets a Windows arm or a gate with a reason);docs/studio/development.md(the Windows job,check:windows);docs/agents/issue-tracker.md(line 52's "CI skips drafts" reworded; the merger waits on each integration push's Windows run, a red run going back to the implementer; an implementer whose ticket has Windows-only rows pushes its ticket branch, Daniel approving, and shows them red then green there, Q41).
Acceptance criteria
-
npm run check:windowspasses on the Mac. - Both legs of
windows.ymlare green on the PR, and the run's test count is in the PR beside the macOS count. - The PR lists every gated test with its reason.
-
log-writers-hold-the-log-lock's tests run on Windows unchanged. - A push to
mainuploads bothplotkeeper-windows-x64andplotkeeper-windows-arm64(checked after merge; Gate A needs them). - A push to a draft PR's
issue-*branch starts one Windows run; a push to a readyissue-*PR starts one, not two. - On Windows, the answer hook answers nothing, and the server ends no session by pid.
- The docs say what this ticket's description lists.
-
npm run checkpasses.
Reading
- Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936: the spec. Its Implementation Decisions and Testing Decisions settle the design; its "Made without Daniel" points to the grilling's decisions (Q10–Q41).
- Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936, "CI and the local check", "Tests' Unix habit", "Refusals": the job, the gating, the arms.
docs/agents/ticket-authoring.md, "Checks that need CI": why this is its own PR.docs/studio/research/windows.md: the platform facts (D1–D10) and CI spike results this phase rests on.local-evidence/2026-11-30-windows-port-grilling/(Daniel's machine):spike2/RESULTS.mdand the site reports inreports/behind every figure in Spec: Windows Phase 1 — Claude Code recorded on native Windows, x64 and arm64 #936.
Touches
- Files: new
.github/workflows/windows.yml,package.json,workbench/src/run.rs,workbench/src/lib.rs,hook/src/main.rs,hook/src/lib.rs,hook/src/answer.rs,hook/src/sys.rs,server/src/runner.rs,server/src/switchboard.rs,server/src/lock.rs,server/src/bin/plotkeeper-run.rs,server/examples/sandbox_gate.rs,hook/tests/,server/tests/,workbench/tests/,core/tests/,AGENTS.md,docs/studio/development.md,docs/agents/issue-tracker.md - Session: auto mode
- Route: strong · effort high — concurrency in the interim runner arm and the trust boundary of the answer hook's refusal; a new CI job whose first runs are untested edge cases
Activity
Windows: agy's fixture paths in forward slashes, docs, nextest report…
WIP: Windows triage round, nextest without fail-fast (#938)
WIP: triage step in bash (#938)
Windows: ignore the 65 tests that fail there on path spellings, the m…
test-support: a fake placed by another call while it runs is used, no…
RED DEMO: break the three Windows arms for a moment (#938), reverted …
RED DEMO: only the answer refusal off (#938), reverted next
Answer tests: a passed-on call says nothing on stderr either (#938)
Windows: the answer refusal back, the job on npm run check:rust (#938)
Review fixes: the launcher section says why it is Unix-only, the swit…
Studio: Windows builds — the workspace compiles, tests gated, the Win…