codeburn/src/plugins
iamtoruk 673d7f2b21 fix(windows): nine Windows path and process bugs the CLI tests exposed
Making the CLI suite honest on Windows turned up product bugs that
POSIX never reaches:

- plugins: a bare `tar` resolves to Git for Windows' GNU tar, which reads
  a drive letter as a remote host and fails on every absolute path. The
  installer now prefers the bsdtar Windows ships in System32.
- antigravity statusline: the hook command was written with POSIX
  backslash escapes, which cmd.exe does not understand, so the installed
  path was broken for real Windows users.
- act undo: renaming a directory over an existing one raises EPERM on
  Windows, not ENOTEMPTY, so the snapshotted-destination retry never ran.
- parser: a worktree's main repository path was sliced from the
  slash-normalized copy of the gitdir, so it never matched session cwds.
- dashboard: home-relative project labels compared a slash-normalized
  path against an unnormalized homedir(), so no Windows path shortened.
- guard flags: a POSIX-shaped flag path from provider data never matched
  a subdirectory because the boundary check used the host separator only.
- claude desktop sessions: the discovery memo omitted homedir() from its
  key and served the previous home's paths once home moved.
- copilot: a JetBrains file:///C:/... URL kept its URL slash ahead of the
  drive letter, so the project's .git walk never resolved.
- hermes: a state.db written on another platform records that platform's
  path shape, so both absolute forms now count on every host.
2026-09-02 13:43:57 -07:00
..
cli.ts fix(windows): nine Windows path and process bugs the CLI tests exposed 2026-09-02 13:43:57 -07:00
exporter.ts fix(plugins): reject non-regular tar entries before extraction; cap exporter per-call surplus 2026-08-28 06:42:34 -07:00
keys.ts fix(plugins): derive keygen keyId identically to sign; pin release-key ids in tests 2026-08-28 00:35:36 -07:00
loader.ts fix(plugins): codepoint-ordered signature canonicalization; sign fails loudly on unreadable files 2026-08-28 05:52:36 -07:00
manifest.ts fix(plugins): polite one-line errors for plugin commands instead of stack traces 2026-08-28 05:43:18 -07:00