Interceptor LaunchTestProfile.sh: no Windows (Git Bash/MSYS) branch, test profile never launches

Open Beginner friendly
#3,150 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 5 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
84/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
bash, shell
Domain
cli, tooling

Research direction

Read skills/Interceptor/Tools/LaunchTestProfile.sh around line 113, then compare its existing Darwin and Linux branches and the documented Windows repro. Run the isolated probe from the issue under Git Bash or MSYS, then check that it exits successfully with the configured browser binary; done means Windows launches the requested test profile with the stated arguments.

Written by the indexing model from the issue text.

Description

Version

LifeOS 8.761.0 · attestation: unattested (could not extract v8.761.0: tar (child): Cannot connect to C: resolve failed

gzip: stdin: unexpected end of file
tar: Child returned status 128
tar: Error is not recoverable: exiting now)

What is broken

On Windows (Git Bash / MSYS2, which the Interceptor preflight scripts run under), LaunchTestProfile.sh only has Darwin and Linux branches in its uname -s case, so uname reporting MINGW64_NT-* falls through to "unsupported OS" and exits 1. EnsureTestProfile.sh then reports that it failed to launch the test profile and exits 5, so every browser intent fails its gate whenever the test window is not already open. This happens even though upstream Interceptor ships signed Windows installers (2.1.17) and the CLI, daemon and extension all work there.

Where (file:line)

skills/Interceptor/Tools/LaunchTestProfile.sh:113

Repro on a clean tree
1. On Windows 11 with Git Bash, install Interceptor 2.1.17 (`Interceptor-Browser-2.1.17-windows-x64.exe`) and set up preferences.env and the test profile per Setup.md.
2. Close the test-profile Chrome window.
3. Run `bash skills/Interceptor/Tools/EnsureTestProfile.sh`. It prints `LaunchTestProfile.sh failed to launch "Profile N"` and exits 5.
4. Isolated probe (no browser opened): `CLAUDE_CONFIG_DIR=no-such-config INTERCEPTOR_TEST_CHROME_PROFILE="Profile 9" INTERCEPTOR_TEST_BROWSER_BIN=true bash skills/Interceptor/Tools/LaunchTestProfile.sh` gives exit 1, `unsupported OS MINGW64_NT-10.0-26200`.
Negative control

Probe: CLAUDE_CONFIG_DIR=no-such-config INTERCEPTOR_TEST_CHROME_PROFILE="Profile 9" INTERCEPTOR_TEST_BROWSER_BIN=true bash skills/Interceptor/Tools/LaunchTestProfile.sh · exit 1 · captured 2026-12-03T01:53:12.021Z

Red looks like: unsupported OS MINGW64_NT

LaunchTestProfile.sh: unsupported OS MINGW64_NT-10.0-26200
Suggested fix

Add a MINGW*|MSYS*|CYGWIN* branch that calls chrome.exe directly (honoring INTERCEPTOR_TEST_BROWSER_BIN, defaulting to the standard Program Files path) with the same --profile-directory/--new-window args, backgrounded like the Darwin and Linux branches. Chrome's process singleton forwards the args to a running instance. Verified: the probe goes to exit 0, and with the test window closed, EnsureTestProfile.sh relaunched it and printed READY. Separately, Report.ts attest fails on Windows because tar reads C: as a remote host (it needs --force-local); that's not in this diff.

--- a/skills/Interceptor/Tools/LaunchTestProfile.sh
+++ b/skills/Interceptor/Tools/LaunchTestProfile.sh
@@ -110,6 +110,16 @@
             "$START_URL" >/dev/null 2>&1 &
         exit 0
         ;;
+    MINGW*|MSYS*|CYGWIN*)
+        # Windows under Git Bash / MSYS: chrome.exe forwards args to a running
+        # instance via its process singleton, same as the Darwin direct-binary path.
+        CHROME_BIN="${INTERCEPTOR_TEST_BROWSER_BIN:-/c/Program Files/Google/Chrome/Application/chrome.exe}"
+        "$CHROME_BIN" \
+            --profile-directory="$CHROME_PROFILE" \
+            --new-window ${WIN_ARGS[@]+"${WIN_ARGS[@]}"} \
+            "$START_URL" >/dev/null 2>&1 &
+        exit 0
+        ;;
     *)
         echo "LaunchTestProfile.sh: unsupported OS $(uname -s)" >&2
         exit 1
Verified after fix

Probe: CLAUDE_CONFIG_DIR=no-such-config INTERCEPTOR_TEST_CHROME_PROFILE="Profile 9" INTERCEPTOR_TEST_BROWSER_BIN=true bash skills/Interceptor/Tools/LaunchTestProfile.sh · exit 0 · captured 2026-12-03T01:53:12.676Z

(no output)
Environment
  • OS: Windows (x64)
  • Harness: claude-code
  • bun: not found · git: not found
  • Doctor broken: interceptor, imagemagick
Dominant language
TypeScript
Stars
20.7k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from danielmiessler/LifeOS

All issues in danielmiessler/LifeOS

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.