Sandbox
A safe testing space where prompts run on a sandbox branch without affecting your main code. Promote to live or discard the whole session.
What it is
Sandbox Mode lets you queue prompts to a sandbox branch instead of your main code. Each session runs as a series of prompts in an isolated worktree. When done, you can review the cumulative diff, then either Promote (merge to main) or Discard (throw it all away, no cleanup needed). Useful for risky changes you want to test before committing.
When you would use it
You use Sandbox Mode when you want to try something risky, are unsure if a prompt will work well, or want to batch several related changes for a single review-and-promote cycle.
Common operations
- Trying experimental refactors safely
- Running prompts that might break things, with guaranteed rollback
- Testing AI-generated code in isolation before promotion
Related terms
Where this is taught
No learning path uses this term yet. Browse the Learning Atlas for guided sequences through related ideas.