Fix: Engram Download Fails on Windows (HTTP 404 + PATH issue)
Bug 1: HTTP 404 on Windows 386
Users with 32-bit Go installations got runtime.GOARCH=386, causing the download URL to be engram_X.X.X_windows_386.zip which doesn't exist (engram only publishes amd64 and arm64). Fixed by mapping 386 → amd64 and arm → arm64.
Bug 2: engram not found after download
After downloading the engram binary, subsequent commands (engram setup, engram mcp) couldn't find it because the install directory wasn't in PATH. Fixed by prepending the install directory to the current process PATH immediately after download.
Upgrade
brew upgrade gentle-aiWindows:
irm https://raw.githubusercontent.com/Gentleman-Programming/gentle-ai/main/scripts/install.ps1 | iex