From df760be4d7fb2ceb58a429e49635ea711408787b Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Tue, 24 Nov 2026 09:38:45 -0800 Subject: [PATCH] Aside screenshots and PDFs are no longer lost when the script ends (#4784) (#4786) Screenshots, PDFs and page dumps that browsing skills take in the Aside browser now reach your report folder instead of vanishing. Aside deletes a script's working folder as soon as the script ends and refuses to save anywhere else, so the old "save, then copy it out" step always failed (#4784). Nothing to do: skills pick up the new route on upgrade, and gstack's own fallback browser is unchanged. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/specialist-batched#1 reader=specialist-batched Review-Finding: p1/specialist-batched#2 reader=specialist-batched Review-Finding: p1/specialist-batched#3 reader=specialist-batched --- ARCHITECTURE.md | 6 +- BROWSER.md | 23 ++- benchmark/SKILL.md | 8 +- bin/gstack-aside-repl | 86 +++++++++ browse/SKILL.md | 56 +++--- browse/SKILL.md.tmpl | 18 +- canary/SKILL.md | 23 ++- canary/SKILL.md.tmpl | 15 +- .../aside-screenshots-survive-the-script.md | 6 + design-consultation/SKILL.md | 11 +- design-consultation/SKILL.md.tmpl | 7 +- design-review/SKILL.md | 49 +++-- design-review/SKILL.md.tmpl | 2 +- design-review/sections/build-loop.md | 4 +- design-review/sections/build-loop.md.tmpl | 4 +- design-review/sections/craft-audit.md | 2 +- design-review/sections/craft-audit.md.tmpl | 2 +- design-shotgun/SKILL.md | 7 +- design-shotgun/SKILL.md.tmpl | 7 +- devex-review/SKILL.md | 40 ++--- devex-review/SKILL.md.tmpl | 2 +- docs/skills.md | 5 +- land-and-deploy/sections/canary.md | 23 +-- land-and-deploy/sections/canary.md.tmpl | 15 +- lib/aside-render.ts | 43 ++--- lib/docs-only.ts | 1 + qa/sections/browser-setup.md | 8 +- qa/sections/browser-verify.md | 2 +- qa/sections/browser-verify.md.tmpl | 2 +- qa/sections/qa-patterns.md | 21 ++- scrape/SKILL.md | 8 +- scripts/resolvers/aside.ts | 54 +++--- scripts/resolvers/browse.ts | 4 +- scripts/resolvers/design.ts | 40 ++--- scripts/resolvers/utility.ts | 24 +-- test/aside-artifacts.test.ts | 170 ++++++++++++++++++ test/aside-driver.test.ts | 15 +- test/aside-render.test.ts | 61 ++++--- test/design-review-build-loop.test.ts | 2 +- test/gstack-design-detect.test.ts | 4 +- test/helpers/placeholder-allowlist.ts | 3 +- test/qa-browser-preservation.test.ts | 29 +-- test/skill-e2e-aside.test.ts | 7 +- 43 files changed, 583 insertions(+), 336 deletions(-) create mode 100755 bin/gstack-aside-repl create mode 100644 changelog.d/aside-screenshots-survive-the-script.md create mode 100644 test/aside-artifacts.test.ts diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index bcc549ab5..287122fcf 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -14,13 +14,13 @@ Claude Code Aside (the user's browser, macOS 15+) bash: aside repl '