Skip to content

Windows native port (PowerShell installer + patched hooks + Task Scheduler)#6

Open
HamoudeFakhoury01 wants to merge 1 commit into
BrainInBox:masterfrom
HamoudeFakhoury01:windows-port
Open

Windows native port (PowerShell installer + patched hooks + Task Scheduler)#6
HamoudeFakhoury01 wants to merge 1 commit into
BrainInBox:masterfrom
HamoudeFakhoury01:windows-port

Conversation

@HamoudeFakhoury01

Copy link
Copy Markdown

Windows-native port of brain-in-a-box (was macOS-only).

What it adds (new windows/ folder):

  • install.ps1 - idempotent, non-destructive PowerShell installer (port of install.sh)
  • Python hooks patched for Windows: encoding=utf-8 (cp1252 UnicodeDecodeError), tempfile instead of /tmp, %Y-%m-%d instead of %F/%T strftime, Path.home() instead of __HOME__
  • Scheduled tasks (replaces launchd) launched via wscript launchers -> avoids 0xC000013A (CTRL_C) failures of console apps in autonomous/locked Task Scheduler sessions. S4U logon avoided (Access Denied on Windows Home).
  • gbq/gbrain .cmd wrappers (bun link shim is broken on Windows)
  • gbrain-nightly.ps1, set-ze-key.ps1 (masked key entry), CLAUDE.global.windows.md

Verified: parse-checked, reviewed (multi-agent), idempotency tested on a real Windows 11 machine; scheduled task validated in a true locked-session run.

ASCII-only .ps1 (PowerShell 5.1 reads UTF-8-without-BOM as cp1252).

🤖 Generated with Claude Code

…tasks

- install.ps1 : idempotent, non-destructive PowerShell installer
- hooks patched for Windows (utf-8 encoding, tempfile, strftime, Path.home)
- scheduled tasks via wscript launchers (avoids 0xC000013A CTRL_C in
  autonomous/locked sessions; S4U blocked on Windows Home)
- gbq/gbrain .cmd wrappers (bun link shim broken on Windows)
- gbrain-nightly.ps1, set-ze-key.ps1, CLAUDE.global.windows.md

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant