Skip to content

docs(adr-0035): record that the resident-VM rejection scoped the density slice - #422

Merged
pdettori merged 1 commit into
rossoctl:mainfrom
pdettori:docs/adr-0035-resident-scope
Oct 2, 2026
Merged

pdettori merged 1 commit into
rossoctl:mainfrom
pdettori:docs/adr-0035-resident-scope

Conversation

@pdettori

@pdettori pdettori commented Oct 2, 2026

Copy link
Copy Markdown
Member

Summary

ADR-0035 lists "per-session (or per-run) resident microVM" as a rejected alternative, and the wording reads like a sandbox-tier principle. It was the scope of the P4 slice: the goal was to measure how many per-request VMs one host can carry. This PR records that, so resident VMs can be revisited without appearing to overturn an isolation decision.

Changes

  • Adds a ## Revisions entry (2026-10-02), following the convention in ADR-0024:
    • the per-Exec guarantees (no VM reuse, per-call memory reclaim, nothing persisting across a run's tool calls) stay as the definition of per-Exec mode, unchanged;
    • resident microVMs are open to revisit as a separate mode with its own threat model and gates;
    • what such a mode would have to address, with code pointers: the gates in gates_kvm_test.go, PerVMBytes admission with no reclaim, the one-shot guest agent, and snapshot-suspend;
    • a link to P4 microVM tier: per-Exec VM lifetime is finer-grained than the design needs — worth a separate architecture pass #274, which is the same question in a smaller form.
  • Adds one sentence to the original alternative pointing at the revision. The original text is otherwise unchanged.

Documentation only; no code changes.

Context

This came out of assessing resident mode for the exploratory SBX1 sandbox-service design, which is kept outside this repository.

🤖 Generated with Claude Code

…ity slice

ADR-0035 lists a per-session resident microVM as a rejected alternative,
which reads as a sandbox-tier principle. It was the scope of this slice:
the goal was to measure how many per-request VMs one host can carry.

Add a Revisions entry that keeps the per-Exec guarantees as the definition
of per-Exec mode, opens resident microVMs to revisit as a separate mode with
its own threat model and gates, and records what such a mode would have to
address (gates, memory admission, the one-shot guest agent, snapshot-suspend),
linked to rossoctl#274.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori
pdettori merged commit d94eb30 into rossoctl:main Oct 2, 2026
12 checks passed
@pdettori
pdettori deleted the docs/adr-0035-resident-scope branch October 2, 2026 19:01
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