Docker-backed sandbox Runtime for Signoff verifiers.
Project description
signoff-runtime-docker
Docker-backed sandbox Runtime for Signoff verifiers. Implements the
signoff.runtime.Runtime protocol per CLAUDE.md §8.2.
Drop-in replacement for LocalRuntime when verifiers need to execute
untrusted content (running tests / linters on AI-generated code is the
motivating case — see signoff-code, which lands next). Each verifier
invocation gets a fresh ephemeral container; the verifier's own Python
logic still runs in the harness process, but every ctx.exec command
routes through docker exec into the container.
from signoff_runtime_docker import DockerRuntime, DockerRuntimeConfig
runtime = DockerRuntime(DockerRuntimeConfig(verify_signatures=False))
# Pass `runtime` to `Harness(..., runtimes=[LocalRuntime(), runtime])`
# or let `Harness.from_config_path` auto-include it when
# signoff-runtime-docker is installed.
Safe by default: network=none, read-only workspace, read-only root
fs, non-root UID (10001), strict capability drop, PID / memory / CPU
limits, cosign signature verification on pulled images. See
docs/runtimes.md and
docs/deployment.md.
Install: pip install signoff-runtime-docker (pulls the docker
Python SDK as a required dep). Requires a reachable Docker daemon at
the usual socket / DOCKER_HOST.
cosign is optional but strongly recommended. When
verify_signatures=True (the default), the runtime invokes cosign verify on every pulled image; missing cosign fails fast at
prepare() time with a clear error. Set verify_signatures=False
(logs a WARNING) if you're running against locally-built images in a
trusted environment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file signoff_runtime_docker-0.0.2.tar.gz.
File metadata
- Download URL: signoff_runtime_docker-0.0.2.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91a341df55da0e7eec58091f641a662a11062d5a441af5655eb3ee099494f1af
|
|
| MD5 |
142b2ad0d4acecf051e95d475877e82f
|
|
| BLAKE2b-256 |
2ffce7bdba9e34abecaf89258bd2d5249c8b2f7ae54f135ee4c8dbcfa6de228d
|
File details
Details for the file signoff_runtime_docker-0.0.2-py3-none-any.whl.
File metadata
- Download URL: signoff_runtime_docker-0.0.2-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caa7ff995c00354e999d95d9ca61e3795bc7e8c16de0185bc41dabdfc769a226
|
|
| MD5 |
90c30677462d7ea3321b832634ae3052
|
|
| BLAKE2b-256 |
5b3e8d8d2f641938054bd033223c05ab92fb033e38e2235d8b70d0bf7c91c425
|