Skip to content

Windows: bun-shebang bins and gstack-wtree still fail with MSYS_NO_PATHCONV=1 (follow-up to #3415) #3468

Closed as not planned

Description

@Simba3696

What happens

#3431 (v1.91.227.0) made the shell bins pass NUL as Bun's empty config when MSYS path conversion is off. The bins that start through a Bun shebang still hard-code /dev/null:

#!/usr/bin/env -S bun --no-env-file --config=/dev/null

With MSYS_NO_PATHCONV=1 exported in Git Bash (common when calling docker or wsl), Bun gets the literal path and every one of them fails before running:

$ MSYS_NO_PATHCONV=1 ~/.claude/skills/gstack/bin/gstack-evidence check --label tests --expect-cmd x
EINVAL: Invalid argument (open())
while reading config "/dev/null"

On gstack 1.91.239.0, 65 files in bin/ have that shebang, including gstack-evidence and gstack-gate-diff, which /ship runs. Same result for gstack-gate-diff --help (exit 1).

gstack-wtree fails the same way for a different reason: it creates its temporary index with mktemp "${TMPDIR:-/tmp}/gstack-wtree-XXXXXX" and hands that /tmp/... path to Git for Windows, which can't open it without the conversion:

gstack-wtree: cannot stage the working tree: fatal: Unable to create '/tmp/gstack-wtree-Gc5De8.lock': No such file or directory

gstack-review-log calls gstack-wtree, so review records fail too (exit 2).

Environment

Windows 11 (10.0.26300), Git Bash, Git 2.54.0.windows.1, Bun 1.4.2, gstack 1.91.239.0.

Suggested direction

Activity

  1. added
    S3
    on Oct 31, 2026
  2. added 2 commits that reference this issue on Oct 31, 2026
  3. capy-ai commented on Nov 1, 2026

    @capy-ai
    Contributor

    Thanks for the careful report. We've now set support tiers for gstack (docs/support-tiers.md, added in #3812). Windows gets minimal support: with a default Git for Windows install, ./setup installs and the core skills (/ship, /review, /qa-only, /investigate, and /browse on gstack's own browser) start without errors. Windows-only reports that don't break install, startup or one of those workflows close as won't fix.

    This one only happens with MSYS_NO_PATHCONV=1 exported in the shell. A default Git Bash setup doesn't set it, and the core skills work there. So we're closing this as won't fix under that policy. If you hit a case where it does break install, startup or a core workflow on a default setup, please reopen with the steps and we'll take a look.

  4. added
    wontfix
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    S3wontfix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions