Repository navigation
Description
Summary
Every browsing skill starts with the BROWSER SETUP block from {{ASIDE_SETUP}} and runs the Aside readiness probe before any browser step. Aside only ships for macOS 15+, so on Linux and Windows command -v aside always misses, the block always prints NEEDS_ASIDE, and the skill always continues into the Browser fallback section and drives $B.
That ending is correct, so this isn't a bug report. The ask is smaller: let the probe check the platform first, so a Linux or Windows host picks the fallback browser directly instead of getting there by way of a check that only makes sense on a Mac.
What happens today
scripts/resolvers/aside.ts:76-86 renders the probe with no platform condition:
if [ "${GSTACK_SKIP_ASIDE:-}" = "1" ] || ! command -v aside >/dev/null 2>&1; then
echo "NEEDS_ASIDE"
elif $_T aside repl 'console.log("ASIDE_READY " + pwd)' 2>&1 | grep -q '^ASIDE_READY'; then
echo "READY: aside $(aside --version 2>/dev/null)"
else
echo "ASIDE_NOT_RUNNING"
fiThe platform does get checked, just one step later. Line 88, handling the NEEDS_ASIDE result:
NEEDS_ASIDE: ifuname -sprintsDarwin, tell the user once — "gstack works best with the Aside browser (macOS 15+) [...]". Off macOS, do not pitch it.
So uname -s decides whether to pitch the download, but not whether to run the probe in the first place.
probeAside() in lib/aside-render.ts:74-92 has the same shape. It checks GSTACK_SKIP_ASIDE, spawns aside --version, then aside repl, with no process.platform check anywhere.
What I see on Linux
gstack 1.84.1.0, the BROWSER SETUP snippet from browse/SKILL.md pasted verbatim:
$ uname -s
Linux
$ <BROWSER SETUP snippet>
NEEDS_ASIDE
$ command -v aside
(nothing; Aside has no Linux build)
Same output on every run.
Why bother
command -v fails fast, so there is no measurable time in this. What it costs is instruction budget and a transcript that reads wrong:
- The block is rendered into 20 skills:
benchmark browse canary cso design-consultation design-review devex-review investigate land-and-deploy office-hours plan-ceo-review plan-devex-review plan-eng-review qa qa-only review scrape setup-deploy ship spec. Each browsing run on Linux or Windows spends a bash call on a question whose answer cannot change. - The
ASIDE_NOT_RUNNINGbranch tells the agent to ask the user to open the Aside app and re-run. That can never apply off macOS, but it sits in the context every time. NEEDS_ASIDEfollowed by a fallback reads as though something is missing from the machine. On Linux nothing is missing; the fallback is the only path there is.
GSTACK_SKIP_ASIDE=1 already produces the behaviour I want, but you have to know it exists and set it in every environment. A platform check would cover the one case where skipping is never the wrong call.
Proposal
Check the platform in both places and leave the macOS path alone.
generateAsideSetup in scripts/resolvers/aside.ts:
if [ "$(uname -s)" != "Darwin" ] || [ "${GSTACK_SKIP_ASIDE:-}" = "1" ] || ! command -v aside >/dev/null 2>&1; then
echo "NEEDS_ASIDE"
elif ...probeAside in lib/aside-render.ts, before the first spawn:
if (process.platform !== 'darwin') {
return { ok: false, reason: 'NEEDS_ASIDE', detail: 'Aside is macOS 15+ only; using the bundled browser' };
}On macOS nothing changes: Aside first, READY and ASIDE_NOT_RUNNING both still reachable, and the zsh fix in #2824 / #2854 lands on top of this without conflict. On Linux and Windows the skill goes to $B directly, with a reason the user can read. GSTACK_SKIP_ASIDE=1 keeps working as the manual override on macOS.
The NEEDS_ASIDE result name and the fallback contract do not move, so {{BROWSE_FALLBACK}} stays as it is and the detection and never-install sentences pinned by test/aside-driver.test.ts are preserved.
Dropping the Aside contract text entirely from non-macOS renders would save more, since none of it is actionable there, but that is a much bigger change to the generator and I am not asking for it here.
Not the zsh reports
#2842, and PRs #2824 / #2854, cover the opposite situation: Aside installed and running on macOS, probe reporting ASIDE_NOT_RUNNING because $_T is not word-split under zsh. That is a false negative worth fixing. This is about not asking the question on hosts where the answer is fixed. Both changes touch the same block and do not collide.
Happy to send a PR if this shape looks right.
Environment
- gstack 1.84.1.0
- Linux, bash
- Aside not installed (no Linux build exists)
Activity
capy-ai commentedon Oct 11, 2026
Thanks @furkankoykiran for the idea. In the Oct 11 triage we grouped the open feature requests by theme so related asks get built together instead of one at a time. This one is part of the Browser and mobile QA theme in TODOS.md (https://github.com/garrytan/gstack/blob/50d020ad9/TODOS.md#L54-L69). Closing it here so the open list stays actionable; it isn't rejected, and the theme credits every linked reporter when it's picked up.
capy-ai commentedon Oct 25, 2026
Reopened under the
parkedlabel: this is tracked in the Browser and mobile QA theme in TODOS.md (https://github.com/garrytan/gstack/blob/main/TODOS.md#p3-feature-themes-from-the-wave-9-triage-filed-2026-10-11), and what fixes it is a platform check in the Aside readiness probe so Linux and Windows select the fallback browser directly. Closed-but-tracked read as closed, so parked issues now stay open until they ship, are duplicates, or are declined (https://github.com/garrytan/gstack/blob/main/docs/triage.md).capy-ai commentedon Oct 31, 2026
Thanks @furkankoykiran for reporting this. #3734 handles the renderer half: off macOS,
probeAside()inlib/aside-render.ts(used by /make-pdf, /diagram andgstack-render) now answersNEEDS_ASIDE("Aside is macOS-only (this is linux)") without runningaside, and the renderer goes straight to gstack's own browser. macOS behavior andGSTACK_SKIP_ASIDE=1are unchanged.It does not change the bash readiness block inside the browsing skills. That block already prints
NEEDS_ASIDE: Linuxand was left alone on purpose, so this issue stays open for that part. The PR says "Refs #2864", not "Fixes".capy-ai commentedon Oct 31, 2026
Thanks for reporting this, @furkankoykiran. Following up on the note above: we decided not to land #3734 after all. The probe takes an instant, and on Linux and Windows the skills already print
NEEDS_ASIDEand use gstack's own browser, so nobody would notice the change. Closing as not planned.v1.92.19.0 Skip the Aside probe off macOS so Linux and Windows render…
capy-ai commentedon Nov 1, 2026
Fixed in #3734, released in v1.92.19.0: off macOS, /make-pdf, /diagram and
gstack-rendergo straight to gstack's own browser without starting an Aside probe. This was closed as not planned earlier; that decision was reversed and the fix landed. Thanks for the report.