PUBLIC WORK / SIDELOBE OSS / 2026

RuntimeTruth

A CLI that compares Codex runtime state with a reviewed baseline. Check for changes to effective settings, instruction files and MCP capabilities before running an agent.

TYPE

Agent runtime verification CLI

STACK

Python · Codex app-server · Linux

STATUS

v0.2.2 · Public alpha · PyPI

RUNTIME STATE

Inspecting Codex.

Codex resolves model settings, permissions and instructions from several sources. RuntimeTruth reads its app-server configuration and can create a temporary thread to obtain effective settings without starting a model turn.

Snapshots distinguish declared configuration, resolved effective settings and live observations. Each record keeps its source, so the report shows how a value was established.

The CLI also collects systemd state, process identity and Git repository identity.

VERIFICATION

Checking for drift.

Capture and review a baseline, then compare a new snapshot against it. You can check the whole snapshot or protect selected fields: for example, allow a CLI update while keeping the model, sandbox and instruction fingerprints fixed.

$ runtimetruth verify baseline.json --codex . --resolve-thread \
    --protect codex.thread.model \
    --protect codex.thread.sandbox \
    --protect codex.instructions

PASS: runtime matches baseline.

Protected fields can also be saved in a TOML policy. Verification returns distinct exit codes for PASS, DRIFT and ERROR, with JSON output for automation. Invalid selectors produce an error.

ATTESTATION

Signed baselines.

An optional Sigstore attestation binds a baseline's canonical SHA-256 digest to a signing identity.verify-attestation checks the baseline, expected certificate identity and OIDC issuer before comparing the runtime. Creating or verifying an attestation requires Sigstore Cosign.

A PASS means the selected evidence matches the selected baseline under that version's comparison rules. With attestation verification, it also confirms the baseline's binding to the expected signer. It does not certify an agent's safety or predict its behaviour; you choose the baseline, trusted identity and fields to check.

CAPTURE LIMITS

What the snapshot records.

Instruction files are represented by SHA-256 fingerprints, without their plaintext. A fingerprint identifies the bytes read at a Codex-reported path at snapshot time; it does not prove which prompt bytes a model consumed.

MCP capture records server status, tool names and catalog fingerprints. It excludes raw credentials, resource contents and full tool descriptions or schemas. Probing is opt-in because a status request can contact configured servers or refresh authentication. RuntimeTruth does not call MCP tools.

INSTALL

Install RuntimeTruth.

RuntimeTruth is a Sidelobe open-source project, available on PyPI. The current release is a public alpha.

$ pipx install runtimetruth
$ runtimetruth --version
runtimetruth 0.2.2