Skip to main content

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.

Metadata

Release files for signoff-runtime-docker 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for signoff-runtime-docker 0.0.2
File Size Uploaded Provenance Actions
signoff_runtime_docker-0.0.2.tar.gz 25.7 kB Without provenance Details for signoff_runtime_docker-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for signoff-runtime-docker 0.0.2
File Interpreter ABI Platform Actions
signoff_runtime_docker-0.0.2-py3-none-any.whl Python 3 none any Details for signoff_runtime_docker-0.0.2-py3-none-any.whl

Total release size: 45.7 kB

Release files / signoff_runtime_docker-0.0.2.tar.gz

Download URL signoff_runtime_docker-0.0.2.tar.gz
Size 25.7 kB
Tags Source
SHA-256 checksum
How to use checksums
91a341df55da0e7eec58091f641a662a11062d5a441af5655eb3ee099494f1af
BLAKE2b-256 checksum
How to use checksums
2ffce7bdba9e34abecaf89258bd2d5249c8b2f7ae54f135ee4c8dbcfa6de228d
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / signoff_runtime_docker-0.0.2-py3-none-any.whl

Download URL signoff_runtime_docker-0.0.2-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
caa7ff995c00354e999d95d9ca61e3795bc7e8c16de0185bc41dabdfc769a226
BLAKE2b-256 checksum
How to use checksums
5b3e8d8d2f641938054bd033223c05ab92fb033e38e2235d8b70d0bf7c91c425
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for signoff-runtime-docker 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page