Commit 145e1c1
docs: add Sandbox (Experimental) section with just-bash integration
Adds a new docs section at /docs/sandbox with two pages:
1. Overview — when and why to sandbox gate scripts, what isolation
adds over the built-in require_inside_project confinement.
2. just-bash — step-by-step integration guide for running gate-check
inside Vercel Labs' just-bash virtual bash environment. Includes:
- A complete, tested Node.js wrapper (sandbox/run-gate-check.mjs)
that loads project files into just-bash's in-memory filesystem
- Gates A, B, and F running inside the sandbox
- Config parsing and JSONL output done in JavaScript (Python
WASM is not available in local Node.js)
- Verified compatibility table of which commands work
- Honest limitations: no python3, no git, no shasum, no network
- Clear callout that this adds an npm dependency vs the zero-dep
core scripts
All code examples were tested against just-bash@latest in Node.js.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7222d73 commit 145e1c1
4 files changed
Lines changed: 477 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
0 commit comments