Description
Substream 3 of #2642. Owner: @esnible.
Goal
Make SBX0 usable by someone who has not read the spec. The first cohort feedback is in, and the striking thing is that almost none of it is about commands — it is about concepts, and specifically about what a "sandbox" is and where the agent runs.
The core confusion (moca#599)
mocactl has two different sandbox nouns:
| Noun | Reached by |
|---|---|
| chat-session sandbox | mocactl (the TUI), run, spawn |
sbx sandbox |
mocactl sbx … |
A new user's reasonable mental model comes from the Claude Android app: the Code tab associates a VM with each session, and Claude runs on that VM. SBX0 does the opposite — the agent runs locally, patched to reach into the sandbox. So the reported experience was: start chatting about code, mocactl fetches the code, and then it cannot edit the code or get it back to the laptop. Neither "Chats" nor "Code" matched what was happening.
That mismatch cascades. Because the local-agent-patched-to-reach-in model was not visible, tool restriction was confusing, and the escape hatch taken was mocactl sbx up --name … --no-agent-config — i.e. opting out of the containment entirely to avoid having a local Claude patched.
The stated ask: "I'd like to run Claude or a mocactl session with a single command that doesn't break anything. I shouldn't have to understand and edit my Claude settings to remove tools." Sketch: mocactl claude -- --resume my-work, launching Claude with a --settings pointing at a generated config, so nothing in the user's own settings directories is touched.
Work
- Settle the terminology — one name per concept across TUI, CLI, docs and error messages; say plainly where the agent runs — feature: Better terminology around "sandbox" moca#599
- A launcher that patches nothing —
mocactl claude/mocactl sbx claude, passing a generated--settingsinstead of merging into the user's config. This removes the reason--no-agent-configgets reached for, and it is the single most leveraged item here -
mocactl chatas an alias for baremocactl— discoverability — feature:mocactl chatas an alias formocactlmoca#598 - TUI fixes — input box not anchored to bottom; window resize corrupts the display — moca#596 ✅ (2026-10-28)
-
api.anthropic.comalso reads OAuth tokens — 🐛 api.anthropic.com also reads OAuth tokens moca#595 - Agent-config friction — the Claude Code trust prompt that
enabledMcpjsonServersdoes not suppress, where the default declines and leaves the agent with no tools. sbx up's enabledMcpjsonServers does not suppress Claude Code's trust prompt — the default declines and leaves the agent with no tools moca#577 closed 2026-10-28 via themocactl sbx claudelauncher (moca#656); moca#591 ✅ (warn +doctorrecovery) and sbx up: take back the retired MultiEdit/LS/NotebookRead denies it wrote before #572 moca#574 ✅ (retired denies taken back) also closed - Egress expectations — a sandbox has allowlisted egress now (feat(egress): moca-egress — shared microVM egress proxy, conformance suite, host deploy (#277) moca#583 ✅ shipped, with moca#585–Bump hadolint/hadolint-action from 3.1.0 to 3.3.0 #587 hardening it), not none; the guide still shapes the "can't install Go" expectation the report describes. This is now purely a docs gap, not a capability one
- Re-run the guide end to end against SBX0 §10.6's own bar: a new user goes from install to
sbx pull --applyusing only the user guide - Walkthrough regression — the demo passed with zero tests on wrong run/put paths, moca-experiments#16 ✅ (2026-10-22). The underlying question — what let a zero-test pass go unnoticed — is worth keeping in view even though the issue is closed
Status audit 2026-10-28. rossoctl/moca#596 (TUI), rossoctl/moca#574 and rossoctl/moca#591 (agent-config) and
moca-experiments#16 (walkthrough) have closed. Still open and unstarted: the two most leveraged
items — the terminology decision (moca#599) and the launcher that patches nothing — plus
rossoctl/moca#598, moca#595, moca#577 and the guide re-run. The substream's core argument is untouched by
the closures: the bug list is shrinking, the concepts problem is not.
Why this is its own substream
SBX0's acceptance bar was "a new user goes from install to sbx pull --apply using only the user guide." It passed for the team. The cohort reports say it does not yet pass for someone arriving with a different mental model — and that is a documentation-and-defaults problem, not a bug list. Treat the terminology decision as the gating item: the launcher, the guide and the error messages all encode whatever it settles on.
Related
- epic: SBX0 — bring the Moca sandbox service to users (Codex/Bob, perf comparison, usability, Cortex egress) #2642 — the SBX0 epic
- SBX0 §6.3 and user guide §4 — the two places the agent-config story is told
- SBX0 substream 1: Codex CLI and IBM Bob support in
sbx up#2643 — substream 1, which adds a third and fourth agent to whatever this settles
Assisted-By: Claude (Anthropic AI) [email protected]
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn progress
Activity