A sandboxed cell has exactly one execution contract.
exec(source)Execute source text inside the cell runtime.call(dotted_function, *args, **kwargs)Invoke a fully-qualified function path (module.func) inside the cell.import moduleImport only modules allowed by policy (allowed_imports+ policy imports).post(message)Send a single picklable message to the supervisor channel.stream logsEmit structured log events as messages on the same channel (log envelope).emit metricsEmit metric datapoints as messages on the same channel (metric envelope).request broker actionsAsk the supervisor/broker to perform privileged actions by posting broker request envelopes.
Anything outside the seven operations above is out of model and should be rejected. In particular, we do not add ad-hoc host RPC, shared mutable globals, direct privileged syscalls, or extra control planes.
Production safety improves when the surface area is fixed:
- policy is auditable,
- tracing is uniform,
- failure modes are bounded,
- compatibility is easier to preserve.
If a new feature cannot be expressed as one of the seven operations, it is not a cell feature.