06 · Rust CLI / sandboxes · Jul 2026 – Present

Repobox

Agent-native Rust CLI for branch-scoped development data and multi-repo sandboxes.

A local-first, terminal-only 10-crate Rust workspace (MIT, #![forbid(unsafe_code)]) with no daemon and no hosted control plane. Keeps app processes in your terminal while routing Postgres to persistent branch-scoped databases on PlanetScale and Xata, or launches isolated multi-repo stacks across Docker Compose, Modal, and Daytona — with a 60 Hz ratatui TUI for humans and 12 committed v1 JSON Schemas plus an fsync-backed UUIDv7 job ledger for coding agents.

[01] per-branch fan-out

local sketch — simulated CLI + JSONL ledger

active sandboxes: 2
  • feat/confidence-gate·Daytona

    claude-code #1 · db:xata · https://rbx-01.branch.repobox.sh

  • fix/pgvector-acl·Modal

    codex #2 · db:planetscale · https://rbx-02.branch.repobox.sh

append-only job ledger (jsonl)

{"seq":1,"event":"job.queued","branch":"feat/confidence-gate","backend":"daytona+xata","ms":12}

{"seq":2,"event":"env.ready","branch":"feat/confidence-gate","backend":"daytona+xata","ms":1840}

{"seq":3,"event":"job.queued","branch":"fix/pgvector-acl","backend":"modal+planetscale","ms":9}

{"seq":4,"event":"env.ready","branch":"fix/pgvector-acl","backend":"modal+planetscale","ms":1420}

[02] flexible backends

Daytona

cloud sandbox

Long-lived per-worktree sandboxes with incremental git-bundle sync, signed preview URLs, and Playwright PR evidence capture.

Modal

cloud sandbox

Serverless sandbox stacks with encrypted tunnels, allowlisted secret injection, and TTL reaping.

PlanetScale

database

Branch-scoped Postgres environments with OAuth device login, zero-temp-file pg_dump|psql streaming imports, and forward-only pulls.

Xata

database

Instant copy-on-write Postgres branches for preprod and multi-repo sandbox stacks.

Docker Compose

local / CI

Rewrites resolved Compose YAML in memory over stdin with injected credentials so repository files stay untouched.

[03] contracts & guarantees

workspace

10-crate Rust CLI (#![forbid(unsafe_code)], MIT) · 60 Hz ratatui TUI

job ledger

Append-only fsync-backed UUIDv7 ledger · repobox job resume

agent contract

agent-context --schemas --json · 12 v1 JSON Schemas · undo_command

sandbox & proof

Incremental git-bundle Daytona sync · Playwright 30fps MP4 PR evidence