Skip to content

v1.92.19.0 Skip the Aside probe off macOS so Linux and Windows render through gstack's own browser (#2864) - #3734

Merged
capy-ai[bot] merged 5 commits into
mainfrom
gsta214/b
Nov 1, 2026
Merged

capy-ai[bot] merged 5 commits into
mainfrom
gsta214/b

Conversation

@garrytan

@garrytan garrytan commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3734,
  "head": "de1556fec728495f845988dc5df0535b181ddf8d",
  "version": "1.91.378.0",
  "base": "main",
  "gate": {
    "typecheck": {
      "pass": 1,
      "fail": 0,
      "skip": 0
    },
    "focused": {
      "pass": 184,
      "fail": 0,
      "skip": 5
    }
  },
  "session_kind": "unattended",
  "head_tree": "1172abd22f6af4be241387e88d4884e3b76e6c82",
  "product_patch_id": "9b1fb9554e9708d0411b3d41f204447ae92239a0",
  "gstack_version": "1.91.378.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 7,
    "rules": "150435b0a543019a",
    "base": "71acd83aa68fd8fd45b09ab4d63098b63d04cc16",
    "registry": "71acd83aa68fd8fd45b09ab4d63098b63d04cc16",
    "gate_scan": {
      "tagged": 0,
      "head": "de1556fec728495f845988dc5df0535b181ddf8d"
    },
    "reasons": [
      "runtime=7<=50"
    ]
  },
  "pregate": "requires-remote cleared @1172abd22f6a (1 checks, current for de1556fec728)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41276592152/job/124760005436",
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/41276592117",
    "pregate.json/remote_gate: remote-gate tree=1172abd22f6a tests=5066"
  ],
  "issues": {
    "fixes": [],
    "refs": [
      2864
    ],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, AGENTS.md, CLAUDE.md, CONTRIBUTING.md (plus BROWSER.md and ARCHITECTURE.md read by the auditor)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 2,
    "deferred": 1,
    "noted": 1,
    "fixed": 1,
    "scope": "frozen",
    "fix_checks": 2,
    "dispatches": {
      "specialist": 1
    }
  },
  "carry": {
    "from": "8f9f3020b706b924904e1d4971675d4b83239207",
    "reason": "base merge + release metadata",
    "product_patch_id": "9b1fb9554e9708d0411b3d41f204447ae92239a0",
    "changed_paths": [
      "product:.github/workflows/free-tests.yml",
      "product:.gstack/ship-policy.json",
      "metadata:CHANGELOG.md",
      "product:TODOS.md",
      "metadata:VERSION",
      "metadata:agents-digest/gstack-AGENTS.md",
      "product:autoplan/SKILL.md.tmpl",
      "product:bin/gstack-doctor-components.sh",
      "product:bin/gstack-eval-plan",
      "product:bin/gstack-ff-update",
      "product:bin/gstack-redact-prepush",
      "product:bin/gstack-review-dispatch",
      "product:bin/gstack-review-plan",
      "product:bin/gstack-session-update",
      "product:bin/gstack-skill-start",
      "product:bin/gstack-upgrade",
      "product:captain/templates/merge-train-peer.md",
      "product:careful/bin/hook-extract.sh",
      "product:design-consultation/SKILL.md.tmpl",
      "product:design-html/SKILL.md",
      "product:design-html/SKILL.md.tmpl",
      "product:design-review/SKILL.md.tmpl",
      "product:design-shotgun/SKILL.md.tmpl",
      "product:design/scripts/live-gemini-check.ts",
      "product:design/src/auth.ts",
      "product:design/src/check.ts",
      "product:design/src/cli.ts",
      "product:design/src/commands.ts",
      "product:design/src/design-to-code.ts",
      "product:design/src/diff.ts",
      "product:design/src/evolve.ts",
      "product:design/src/generate.ts",
      "product:design/src/iterate.ts",
      "product:design/src/memory.ts",
      "product:design/src/models.ts",
      "product:design/src/provider.ts",
      "product:design/src/receipted-fetch.ts",
      "product:design/src/session.ts",
      "product:design/src/variants.ts",
      "test:design/test/cli-persistence.test.ts",
      "test:design/test/gemini-provider.test.ts",
      "product:devex-review/SKILL.md.tmpl",
      "product:docs/CONTRIBUTOR_REFERENCE.md",
      "product:docs/TESTING_INTERNALS.md",
      "product:docs/captain.md",
      "product:docs/hosts.md",
      "product:docs/pregate.md",
      "product:docs/proactive.md",
      "product:docs/review-policy.md",
      "product:docs/ship-policy.md"
    ],
    "merge_commits": 1,
    "range_diff": "1:  1c7126d = 1:  1c7126d aside-render: probeAside answers NEEDS_ASIDE off macOS without spawning (#2864)\n2:  c84bbd7 = 2:  c84bbd7 fix: pre-landing review fixes\n3:  8f9f302 = 3:  8f9f302 fix: off-macOS probe detail no longer claims gstack's browser is in use",
    "covers": [
      "pre-landing review",
      "adversarial review",
      "gate integrity",
      "documentation audit"
    ],
    "reruns": [
      "CI at head (gstack-ship-queue ready requires it); test and helper code changed since the reviewed head runs there unreviewed"
    ],
    "ancestry": "linear",
    "trees": [
      "11b2548c590b857568e9983ec04575ae91331e0c"
    ]
  }
}

What changed

probeAside() on Linux: before, it ran aside and told you to install a Mac-only browser; after, it answers NEEDS_ASIDE without spawning and names the platform

probeAside() on Linux: before, it ran aside and told you to install a Mac-only browser; after, it answers NEEDS_ASIDE without spawning and names the platform.

Before/after as text
--- Before · probeAside() on Linux, no aside on PATH
+++ After · same machine, this branch
 {
   "ok": false,
   "reason": "NEEDS_ASIDE",
-  "detail": "the `aside` CLI is not on PATH — install the Aside browser (macOS 15+) from aside.com"
+  "detail": "Aside is macOS-only (this is linux)"
 }

Why

#2864 asked to skip the Aside probe on Linux and Windows. Aside only ships for macOS, but probeAside() in lib/aside-render.ts still ran aside --version everywhere and, when it failed, told Linux users to install it. Now /make-pdf, /diagram and gstack-render go straight to gstack's own browser off macOS without starting a process.

Blast radius

probeAside() has one production caller, pickEngine() (lib/aside-render.ts:671), used by bin/gstack-render.ts, make-pdf/src/setup.ts, make-pdf/src/orchestrator.ts and lib/design-lint/render.ts. They all branch on probe.ok and reason, and the reason stays NEEDS_ASIDE, so the fallback to gstack's browser is the same as when aside was missing from PATH (file:line read, plus the focused suites ran). No caller passes a second argument, and test/helpers/aside-available.ts calls it with none. macOS keeps the old path because platform defaults to process.platform. The bash readiness block in the skills is deliberately unchanged (it already prints NEEDS_ASIDE: Linux), so #2864 stays open for that part.

Security read: no network calls, no new environment reads, no permission or workflow changes and no new dependency. No outside contributor code was ported.

Behavior changes

  • Off macOS (process.platform !== 'darwin'), probeAside() returns { ok: false, reason: 'NEEDS_ASIDE', detail: 'Aside is macOS-only (this is <platform>)' } and never runs aside, even when an aside binary is on PATH.
  • GSTACK_SKIP_ASIDE=1 still wins over the platform check, and macOS behavior is unchanged.
  • probeAside(timeoutMs, platform) takes an optional platform (default process.platform), which the tests use.
  • make-pdf's CLI case "Aside answers the probe but cannot run the script" now runs only on macOS, where that path still exists. A new Linux/Windows case checks that an aside on PATH is never asked.

Approvals

Date Asked Exact words Outcome Covers Still pending
2026-10-31 Approve the plan "Small feature requests from the 2026-10-31 cleanup (GST-531)" (autoplan run autoplan-20261031175328, 11 decisions; revised plan carried at gate_rev 2) “Do it” (Garry Tan, relayed by agent:jam_01M69H8PKK07YCHT6WCQ9G87ZK) approved the reviewed plan, every recommendation taken none

Summary

On Linux and Windows the renderer used to probe for Aside, a macOS-only browser, and its failure text pointed users at aside.com. The probe now answers before it spawns anything off macOS. Review also fixed two things. An existing make-pdf CLI test assumed the probe always ran on Linux CI, and the first draft of the new detail text said "using gstack's own browser" even when that browser was the thing missing.

Test Coverage

Each changed runtime file has a changed test naming it (Coverage: deterministic). New cases: test/aside-render.test.ts runs the fake-CLI probe suite with platform: 'darwin' and adds linux/win32 cases that assert the detail and that the fake CLI is never invoked, plus a GSTACK_SKIP_ASIDE precedence case. make-pdf/test/cli-exit-codes.test.ts adds an off-macOS CLI case.

Regression proof for the new CLI case: it fails at origin/main 3bfe566 (12 pass, 1 skip, 1 fail) and passes on this branch (13 pass, 1 skip, 0 fail).

Tests ran: typecheck count unavailable
Tests ran: focused 184

Pre-Landing Review

Pass 1 (batched specialist: testing, security, state-machines, red-team): no findings. Core checklist found one blocker: the new early return made make-pdf/test/cli-exit-codes.test.ts "Aside answers the probe but cannot run the script" fail on Linux. Reproduced at 1c7126d; passes at 3bfe566. Fixed in c84bbd7. Fix-check: clean, with one informational note. The Step 11 native adversarial pass flagged the probe detail's "; using gstack's own browser" as contradicting the no-browser error. That was this PR's own new text, fixed in 8f9f302. Second fix-check: no findings. A native adversarial rerun on the final tree found nothing blocking.

REVIEW_LOOP: passes=1 blocking_found=2 deferred=1 noted=1 fixed=1 scope=frozen fix_checks=2 dispatches=1

Gate edits: none detected (GATE_SCAN: tagged=0)

Outside review (openai/gpt-6.1-sol): no findings meeting the blocking threshold.

Deferred findings

Blocking findings in code this PR did not change (review scope: frozen); filed as issues and not closed by this PR.

Review notes

Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.

  • INFORMATIONAL make-pdf/test/cli-exit-codes.test.ts:320 testing

Exploratory QA

No browser or UI surface changed. The behavior was exercised through the real CLI (make-pdf generate with a fake aside on PATH and a fake browse binary) and the probe was called directly at the base and on this branch for the before/after above.

Design Review

No frontend files changed, so design review was skipped.

Eval Results

No prompt-related files changed, so evals were skipped.

Scope Drift

Scope Check: CLEAN. Intent: skip the Aside probe off macOS (#2864, narrowed in the approved plan to probeAside() only). Delivered: that change, its tests, and the review fix to the one make-pdf CLI test that assumed the probe always ran.

Plan Completion

Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). The approved plan is autoplan run autoplan-20261031175328 (see Approvals).

Issues

Refs #2864

TODOS

No TODO items completed in this PR.

Documentation

Status: current. No documentation edits were needed and there are no blockers.

Scope: branch gsta214/b, base 3bfe566, head 8f9f302. Four files changed: lib/aside-render.ts, changelog.d/gsta214-b.md, test/aside-render.test.ts and make-pdf/test/cli-exit-codes.test.ts. Nothing was staged or unstaged. Mode read-only, Steps 1, 1.5, 2–4 and 6.

Documentation health:
README.md Current (off-macOS Aside statements still accurate)
ARCHITECTURE.md Current (probe fallback description still accurate)
CONTRIBUTING.md Current (Aside test self-skip notes unaffected)
CHANGELOG.md Skipped (not modified; out of this audit's steps)
BROWSER.md Current (NEEDS_ASIDE row and probeAside description still accurate)
AGENTS.md Current (platform support matches)
docs/troubleshooting.md Current
docs/BROWSER_INTERNALS.md Current
docs/howto-diagrams-and-formats.md Current
changelog.d/gsta214-b.md Current (factual, voice acceptable)

Coverage debt: none new. The only added surface is the internal platform parameter of probeAside, which no doc describes.

Diagram drift: none. ARCHITECTURE.md describes the probe behavior at a level this change keeps true.

Test plan

  • bun run typecheck: pass
  • bun test test/aside-render.test.ts test/aside-driver.test.ts test/aside-probe-shell.test.ts make-pdf/test/cli-exit-codes.test.ts: 184 tests, 0 fail (at 8f9f302)
  • Remote pregate on Ubicloud (UBI_OWNER=gsta214 gstack-pregate --stage tests --remote): tree 11b2548, 5020 tests, 0 failed, $0.05
  • New off-macOS CLI case fails at origin/main 3bfe566 and passes here

garrytan and others added 3 commits October 31, 2026 18:32
…ng (#2864)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@capy-ai

capy-ai Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Closing as not planned: on the 2026-10-31 build-or-close list, Garry decided few people would see a difference from this change. The branch stays in case we come back to it.

@capy-ai capy-ai Bot closed this Oct 31, 2026
@capy-ai capy-ai Bot reopened this Nov 1, 2026
@github-actions github-actions Bot changed the title Skip the Aside probe off macOS so Linux and Windows render through gstack's own browser (#2864) v1.92.19.0 Skip the Aside probe off macOS so Linux and Windows render through gstack's own browser (#2864) Nov 1, 2026
@capy-ai
capy-ai Bot merged commit dcc1c51 into main Nov 1, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant