test: add test-sandbox.sh, the Docker Sandboxes field test #125
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/test-sandbox-sh"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds test-sandbox.sh, the Docker Sandboxes counterpart of test-container.sh, closing the last Phase 2 item of design/harness/docker-sandbox-runtime.md. Run on the host from the root of a scratch repository that wraptool up --runtime=sbx brought up. It derives the sandbox name as up does, reads the server URL and bearer token from the harness config up wrote, and runs one POSIX sh probe through sbx exec from an agent-less client with stdin closed. The probe checks: workspace mounted at its host path, host .ssh .gnupg and .config/wraptool not visible, no SSH agent answers, bearer token absent from the sandbox environment, pool runtime mount read-only and holding the harness dispatcher, pool home writable, review UI port and localhost:22 refused through the proxy, one policed MCP tool call succeeds over SSE. The host side checks that the file left in pool home is owned by the host user. RESULT lines carry the verdicts so sbx chatter is shown but never parsed. Dry-run locally against a fake sbx. Not yet run against a real sandbox, which needs the host. Also updates CLAUDE.md, CHANGELOG.md and the design doc status. 🤖 Generated with Claude Code