Repository navigation
docs(adr-0035): per-Exec is the tier's only mode; resident mode not planned - #466
Merged
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
Execis 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.ExecVM lifetime is finer-grained than the design needs — worth a separate architecture pass #274 is decided against reusing a VM across clientExecs. Per-command lifetime is the property being sold.TestGateNoVMReuseforbids it as written. It is safe only if every command in the batch is service-built (file read, archive export, structuredstat/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 amendedTestGateNoVMReuse. ClientExecs 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
ExecVM lifetime is finer-grained than the design needs — worth a separate architecture pass #274 decision follows from the 10-02 revision's instruction to decide P4 microVM tier: per-ExecVM lifetime is finer-grained than the design needs — worth a separate architecture pass #274 together with the resident question. This PR does not comment on or close the issue.🤖 Generated with Claude Code