ADR-0030: Remove the microVM sandbox — analyzers and linters run on the host, behind the consent gate, or not at all

StateAccepted
Architectural SignificanceHIGH
DomainSecurity Tooling
Document version1.0

Reference

Supersedes the boxlite backend of ADR-0014 and the sandboxed-by-default rule of §6 of ADR-0020. ADR-0014's execution seam, ingest-by-default and the subprocess escape hatch stand, as does ADR-0020 §6's inverted grant. Touches the dependency policy of ADR-0017, whose recorded exceptions this removal retires.

Summary

Roteiro no longer has a sandbox. The opt-in exec-boxlite feature — OCI images in a Linux microVM via boxlite — is removed, and nothing replaces it: no docker or podman fallback, no other backend.

roteiro security run and roteiro lint keep one execution backend, the host subprocess, behind the existing consent gate, which is not weakened. roteiro security ingest stays the zero-install default and executes nothing.

Context

ADR-0014 chose boxlite as an embeddable, daemonless microVM library, and accepted its pre-1.0 maturity with duties attached. ADR-0020 §6 then made the sandbox the default for roteiro lint. Measured against what it delivered, the backend cost more than any other optional feature:

ADR-0014 itself named the security argument for a VM boundary as "weaker than it first appears" for parse-only analyzers; ADR-0020 showed it is real for any tree whose config a tool executes. The consent gate already covers that case by refusing to execute without a grant. The sandbox added a second way to say yes, at the costs above.

Decision makers

The Roteiro Project Team (owner decision, 2026-11-11).

1. Remove the backend and everything that exists only for it

3. Old configuration and old records still load

4. What stays

roteiro security prefetch --allow-download still provisions the pinned rule sets and advisory databases host analyzers read; a run still never provisions. The execution and exec-subprocess features, roteiro security ingest, and --no-default-features --features execution (a build that cannot execute an analyzer at all) are unchanged.

Options considered + consequences

OptionOutcome
Keep boxlite opt-in, as ADR-0014 decidedRejected: the feature is off by default yet its costs land on every build — deny.toml's global ignores, the SQLite version every build ships, CI's protoc and image pull.
Replace it with a docker/podman backendRejected by the owner: it trades one heavy runtime dependency for another, and a daemon-backed container is a weaker and more variable boundary than the one being removed.
Keep the code but stop building itRejected: unbuilt code rots, still shows up in the dependency graph and in review, and would mislead a reader into thinking a sandbox is available.
Remove it; the consent gate is the only gateChosen. One execution backend, a smaller dependency graph, and the default stays refusal.

Consequences

Status

Accepted (2026-11-11), with its implementation.

Version history

VersionDateChange
1.02026-11-11Initial. Accepted with the implementation.