Repository navigation
feat(sandbox): Share previews of browser-facing work without being asked - #2835
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
7 screenshot changes — 7 changed · 0 added · 0 removed Review screenshots in Frameshift |
betegon
marked this pull request as ready for review
November 6, 2026 20:30
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 42a9b7d. Configure here.
betegon
approved these changes
Nov 6, 2026
Tell Junior to check the running server before it starts another one, so the person can refresh the same preview URL after more edits. Co-Authored-By: bete <[email protected]>
The createPreview description now says to share a preview after building or changing something a person can open in a browser, and that the URL for a port stays the same while the sandbox runs. A coding eval checks that Junior shares a preview URL after it edits a web page, without being asked. Co-Authored-By: bete <[email protected]>
The old case asked for a one-line edit through the coding fixture skill, which tells the agent to make only the requested change. Ask for a new page with no fixture instead, as a person would. Co-Authored-By: bete <[email protected]>
… states Co-Authored-By: bete <[email protected]>
Co-Authored-By: bete <[email protected]>
sentry-junior
Bot
force-pushed
the
feat/preview-reuse-server
branch
from
November 8, 2026 19:03
535f330 to
ac36c94
Compare
23 tasks done
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

After Junior builds or changes something that a person can open in a browser, in any project, it now shares a preview URL without being asked. Today you have to ask for the link.
Changes
createPreviewdescription says when to call it: after building or changing something a person can open in a browser, such as a web page or app. It also says that the URL for a port stays the same while the sandbox runs, so after more edits Junior can point to the URL it already sent. Perpolicies/agent-steering.md, a rule about when to call one tool goes in that tool's description, not in the system prompt.junior-qa: on later Turns, check the runningpnpm devwithcurlfirst. If it returns 200, keep the server and tell the person to refresh the same URL. Start it again only when it has stopped.createPreviewran and a reply contains the returned URL.Eval history
coding-workspace-fixture. That skill says "make only the requested change", and Junior edited the line and stopped. That tested the fixture skill, not the preview rule, so the case now asks for a new page with no fixture.createPreviewwith port 8080, and replied with the link and the file. No system prompt change was needed.Cost: a preview adds no sandbox lifetime, and
createPreviewneeds no approval. Sharing a preview without being asked costs one tool call.Verification
pnpm skills:checkpasses, and the evals package typechecks.via @betegon.
--
View Session in Sentry