Skip to content

Portable Runs (Capsules)

Capsules is an experimental portable-run format. A capsule is a ZIP-compatible bundle containing a redacted run record, events, environment metadata, verification results, referenced artifacts, optional contract or policy, and checksums.

Credentials are not exported. Secret-like values are represented by redaction categories.

Terminal window
odinn experimental enable capsules --confirm-impact
Terminal window
odinn experimental capsules export \
<run-id> \
--output run.odinn
odinn experimental capsules inspect run.odinn
odinn experimental capsules verify run.odinn

Extraction rejects absolute paths and parent traversal. Verification checks internal content hashes.

Verification only validates the capsule without executing tools:

Terminal window
odinn experimental capsules replay \
run.odinn \
--mode verification-only

Tool mocked records captured tool boundaries without invoking the real tools:

Terminal window
odinn experimental capsules replay \
run.odinn \
--mode tool-mocked
Advanced: full replay

Full replay requires a disposable workspace and uses the audited executor. Redacted inputs fail closed. Network, credential, irreversible, and external-state effects require explicit approval.

Approval does not make a remote action deterministic or reversible.

A valid checksum proves internal consistency, not that the capsule’s instructions, outputs, or imported content are safe. Inspect before replaying and keep exports within the configured workspace or capsule store.

See Known limits for the replay boundary.