Skip to content

All Flow commands

This page lists every command in openadapt-flow 2.2.0, the release on PyPI, read from its argument parser. openadapt flow COMMAND and openadapt-flow COMMAND are the same command. Run any command with --help for its arguments. For what the commands do and how they fit together, see the command reference.

admit

Read the published release-admission ledger. Does not sign or issue an admission.

Command Long options
openadapt flow admit
openadapt flow admit status --check, --json, --ledger
  • admit status: Print admitted vs not-admitted for Flow from the public ledger. Never mints a signature.

approve

Record an authenticated approval (approver / resolution / bundle version) authorizing a durably-paused run to resume

Command Long options
openadapt flow approve --approver, --authorize-uncertain-retry, --resolution

approve-sanitized

Approve and freeze the exact reviewed derivative as an immutable archive

Command Long options
openadapt flow approve-sanitized --original, --reviewer

approver-grant

Sign or check a grant that lets named agents or systems answer some saves. Only a registered person signs, at a terminal

Command Long options
openadapt flow approver-grant
openadapt flow approver-grant sign --key, --key-dir, --out
openadapt flow approver-grant verify --key-dir
  • approver-grant sign: Sign a grant with your policy-signer key
  • approver-grant verify: Check a signed grant against the registry

attach-seal

Attach Cloud's signed Execute receipt (the Seal) to a VERIFIED run report

Command Long options
openadapt flow attach-seal --cloud-url, --execution-id

bench

Replay a bundle N times against MockMed and aggregate

Command Long options
openadapt flow bench --drift, --headed, --n, --param, --run-root

benchmark

Benchmark compiled replay vs. a Claude computer-use agent on the MockMed triage task (agent arm needs an Anthropic API key and costs real money)

Command Long options
openadapt flow benchmark --headed, --n-agent, --n-compiled, --note-text, --out

bind-record-checks

Attach reviewed record checks (system-of-record effect contracts) to a compiled program's save step, in a new bundle; reports which entered fields they compare

Command Long options
openadapt flow bind-record-checks --binding, --check, --json, --out

business-decisions

Customer-runner typed-decision relay; it never resumes or acts.

Command Long options
openadapt flow business-decisions
openadapt flow business-decisions serve --cloud-origin, --once, --poll-wait-seconds, --profile, --runner-config, --runs
  • business-decisions serve: Serve the outbound-only non-actuating relay

certify

Enforce a policy on a bundle (exits nonzero + reports if it fails); passing means the bundle meets that policy's rules, not that it is safe to run

Command Long options
openadapt flow certify --config, --policy

check

Teach a save's read-back by demonstration, and admit it. Nothing confirms a save until a person admits the check.

Command Long options
openadapt flow check
openadapt flow check admit --by, --step
openadapt flow check mark --date-order, --field, --kind, --reset, --start-event
openadapt flow check show --json
  • check admit: Admit a bundle's demonstrated checks (a person, at a terminal)
  • check mark: Write check.json: where the check starts and what it reads
  • check show: List a bundle's demonstrated checks

compile

Compile a recording into a workflow bundle

Command Long options
openadapt flow compile --accept-params, --name, --no-confirm-params, --out, --params-from, --pixel-verify-enabled

compose

Author a parent sequencer from named compiled child bundles and a handoff contract. Each child stays bound to its recorded surface. certify/run the output directory.

Command Long options
openadapt flow compose --after, --allow-halt, --child, --handoff, --name, --out

connect

Claim a one-time browser pairing and store the workspace credential in the OS keychain

Command Long options
openadapt flow connect --destination-kind, --device-name, --host, --pairing, --trusted-host, --uri

connector

BYOC connector: enroll this machine with OpenAdapt Cloud and run governed jobs LOCALLY (customer owns the data boundary; PHI stays on this side)

Command Long options
openadapt flow connector
openadapt flow connector enroll --control-plane-url, --enrollment-secret, --name, --org-id, --policy, --profile, --storage-backend, --storage-root
openadapt flow connector run --control-plane-url, --once, --org-id, --policy, --poll-wait, --profile, --storage-backend, --storage-root, --token
  • connector enroll: Enroll against a mock/development control plane and persist its token
  • connector run: Poll the control plane and run governed jobs until interrupted

console

Serve the operator console: a localhost-only web UI over compiled bundles, run reports/halt evidence, and skill-library lineage. Read-only unless --allow-actions; needs pip install 'openadapt-flow[console]'

Command Long options
openadapt flow console --agent-url, --allow-actions, --allow-model-grounding, --allow-surface-override, --api-actuator, --api-base-url, --attend, --backend, --bundles, --config, --durable, --effects-base-url, --effects-kind, --effects-root, --headed, --linux-allow-physical-input, --linux-app, --linux-window-title, --macos-app, --macos-window-title, --port, --rdp-host, --rdp-readiness-text, --rdp-window, --rdp-window-title, --remote-decision-host, --remote-decisions, --runs, --skills, --url

countersign

Timestamp, countersign, selectively disclose, and export a dispute dossier for a Seal

Command Long options
openadapt flow countersign
openadapt flow countersign add --baseline-timestamp, --countersign-key, --fields-file, --keys, --no-timestamp, --out, --retention-days, --tsa-cert, --tsa-local, --tsa-url, --vault
openadapt flow countersign close --approver-id, --approver-key, --approver-keys, --code, --external-reference, --method, --notes-file, --role, --vault
openadapt flow countersign disclose --field, --out, --vault
openadapt flow countersign dossier --accept-non-flow, --disclosure, --format, --keys, --out, --screenshot, --tsa-cert, --vault
openadapt flow countersign exceptions --json, --status, --vault
openadapt flow countersign purge --export, --vault
openadapt flow countersign resolve --keys, --tsa-cert, --vault, --with
openadapt flow countersign timestamp-baseline --baseline, --baseline-sha256, --no-timestamp, --nonce, --out, --read-at, --tsa-cert, --tsa-local, --tsa-url
openadapt flow countersign verify --accept-non-flow, --disclosure, --json, --keys, --tsa-cert
  • countersign add: Add a countersign block: field commitments, RFC 3161 timestamp, countersignature
  • countersign close: Close an exception with a disposition signed by a person whose key is pinned
  • countersign disclose: Write a disclosure bundle revealing chosen committed fields
  • countersign dossier: Export one offline-verifiable HTML or zip for a dispute
  • countersign exceptions: List Seals queued on a REFUTED or INDETERMINATE outcome
  • countersign purge: Export, then delete, closed exceptions past their retention period
  • countersign resolve: Resolve an exception with a later verified Seal that links to it
  • countersign timestamp-baseline: Timestamp a baseline read before the executor runs
  • countersign verify: Check a Seal offline and show executor, verification tier, timestamps, and disclosures

demo

See the proof in one command: a checked run and a run whose save fails, side by side on one page (fake clinic data, no AI calls)

Command Long options
openadapt flow demo --headed, --no-open, --out, --verbose

demo-record

Serve MockMed and record the canonical triage demo

Command Long options
openadapt flow demo-record --drift, --headed, --note-text, --out, --param-name, --record-video

disambiguate

Surface compile-time multiple-choice questions for an ambiguous demo and apply the answers as guards/params (ask, don't guess)

Command Long options
openadapt flow disambiguate --answers, --interactive, --write

emit-mcp

Emit a standalone MCP server.py for a bundle

Command Long options
openadapt flow emit-mcp --out

emit-skill

Emit an Agent Skills folder for a bundle

Command Long options
openadapt flow emit-skill --out

explain

Plain-language read of a completed run dir: what happened, why the outcome is the safe one, and the next suggested command (read-only)

Command Long options
openadapt flow explain

fleet

Fleet drift patch settings: opt-in per app family, roles, and the signed promotion policy. Off for every app by default.

Command Long options
openadapt flow fleet --fleet-dir
openadapt flow fleet allow --admin, --app-family, --domain, --export, --import
openadapt flow fleet disallow --app-family, --domain, --export, --import
openadapt flow fleet policy
openadapt flow fleet policy keygen --out, --unencrypted
openadapt flow fleet policy sign --approver-id, --approver-name, --approver-title, --attest-security-official, --authorised-at, --draft, --key, --out, --security-official-name, --security-official-title
openadapt flow fleet policy verify --policy
openadapt flow fleet roles --approver, --author, --public-key
openadapt flow fleet simulate --out
openadapt flow fleet status --json
  • fleet allow: Allow patch export and/or import for an app family or domain
  • fleet disallow: Remove an app family or domain from the allowlist
  • fleet policy: Sign or verify the promotion policy
  • fleet policy keygen: Create a policy approver key (PEM, 0600)
  • fleet policy sign: Sign a policy draft as a policy approver
  • fleet policy verify: Verify the signed policy against roles.json
  • fleet roles: Add a workflow author or a policy approver (never both)
  • fleet simulate: Run the three-tenant local simulator
  • fleet status: Show opt-in, roles, policy and trust

for-each

Author a DATA-DRIVEN LOOP bundle: wrap an existing single-demonstration bundle's linear body in a LOOP that runs once per record of a worklist (CSV/JSON), binding each record's columns to the workflow's parameters. Emits a program:true bundle the runtime executes bounded, $0, identity-gated and effect-verified per record

Command Long options
openadapt flow for-each --loop-var, --map, --max-iterations, --name, --out, --records, --relation

induce

Induce a parameterized PROGRAM bundle from MULTIPLE recordings (multi-trace induction: infer params / loops / branches). REFUSES (nonzero exit, no bundle) when intent is underdetermined, printing a record-next worklist of missing demonstrations

Command Long options
openadapt flow induce --held-out, --name, --out

intake

Fill a workflow's parameters from a referral PDF, fax image, or email

Command Long options
openadapt flow intake --accept, --agent-request, --agent-response, --alias, --no-input, --out, --threshold

item-approval

List, approve or decline the per-item approval requests a run is waiting on (Desktop's Run it)

Command Long options
openadapt flow item-approval
openadapt flow item-approval approve --approver-id, --auth-method, --decided-by, --delegate-id, --delegate-kind, --on-behalf-of, --request-id, --request-sha256, --route, --unauthenticated
openadapt flow item-approval decline --approver-id, --auth-method, --decided-by, --delegate-id, --delegate-kind, --on-behalf-of, --reason, --request-id, --request-sha256, --route, --unauthenticated
openadapt flow item-approval show --all
  • item-approval approve: Approve one save a person checked in Desktop's Run it
  • item-approval decline: Don't save: decline one save with a closed reason
  • item-approval show: Print the run's approval requests as JSON

jit

Review, admit or reject a DRAFT compiled from a computer-use agent run

Command Long options
openadapt flow jit
openadapt flow jit admit --key, --key-dir, --policy, --principal, --require-distinct
openadapt flow jit keygen --key-dir, --out
openadapt flow jit register --key-dir, --principal, --public-key, --role
openadapt flow jit reject --key-dir, --principal, --reason
openadapt flow jit review --accept-param, --all-steps-shown, --key-dir, --principal, --queue, --step
openadapt flow jit sign-policy --key, --key-dir, --out
openadapt flow jit status --key-dir
  • jit admit: Admit a draft whose canary passed: with a registered key, as an agent under a signed policy, or as a person at a terminal
  • jit keygen: Write a new encrypted Ed25519 key
  • jit register: Register a key as a policy signer, admitter key or agent
  • jit reject: Set the draft aside
  • jit review: Confirm the parameters, then record that you reviewed every step
  • jit sign-policy: Sign an admission policy with your policy-signer key
  • jit status: Print the state, steps and what admission needs

known-ids

Admit a system-of-record export as the known-ID list, and check it

Command Long options
openadapt flow known-ids
openadapt flow known-ids confirm --by, --column, --confirmation, --exported-at, --source, --yes
openadapt flow known-ids status --column, --confirmation, --max-age-hours
  • known-ids confirm: Confirm the export's source and completeness (recorded)
  • known-ids status: Would replay accept this list now?

lint

Report a bundle's coverage gaps (unarmed clicks, vacuous postconditions, under-classified risk); exits nonzero by severity

Command Long options
openadapt flow lint --strict

local-seal

Offline Seals signed with this machine's key; optional batched timestamps

Command Long options
openadapt flow local-seal --home
openadapt flow local-seal batch
openadapt flow local-seal file --kind, --out, --run-id
openadapt flow local-seal key
openadapt flow local-seal proof
openadapt flow local-seal run
openadapt flow local-seal submit --tsa-url
openadapt flow local-seal verify --keys, --seal
  • local-seal batch: Fold queued Seals into one Merkle batch (local)
  • local-seal file: Seal any file: a record, an export, an audit report
  • local-seal key: Print this machine's public Seal key for pinning
  • local-seal proof: Show the batch, root and inclusion proof for a Seal
  • local-seal run: Seal a run directory's report.json
  • local-seal submit: Timestamp every unsent batch root (sends one 32-byte digest per batch)
  • local-seal verify: Verify a run directory, or a file with --seal

login

Validate an ingest token against the hosted control plane and store it in the OS keychain

Command Long options
openadapt flow login --allow-plaintext-token, --destination-kind, --host, --no-save, --token, --trusted-host

materialize-approved

Rebuild an approved derivative from its archive and approval record

Command Long options
openadapt flow materialize-approved --approval, --archive, --expect-archive-sha256, --out

no-outbound

Strict no-outbound mode: list and edit the allow list

Command Long options
openadapt flow no-outbound
openadapt flow no-outbound allow --file
openadapt flow no-outbound allow add --port
openadapt flow no-outbound allow derive
openadapt flow no-outbound allow list --json
openadapt flow no-outbound allow remove
  • no-outbound allow: The allow-list file
  • no-outbound allow add: Allow an IP address or private CIDR range by hand
  • no-outbound allow derive: Allow only the host(s) a remote-desktop session profile connects to
  • no-outbound allow list: Show every allowed address and where it came from
  • no-outbound allow remove: Remove an address or range

process

Author a ProcessContract parent from independently admitted capabilities. Each --child needs a --admission envelope. certify/run the output directory; replay refuses it.

Command Long options
openadapt flow process --admission, --after, --allow-halt, --child, --handoff, --input, --name, --out, --spec

propose-qualification

Draft a production-shaped qualification contract from a compiled demo. Alias of qualify propose.

Command Long options
openadapt flow propose-qualification --out, --policy-pack, --proposer, --recording

pull

Download a packaged workflow bundle by name

Command Long options
openadapt flow pull --force, --index, --list, --out

push

Upload the exact approved sanitized archive to /api/ingest; raw input is sanitized locally and paused for review

Command Long options
openadapt flow push --attest-non-phi, --auto-approve, --deployment-kind, --destination-kind, --host, --json, --kind, --name, --resolves-run-id, --sanitized-out, --token, --trusted-host, --validation-attestation, --workflow-id

qualify

Qualify: before a compiled workflow may run unattended on a real system, run it against the normal case and deliberate faults, and confirm it is verified by reading back the system of record and halts on every fault. Also: create, edit, test, explain and certify the qualification project sealed into a bundle.

Command Long options
openadapt flow qualify
openadapt flow qualify accept --admit-local, --out, --proposal, --refuse-pin, --replace
openadapt flow qualify add-case --case-id, --description, --expected-outcome, --input-ref, --kind, --optional
openadapt flow qualify add-requalification --description, --kind
openadapt flow qualify admit-local --out, --proposal
openadapt flow qualify business-decision --check, --input
openadapt flow qualify campaign --campaign-id, --cases, --certify, --out, --run-params, --trials, --verify
openadapt flow qualify certify --evidence-root, --json, --policy, --profile
openadapt flow qualify drills --from-case, --json, --save-step
openadapt flow qualify explain --evidence-root, --json, --policy
openadapt flow qualify from-demo --admit-local, --out, --policy-pack, --proposer, --recording
openadapt flow qualify init --application, --application-version, --environment-digest, --minimum-tier, --replace, --require-capability, --runtime-version, --target
openadapt flow qualify inspect --evidence-root, --json, --policy
openadapt flow qualify judgment-cases --check, --input
openadapt flow qualify label
openadapt flow qualify label list
openadapt flow qualify label remove --step
openadapt flow qualify label set --fallback, --label, --step
openadapt flow qualify propose --out, --policy-pack, --proposer, --recording
openadapt flow qualify report --evidence-root, --json, --policy
openadapt flow qualify run --evidence-root, --results
openadapt flow qualify run-case --agent-url, --allow-surface-override, --api-actuator, --api-base-url, --approval-mode, --approval-wait, --approver-policy, --approver-webhook, --approver-webhook-id, --approver-webhook-kind, --backend, --browser-cdp-endpoint, --browser-page-url, --campaign-id, --case-id, --config, --dry-run, --durable, --effects-base-url, --effects-kind, --effects-root, --fault-driver, --headed, --inputs, --linux-allow-physical-input, --linux-app, --linux-window-title, --macos-app, --macos-window-title, --qualification-campaign-authority-file, --rdp-host, --rdp-readiness-text, --rdp-window, --rdp-window-title, --run-dir, --run-id, --save-healed-to, --started-by, --url
openadapt flow qualify schema
openadapt flow qualify set-effect --effect-index, --path, --step, --tier
openadapt flow qualify set-identity --canonical-ladder, --quorum, --signal, --signal-expected, --signal-extract, --signal-param, --signal-region, --step
openadapt flow qualify set-risk --classification, --explanation, --step
openadapt flow qualify trust-runner --key-id, --public-key
  • qualify accept: Confirm every proposed pin in one command after the proposed oracle catches a --break-it fault. Refusing a pin HALTs.
  • qualify add-case: Add a representative or fault case
  • qualify add-requalification: Add a condition that requires this workflow to be requalified
  • qualify admit-local: Sign a local-dev admission for an accepted proposal. The signer cannot enter a production trust map.
  • qualify business-decision: Add, update, or inspect one reviewed finite business decision without editing the workflow manifest
  • qualify campaign: Qualify a bundle from verify.yaml (also the default form: qualify <bundle> --verify verify.yaml)
  • qualify certify: Persist a combined qualification and existing-policy decision
  • qualify drills: Add the five readiness drills for the practice case's save and trust this computer's local drill key (a local campaign)
  • qualify explain: Explain qualification coverage
  • qualify from-demo: Propose pins from the demo, accept them, and optionally sign a local-dev admission. After record and compile.
  • qualify init: Initialize a bundle's qualification project
  • qualify inspect: Inspect qualification coverage
  • qualify judgment-cases: Store or check reviewed local judgment cases; this command never synthesizes an executable rule from examples
  • qualify label: Optionally set, remove, or list presentation-only entity labels
  • qualify label list: List qualification-owned entity labels
  • qualify label remove: Remove a step entity label
  • qualify label set: Set an optional presentation label for one qualified step
  • qualify propose: Draft application, environment, identity, and effect pins from the compiled demo. Missing pins HALT; nothing is guessed. Runs the proposed oracle against a --break-it fault.
  • qualify report: Report qualification coverage
  • qualify run: Import case results produced by the Desktop/local/customer-controlled qualification runner
  • qualify run-case: Run one current qualification case (the practice item or a readiness drill) with Flow-owned Standard authorization
  • qualify schema: Print the qualification-project JSON Schema
  • qualify set-effect: Assign verification-strength tier to an existing effect
  • qualify set-identity: Set exact/normalized identity fields and their quorum
  • qualify set-risk: Confirm an action's reviewed business-risk classification
  • qualify trust-runner: Trust an Ed25519 qualification-runner public key

record

Record YOUR workflow interactively: a headed browser (--backend web --url), or the operator's real local desktop input through openadapt-capture (--backend windows/macos/linux/rdp/citrix)

Command Long options
openadapt flow record --agent-url, --allow-surface-override, --backend, --browser-cdp-endpoint, --browser-page-url, --headless, --identifier, --linux-allow-physical-input, --linux-app, --linux-window-title, --macos-app, --macos-window-title, --out, --param, --profile, --rdp-host, --rdp-readiness-text, --rdp-window, --rdp-window-title, --secret, --task, --until-cmd, --url, --verify, --window, --window-title, --with-check

repair

Governed repair promotion lifecycle: register a proposed (healed or taught) bundle as a CANDIDATE, review its diff, run the replay and fault campaigns, approve (human), stage, canary, and roll back. A proposed bundle NEVER becomes active without this lifecycle. See docs/REPAIR_LIFECYCLE.md

Command Long options
openadapt flow repair
openadapt flow repair approve --approved-by, --non-interactive, --store
openadapt flow repair campaign --kind, --store
openadapt flow repair canary --max-runs, --store
openadapt flow repair canary-record --run-dir, --store
openadapt flow repair list --store
openadapt flow repair register --evidence, --prior, --source, --store
openadapt flow repair review --reviewed-by, --store
openadapt flow repair rollback --by, --candidate-id, --store
openadapt flow repair show --json, --store
openadapt flow repair stage --store
openadapt flow repair status --store
  • repair approve: HUMAN approval gating promotion; refuses unless the diff was reviewed and BOTH campaigns passed. Binds the exact bundle hashes
  • repair campaign: Run a campaign against the candidate's evidence frames: 'replay' (healthy drift battery must all pass) or 'fault' (ambiguity / wrong-entity / stale-target / dialog / verifier-failure frames must all be REFUSED)
  • repair canary: Atomically activate the staged bundle in CANARY mode: a bounded first-N-runs window with per-run verification before full active
  • repair canary-record: Record one canary run from its run directory; any silent-incorrect or verification regression auto-reverts to the prior bundle
  • repair list: List candidates and their lifecycle states
  • repair register: Register a (prior, proposed) bundle pair as a repair candidate; refuses (fail closed) any contract weakening without a new qualification revision
  • repair review: Record a human review of the candidate's diff
  • repair rollback: One-command rollback: restore the prior bundle hash as the active pointer
  • repair show: Show a candidate's reviewable diff, campaigns, and state
  • repair stage: Copy BOTH bundles into the store by content hash and re-verify them byte-exact (prior too, so rollback is always local)
  • repair status: Show the atomic active-bundle pointer and its lineage

replay

Replay a bundle (serves the bundled MockMed demo app when no --url is given)

Command Long options
openadapt flow replay --agent-url, --allow-model-grounding, --allow-surface-override, --api-actuator, --api-base-url, --attest-audit-log, --attest-contract, --attest-pre-state, --attest-sign-key, --backend, --browser-cdp-endpoint, --browser-page-url, --config, --drift, --durable, --effects-base-url, --effects-kind, --effects-root, --headed, --linux-allow-physical-input, --linux-app, --linux-window-title, --macos-app, --macos-window-title, --param, --params-file, --rdp-host, --rdp-readiness-text, --rdp-window, --rdp-window-title, --record-video, --run-dir, --save-healed-to, --url, --worklist

report-break

Emit a PHI-free break diagnostic from a halted run's report.json to /api/runs/ingest-report (the recording stays local)

Command Long options
openadapt flow report-break --deployment-kind, --destination-kind, --host, --org-id, --token, --trusted-host, --workflow-id

report-run

Emit a PHI-free SUCCESS summary from a completed run's report.json to /api/runs/ingest-report (bounded counts, duration, and exact pushed-bundle identity — the recording stays local)

Command Long options
openadapt flow report-run --backend, --deployment-kind, --destination-kind, --host, --org-id, --production, --receipt, --token, --trusted-host, --workflow-id

resume

Resume a durably-paused run from its last verified checkpoint (never re-running an already-confirmed write)

Command Long options
openadapt flow resume --agent-url, --allow-surface-override, --api-actuator, --api-base-url, --approval-mode, --approval-wait, --approver-policy, --approver-webhook, --approver-webhook-id, --approver-webhook-kind, --attest-audit-log, --attest-contract, --attest-pre-state, --attest-sign-key, --backend, --browser-cdp-endpoint, --browser-page-url, --config, --durable, --effects-base-url, --effects-kind, --effects-root, --headed, --linux-allow-physical-input, --linux-app, --linux-window-title, --macos-app, --macos-window-title, --managed-dispatch-file, --param, --params-file, --qualification-authority-file, --qualification-campaign-authority-file, --rdp-host, --rdp-readiness-text, --rdp-window, --rdp-window-title, --report, --require-approval, --started-by, --url

review-sanitized

Review original vs sanitized content in a loopback-only local viewer

Command Long options
openadapt flow review-sanitized --no-open, --original, --port

run

Execute a bundle under a deployment config (--config): the replay path wired for a real deployment (backend / effects / actuation / durable / policy) instead of the demo

Command Long options
openadapt flow run --agent-url, --allow-model-grounding, --allow-surface-override, --allow-trusted-code, --allow-unencrypted, --api-actuator, --api-base-url, --approval-mode, --approval-wait, --approve-unverified-writes, --approver-policy, --approver-webhook, --approver-webhook-id, --approver-webhook-kind, --attest-audit-log, --attest-contract, --attest-pre-state, --attest-sign-key, --backend, --browser-cdp-endpoint, --browser-page-url, --cloud-execution-id, --code-runtime-environment-digest, --code-trust, --config, --dry-run, --durable, --effects-base-url, --effects-kind, --effects-root, --execute-environment-id, --execute-token, --execute-url, --explain, --headed, --hold-on-halt, --linux-allow-physical-input, --linux-app, --linux-window-title, --macos-app, --macos-window-title, --managed-dispatch-file, --param, --params-file, --pin-digest, --pin-version, --policy, --process-environment-id, --process-receipt-issuer-key-id, --process-receipt-private-key, --process-runner-id, --profile, --qualification-authority-file, --qualification-trust, --rdp-host, --rdp-readiness-text, --rdp-window, --rdp-window-title, --record-video, --report, --run-dir, --save-healed-to, --started-by, --strict-templates, --url, --worklist

sanitize

Create a verified PHI-scrubbed derivative without modifying the original

Command Long options
openadapt flow sanitize --kind, --out, --overwrite, --redactions

scaffold-verifier

Draft an effect-oracle contract (effect_contract.yaml) from a recording or bundle's write-shaped steps. The output is a DRAFT requiring human edit; refuses demonstrations with no consequential (write) step

Command Long options
openadapt flow scaffold-verifier --out

seal

Copy a bundle to a new path, encrypt its workflow and template evidence with OPENADAPT_BUNDLE_KEY, verify integrity, and publish it atomically

Command Long options
openadapt flow seal --out

serve-execute

Host the public Execute v1 HTTP+MCP contract locally. Receipts are self-signed with a local key. They are not OpenAdapt production Seals. Needs pip install 'openadapt-flow[execute]'

Command Long options
openadapt flow serve-execute --data-dir, --host, --port, --seed-mockmed, --token

serve-reward

Score training episodes by reading the system of record through an independent oracle. Receipts are self-signed reward receipts, not Execute Seals. Needs pip install 'openadapt-flow[reward]'

Command Long options
openadapt flow serve-reward --contract, --data-dir, --host, --port, --seed-mockmed, --token

service

Unattended on-prem service: run, health, restart, egress audit

Command Long options
openadapt flow service
openadapt flow service boot-check --account, --root
openadapt flow service egress-audit --interval, --pid, --root, --samples
openadapt flow service health --label, --max-age, --restart-on-fail, --root, --stuck-after
openadapt flow service notices --ack, --all, --by, --root
openadapt flow service pf
openadapt flow service pf check --pf-conf, --user
openadapt flow service pf render --allow-file, --out, --user
openadapt flow service restart --label
openadapt flow service run --allow-outbound, --max-cycles, --poll-seconds, --queue-script, --root
  • service boot-check: After a restart: wait for the service account to sign in; alert if late
  • service egress-audit: Sample the service process tree's sockets; exit 0 only if no peer is off the machine
  • service health: Check the service; exit 1 when unhealthy
  • service notices: List or acknowledge service notices
  • service pf: macOS pf rules for the service account (text only)
  • service pf check: Check a rendered anchor (and pf.conf)
  • service pf render: Render the anchor from the allow list
  • service restart: Ask the service manager to restart the service
  • service run: Run the queue loop (what launchd/systemd keeps alive)

teach

Self-serve HALT -> LEARN: resolve a halted run from a fix demonstration. Induces the correction as a guarded exception branch, gates + validates it, and writes an updated bundle ONLY if it passes (governed refusal otherwise; nonzero exit)

Command Long options
openadapt flow teach --bundle, --fix, --library, --out, --skill-id

teach-branch

Learn a guarded branch from two or more halts resolved the same way. The branch keys on the screen text they share (narrowed by an enum parameter when normal runs show that text too) and is written as a repair candidate that needs approval

Command Long options
openadapt flow teach-branch --bundle, --example, --library, --normal-run, --out, --skill-id

triage

Order verified saves for review and propose one batch approval

Command Long options
openadapt flow triage
openadapt flow triage approve-batch --approver-id, --auth-method, --batch-sha256, --decided-by, --labels, --pull-back, --unauthenticated
openadapt flow triage calibrate --delta, --group, --labels, --out, --target-miss, --window
openadapt flow triage decide --approve, --approver-id, --auth-method, --decided-by, --decline, --item, --labels, --unauthenticated
openadapt flow triage eligibility --artifact, --artifact-sha256, --audit-rate, --delta, --labels, --target-miss, --verified-runs, --workflow
openadapt flow triage estimate --labels
openadapt flow triage plan --artifact, --artifact-sha256, --audit-rate, --mode, --observations, --out, --policy, --run-dir
  • triage approve-batch: Approve a plan's clean batch
  • triage calibrate: Fit a calibration artifact from labels
  • triage decide: Approve or decline one save
  • triage eligibility: Check whether a workflow may switch to only asking about problems: a pinned, eligible calibration artifact and an audit miss-rate bound under the target. Exit 0 eligible, 3 not yet, 2 no evidence.
  • triage estimate: Estimate the miss rate from audit labels
  • triage plan: Write a triage plan; print the review view

tutorial

Run the bundled tutorial end to end against a real local system of record: record, compile, certify, govern, and VERIFY the write out of band, then write a shareable local receipt

Command Long options
openadapt flow tutorial --break-it, --guided, --headed, --interactive-record, --name, --no-receipt, --out, --presentation-delay

validate-hosted

Bind strict lint, policy certification, and a successful local replay to an expiring Cloud challenge and exact approved artifacts. Standard and Regulated activation also binds the sealed governed authorization template.

Command Long options
openadapt flow validate-hosted --allowed-host, --bundle, --compiler-config, --destination-kind, --environment, --host, --out, --policy, --recording, --risk-class, --run-dir, --target-kind, --target-url, --token, --trusted-host

verify-run

Read the system of record and rule on an effect that an agent, script, or person claims it made; writes an unsigned openadapt.effect-receipt/v1. The executor's own record is hashed, never trusted

Command Long options
openadapt flow verify-run --accept-outcome, --approver, --authorization-ref, --baseline, --capture-baseline, --check, --correlation-id, --keys, --out, --params, --remediates, --run-record, --verify

visualize

See what a demonstration compiled INTO: emit a program-graph view of a bundle or a composed parent (child bundles, --after DAG, effect-bound handoffs) as self-contained HTML, Mermaid, or the shared JSON graph spec

Command Long options
openadapt flow visualize --format, --out, --profile