agent-lib.exe is a console program, so Windows opens a terminal window on every scheduled agent-lib sync run.
Fix
Ship agent-libw.exe in the Windows zip: the same program built with -H=windowsgui, so it opens no window and prints nothing. agent-lib.exe stays the terminal entry point.
Start the PowerShell toast without a window, since agent-libw has no console to inherit.
Document the required task action change in docs/fleet-handoff.md and the README troubleshooting table.
Rollout
After the release, the scheduled task must run agent-libw.exe sync. Tasks still pointing at agent-lib.exe keep showing the window.
Testing
CGO_ENABLED=0 go test ./... passes.
GoReleaser snapshot builds; the Windows zip contains both executables, with PE subsystem 3 (console) for agent-lib.exe and 2 (GUI) for agent-libw.exe.
Not yet tested on real Windows: no window during a task run, and the toast still appears when an item is skipped.
## Problem
`agent-lib.exe` is a console program, so Windows opens a terminal window on every scheduled `agent-lib sync` run.
## Fix
- Ship `agent-libw.exe` in the Windows zip: the same program built with `-H=windowsgui`, so it opens no window and prints nothing. `agent-lib.exe` stays the terminal entry point.
- Start the PowerShell toast without a window, since `agent-libw` has no console to inherit.
- Document the required task action change in `docs/fleet-handoff.md` and the README troubleshooting table.
## Rollout
After the release, the scheduled task must run `agent-libw.exe sync`. Tasks still pointing at `agent-lib.exe` keep showing the window.
## Testing
- `CGO_ENABLED=0 go test ./...` passes.
- GoReleaser snapshot builds; the Windows zip contains both executables, with PE subsystem 3 (console) for `agent-lib.exe` and 2 (GUI) for `agent-libw.exe`.
- Not yet tested on real Windows: no window during a task run, and the toast still appears when an item is skipped.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
agent-lib.exe is a console program, so Windows opens a terminal window on
every scheduled run. Ship agent-libw.exe, the same program built with
-H=windowsgui, in the Windows zip for use in the task action. Start the
PowerShell toast without a window, since agent-libw has no console to
inherit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
agent-lib.exeis a console program, so Windows opens a terminal window on every scheduledagent-lib syncrun.Fix
agent-libw.exein the Windows zip: the same program built with-H=windowsgui, so it opens no window and prints nothing.agent-lib.exestays the terminal entry point.agent-libwhas no console to inherit.docs/fleet-handoff.mdand the README troubleshooting table.Rollout
After the release, the scheduled task must run
agent-libw.exe sync. Tasks still pointing atagent-lib.exekeep showing the window.Testing
CGO_ENABLED=0 go test ./...passes.agent-lib.exeand 2 (GUI) foragent-libw.exe.🤖 Generated with Claude Code