npx skills add ...
npx skills add getsentry/junior --skill vercel-sandbox
npx skills add getsentry/junior --skill vercel-sandbox
Investigate Vercel Sandbox lifecycle, timeout, snapshot, and persistence behavior. Use when users ask about Vercel Sandbox, `@vercel/sandbox`, `Sandbox.create`, `Sandbox.get`, why files disappeared, how snapshots differ from persistence, or whether Vercel's persistent sandbox beta applies.
Investigate Vercel Sandbox using current official docs, installed SDK contracts, and only then any consumer-specific integration code.
Pick the narrowest reference set before answering:
| Request type | Read first |
|---|---|
| SDK/API behavior, lifecycle semantics, snapshots, stable vs beta persistence | references/api-surface.md |
| Product-level usage patterns and architectural choices | references/common-use-cases.md |
| Broken behavior, confusing docs, missing files, or suspected persistence bugs | references/troubleshooting-workarounds.md |
If the task spans categories, load only the relevant files above.
@vercel/sandbox version and local types before trusting any doc page or changelog.sandboxId, Sandbox.get({ sandboxId }), extendTimeout, and snapshot-backed source, treat the runtime as stable 1.x ephemeral sandboxes.name, persistent, session updates, or automatic resume after stop, treat the runtime as the persistent beta model.Sandbox.get({ sandboxId }) only helps while the sandbox is still alive.sandbox.snapshot() is not workspace durability. It creates a new snapshot artifact and stops the source sandbox.@vercel/sandbox typesFor repo-local debugging in Junior, inspect:
packages/junior/src/chat/config.tspackages/junior/src/chat/app/production.tspackages/junior/src/chat/runtime/thread-state.tspackages/junior/src/chat/runtime/turn-preparation.tspackages/junior/src/chat/sandbox/session.tspackages/junior/src/chat/agent/index.tspackages/junior/src/chat/agent/resume.tspackages/junior/src/chat/runtime/agent-continue-runner.tspackages/junior/src/chat/runtime/reply-executor.tspackages/junior/src/chat/sandbox/README.mdChoose the narrowest fix that matches the diagnosed failure mode:
Default report structure:
stable-ephemeral or persistent-beta