Repository navigation
Backlog
Labels
Description
Parent
What to build
The Windows job runs a real Claude Code session and fails if it isn't recorded with its files and project, so a hook that silently stops running is caught on every PR.
- A Rust test that runs when
PLOTKEEPER_E2E_CLAUDEis set, and fails ifclaude.exeis then missing. It serves a stand-in Anthropic Messages API from inside the test (a process from another CI step is gone), runsplotkeeper install --yesin a scratch home, thenclaude -pwithANTHROPIC_BASE_URLat the stand-in and--allowedTools Write; the stand-in asks for oneWriteof a file in a scratch repository, then ends the turn. - If
claude plugin installcannot work offline in CI, the test passes the rendered hooks through--settingsand its doc comment says so. windows.ymlinstalls Claude Code's native build and sets the variable.
Acceptance criteria
- The log holds SessionStart, UserPromptSubmit, Stop and SessionEnd from
plotkeeper-hook.exewithclaude.exeas the agent. - The core reads one turn whose files are that file and whose project is the scratch repository.
- Without the variable the test is skipped on macOS and Linux.
- 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 indocs/agents/issue-tracker.mdonce 01 lands). Both run links are in the PR. -
npm run checkandnpm run check:windowspass.
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, Testing Decisions (End to end).
local-evidence/2026-11-30-windows-port-grilling/spike2/(Daniel's machine):hooks.ps1andmock-llm.mjs, the shape that worked.
Touches
- Files: new
server/tests/e2e_claude.rs,.github/workflows/windows.yml - Session: auto mode
- Route: medium · effort medium — one test and one workflow step, run only in the Windows job
Activity