Repository navigation
Done
Labels
Description
Parent
What to build
plotkeeper starts on Windows, opens the page and keeps its data where Windows programs do. Its own non-draft PR to main after 01, before /implement-spec; Gate A downloads the binaries its merge uploads.
data_dir(home)andruns_dirgain a Windows arm,home\AppData\Local\plotkeeper.- Every binary name built or matched adds
EXE_SUFFIX:HOOK_BINARIESand its users, the hook copies, the hook's own-path check. - The answer nonce and the page token take
getrandomon every platform. - The
mode(0o600)/mode(0o700)calls becomecfg(unix); on Windows files inherit the profile's ACL. - The browser opener calls
ShellExecuteWwith the URL (notcmd /c start, whose%expansion meets the percent-encoded project fragment). windows-sysbecomes a Windows-only dependency of the hook and the server with every feature Phase 1 needs (opener, Toolhelp, process times, security and file flags), so later tickets leave the manifests alone.docs/studio/research/windows.mdgains spike round 2 (fromlocal-evidence/2026-11-30-windows-port-grilling/spike2/RESULTS.md), corrects its Codex reading (hooks run through the session's shell, PowerShell on the runner) and updates its site counts.
Acceptance criteria
-
hook/tests/data_folder.rsgains Windows rows for the data folder and runs on the Windows job. - A test row checks the hook copies are found and made under
.exenames on Windows. - The page token and nonce come from
getrandom; no code reads/dev/urandom. -
docs/studio/behaviour/storage.mdnames the Windows data folder. -
windows.mdholds round 2's durable figures and the Codex correction. - Both Windows legs are green on 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, "Building, starting and stopping".
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:
hook/src/lib.rs,hook/src/answer.rs,hook/Cargo.toml,server/src/web.rs,server/src/lock.rs,server/src/hook_copies.rs,server/src/bin/plotkeeper.rs,server/Cargo.toml,hook/tests/data_folder.rs,docs/studio/research/windows.md,docs/studio/behaviour/storage.md - Session: auto mode
- Route: strong · effort high — persistence (the data folder's place, fixed for every later phase) and the trust boundary of the answer nonce
Activity
Windows bare start: .exe hook names, OS random bytes, the ShellExecut…
Review fixes: the opener waits through SEE_MASK_NOASYNC, HOOK_BINARIE…
Studio: Windows — a bare start: .exe names, OS random bytes, the brow…