From 262ed021037d5b189931f143157d77df2a76bb43 Mon Sep 17 00:00:00 2001 From: arimu1 <19286898+arimu1@users.noreply.github.com> Date: Sun, 19 Jul 2026 06:15:54 +0700 Subject: [PATCH] docs(brainstorming): correct Copilot CLI backgrounding guidance for Windows --- skills/brainstorming/visual-companion.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/skills/brainstorming/visual-companion.md b/skills/brainstorming/visual-companion.md index 906c9ac8..c145e643 100644 --- a/skills/brainstorming/visual-companion.md +++ b/skills/brainstorming/visual-companion.md @@ -83,10 +83,11 @@ scripts/start-server.sh --project-dir /path/to/project --open --foreground **Copilot CLI:** ```bash -# Use --foreground and start the server via the bash tool with mode: "async" -# so the process survives across turns. Capture the returned shellId for -# read_bash / stop_bash if you need to interact with it later. -scripts/start-server.sh --project-dir /path/to/project --open --foreground +# Start it with Copilot CLI's non-blocking/background shell mechanism so the +# server survives across turns. Keep --foreground so the harness, not the +# script, owns backgrounding. The launcher is a .sh, so invoke it via bash +# (on Windows, call Git Bash's bash.exe from the PowerShell tool). +bash scripts/start-server.sh --project-dir /path/to/project --open --foreground ``` **Other environments:** The server must keep running in the background across conversation turns. If your environment reaps detached processes, use `--foreground` and launch the command with your platform's background execution mechanism.