ToolRunner hardening and process confinement
Read this if: you need the concrete containment vocabulary Tyrum exposes to operators and the runtime.
Skip this if: you only need the broader safety model; start with Sandbox and Policy.
Go deeper: Turn Processing and Durable Coordination, Scaling and High Availability.
ToolRunner profile matrix
| Profile | What it promises | Where the limit is |
|---|---|---|
baseline | Conservative ToolRunner defaults | Does not claim host-level process confinement |
hardened | Tighter ToolRunner container/job settings, narrower writable mounts, stricter privilege posture | Applies only where the selected ToolRunner path enforces those controls |
Purpose
ToolRunner profiles and process confinement are separate posture concepts. Operators can require a known process posture without relabeling an unrelated execution backend.
Deployment semantics
toolrunner.hardeningProfilemaps into supported ToolRunner job or pod settings.process.requiredConfinementindependently acceptsbaseline(default) orhardened.- The current
local_spawnprocess backend appliesbaselineonly and reports hardened unavailable with an explicit reason. - Requiring hardened process confinement disables and rejects
process.run; the runtime never falls back to local baseline spawn.
Observability
/statusreportssandbox.hardening_profilefor ToolRunner compatibility and additive process posture fields.- Runtime context calls the ToolRunner field
toolrunner_hardening_profileand reports process backend, applied confinement, availability, and requirement separately. - Diagnostics should show when profile-specific restrictions blocked execution.