Skip to main content
Commands, arguments, and options for the sediment command-line interface (CLI). The Quickstart covers installation. The HTTP API reference describes server routes; the Schema reference describes Facts and export rows. sediment --help lists commands. sediment --version prints the installed version. sediment <command> --help lists that command’s options. Hook commands that the CLI hides from help are outside this reference. Defaults come from the parsers. — means that the parser supplies no value; the description names any runtime or environment fallback. (required) marks a required option. If its description names an environment default, the option is required only when that variable is unset. Global options:

Command index

sediment facts

fact counts per table (remote; —database-url for direct)
Options:

sediment evidence

read selected Session evidence with operator authority

sediment evidence inventory

print a complete bounded Session inventory as JSON
Arguments:

sediment evidence inspect

print one Inference call’s part manifest as JSON
Arguments:

sediment evidence fetch

write exact selected parts to a private local packet
Arguments: Options:

sediment demo

plant one synthetic session so facts is non-zero
Options:

sediment db

provision database roles or inspect and upgrade the schema

sediment db status

inspect the schema revision without changing it
Options:

sediment db upgrade

upgrade the schema under an advisory lock; as the migrator, also grant and validate the roles
Options:

sediment db check

report every failed role and grant check without changing anything
Options:

sediment db provision

Read SEDIMENT_BOOTSTRAP_DATABASE_URL, SEDIMENT_MIGRATOR_PASSWORD, SEDIMENT_RUNTIME_PASSWORD, and SEDIMENT_OPERATOR_PASSWORD from the environment. SEDIMENT_MIGRATOR_ROLE, SEDIMENT_RUNTIME_ROLE, and SEDIMENT_OPERATOR_ROLE name the roles. Stop services before provisioning.
Options:

sediment quarantine

quarantine one fact by id
Arguments: Options:

sediment release

release one quarantined fact by id
Arguments: Options:

sediment quarantine-log

the org’s quarantine history
Options:

sediment quarantine-inference-calls

bulk-quarantine inference calls by filter (dry-run by default)
Options:

sediment server

run a local API server with managed PostgreSQL
Options:

sediment login

store verified operator credentials, or separate ingest credentials with —capture. Remote URLs must use HTTPS; HTTP is accepted only for localhost or a literal loopback IP address. A loopback URL enrolls both credentials sediment server generated in ~/.sediment/server/server.env; any other server prompts, or takes —with-token on stdin.
Arguments: Options:

sediment logout

remove stored credentials
Options:

sediment guide

print the agent guide for operators and developers

sediment commit

pretty-print attributions for a commit
Arguments: Options:

sediment derive

materialize a reviewed canonical derivation bundle
Options:

sediment export

run an export projection

sediment export rlvr

export one explicit RLVR target
Options:

sediment export dpo

dpo.jsonl — chosen/rejected pairs
Options:

sediment export sft

sft.jsonl — supervised training targets
Options:

sediment export diff-sft

diff_sft.jsonl — per-commit, per-file training rows
Options:

sediment export recovery

recovery.jsonl — red-to-green CI-transition recovery pairs
Options:

sediment stamp

Write this repository’s pending Session markers to the note on HEAD under refs/notes/sediment, then clear the markers that it wrote. The post-commit hook runs this command after each commit. Run it yourself only to recover a pending stamp, while HEAD is still the commit that the markers belong to. The command always exits 0, prints each failure on stderr, and logs it to ~/.sediment/attribution.log.

sediment repair-notes

Fetch refs/notes/sediment from the remote, union-merge it into the local notes ref, and push the result. Run it inside a repository when sediment doctor --fetch reports a notes ref that is behind or diverged. Unlike the pre-push hook, the command exits 1 when it can’t reconcile or push.
Arguments:

sediment doctor

Arguments: Options:

sediment install

Arguments: Options:

sediment uninstall

Arguments: Options:

sediment transcript

Read one hook event on stdin: a JSON object with session_id and transcript_path. Extract the Session’s Edit observations from that agent transcript, and send them to SEDIMENT_OTLP_ENDPOINT. For Claude Code, also send Rejected edits and Retry linkages. Agent session-end hooks run this command. Run it yourself to recover a Session that ended without its extractor. The command always exits 0 and reports problems on stderr. If SEDIMENT_OTLP_ENDPOINT is unset, it does nothing.
Arguments: Options:

sediment mirror-gc

Reclaim bare mirrors for repos with no recent Push activity.
Options:

sediment delivery

Deliver prepared capture payloads; OTLP acknowledgment is not a Fact count.

sediment delivery enqueue

Options:

sediment delivery status

Options:

sediment delivery replay

Options:

sediment report

Read-only reports, forwarded to their own module. An empty result exits 0, never an error.

sediment report model

Per-model outcome report — attribution, CI, and acceptance by model.
Options:

sediment report label-confidence-inspection

Label-confidence inspection — a stratified sample of attributed_completions with
Options:

sediment report dataset-diagnostics

DPO/SFT dataset diagnostics.
Options:

sediment report recovery-yield

Recovery-pair yield report: failed CI runs, emitted pairs, skips.
Options:

sediment report precision

Score derived attributions against a ground-truth manifest.
Options:

sediment report abandonment

Accepted Session status from captured Session-to-commit observations.
Options:

sediment report attribution-share

Report notes-attribution share per repo and flag a material decline against a trailing baseline window.
Options:

sediment report merge-retention

Measure attributed file changes at pull request merge boundaries.
Options:

sediment report lifecycle

Report accepted-work progression and operational evidence.
Options: