Module: Silas::Sandbox

Defined in:
lib/silas/sandbox.rb,
lib/silas/sandbox/null.rb,
lib/silas/sandbox/docker.rb

Overview

A Sandbox runs a command in isolation and returns its captured output. Duck-typed like the engine seam: #run(command, files:, timeout:) -> Result, #enabled?. Default is Null (code execution off). :docker is the interim adapter — honestly weaker than eve's per-agent microVM (needs Docker present, container isolation not a VM), but real isolation for untrusted/model code.

Defined Under Namespace

Classes: Docker, Null, Result