What happened
After upgrading gstack (v0.11.15.0 → v0.11.18.2), the browse binary is missing from browse/dist/. The ./setup script reports success ("gstack ready") but browse commands fail with "no such file or directory".
Root cause
The build script in package.json chains all steps with &&:
bun run gen:skill-docs && bun run gen:skill-docs --host codex && bun build --compile browse/src/cli.ts --outfile browse/dist/browse && ...
If gen:skill-docs fails (e.g. missing Codex host config, or any template error), the entire chain stops — the bun build --compile steps never run. The || true at the end masks the exit code, so ./setup doesn't detect the failure.
The Node server bundle (browse/scripts/build-node-server.sh) runs separately and succeeds, so ./setup prints "Node server bundle ready" and "gstack ready" even though the binary wasn't compiled.
Expected behavior
./setup should either:
- Separate
gen:skill-docs from the compile steps so doc generation failure doesn't block binary compilation
- Or explicitly check for
browse/dist/browse after bun run build and retry just the compile step
Workaround
cd ~/.claude/skills/gstack
bun build --compile browse/src/cli.ts --outfile browse/dist/browse
Environment
- Linux x86_64 (Arch/CachyOS)
- bun 1.3.5
- gstack v0.11.18.2
- Upgraded from v0.11.15.0 via
git reset --hard origin/main && ./setup
What happened
After upgrading gstack (v0.11.15.0 → v0.11.18.2), the
browsebinary is missing frombrowse/dist/. The./setupscript reports success ("gstack ready") but browse commands fail with "no such file or directory".Root cause
The
buildscript inpackage.jsonchains all steps with&&:If
gen:skill-docsfails (e.g. missing Codex host config, or any template error), the entire chain stops — thebun build --compilesteps never run. The|| trueat the end masks the exit code, so./setupdoesn't detect the failure.The Node server bundle (
browse/scripts/build-node-server.sh) runs separately and succeeds, so./setupprints "Node server bundle ready" and "gstack ready" even though the binary wasn't compiled.Expected behavior
./setupshould either:gen:skill-docsfrom the compile steps so doc generation failure doesn't block binary compilationbrowse/dist/browseafterbun run buildand retry just the compile stepWorkaround
Environment
git reset --hard origin/main && ./setup