Skip to content

docs(adr-0035): per-Exec is the tier's only mode; resident mode not planned - #466

Merged
pdettori merged 1 commit into
rossoctl:mainfrom
pdettori:docs/adr-0035-per-exec-only
Oct 8, 2026
Merged

pdettori merged 1 commit into
rossoctl:mainfrom
pdettori:docs/adr-0035-per-exec-only

Conversation

@pdettori

@pdettori pdettori commented Oct 8, 2026

Copy link
Copy Markdown
Member

Summary

Adds a 2026-10-08 revision to ADR-0035. It follows the 2026-10-02 revision (#422), which left resident microVMs open to revisit as a separate mode.

  • Resident mode was revisited and is not planned for the P4 tier or for the exploratory SBX1 sandbox service built on it. The reason is product scope, not isolation. Long-lived sandboxes with PTYs, background processes and ports are what every hosted provider already offers (E2B, Daytona, Modal…). A fresh VM for every command is what none of them offers. The 10-02 finding still stands: nothing in this ADR's evidence rules resident VMs out.
  • Per-Exec is the tier's only mode. Its guarantees (no VM reuse, per-call memory reclaim, nothing persisting across a run's tool calls) now define what the tier sells. The 10-02 list of what a resident mode would need is kept as the assessment behind this decision, not as a work list.
  • P4 microVM tier: per-Exec VM lifetime is finer-grained than the design needs — worth a separate architecture pass #274 is decided against reusing a VM across client Execs. Per-command lifetime is the property being sold.
  • One narrow, gated exception is anticipated: read coalescing, proposed by SBX1. Consecutive read-only calls for one sandbox run in one VM. This is VM reuse, so TestGateNoVMReuse forbids it as written. It is safe only if every command in the batch is service-built (file read, archive export, structured stat/list/find/grep), never client code; all calls belong to one sandbox; and the VM is destroyed after the batch. If built, it needs its own gate and an amended TestGateNoVMReuse. Client Execs are never coalesced.

Docs only: one file, 36 lines added, no code or gate changes.

Context

SBX1 (exploratory, not adopted, kept outside this repository) was revised to v0.3. Coding agents (Claude Code, OpenCode) now reach the P4 tier through a hosted MCP server as wave 0, and resident mode and the E2B facade are dropped.

Review notes

🤖 Generated with Claude Code

…lanned

Adds a 2026-10-08 revision. The 2026-10-02 revision left resident microVMs
open as a separate mode; they have been revisited and are not planned, on
product grounds rather than isolation grounds: long-lived sandboxes are what
every hosted provider already offers, a fresh VM per command is what none
does.

- per-Exec's guarantees now define what the tier sells, not only how the
  density slice measured;
- rossoctl#274 is decided against reusing a VM across client Execs;
- read coalescing (SBX1) is named as the one anticipated, gated exception
  to TestGateNoVMReuse: service-built read commands only, one sandbox, VM
  destroyed after the batch, and a gate of its own before it ships.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori
pdettori merged commit 7d1ef5d into rossoctl:main Oct 8, 2026
13 checks passed
@pdettori
pdettori deleted the docs/adr-0035-per-exec-only branch October 8, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant