Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.duvo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Use duvo clarity to inspect Clarity processes from a terminal. The Clarity CLI commands are read-only: they help you find processes, inspect generated documentation, compare versions, review evidence, and export process context without changing the process. For an overview of Clarity itself, see Clarity.

Quick start

duvo clarity search "invoice" --limit 5
duvo clarity overview <process-id>
duvo clarity versions <process-id>
duvo clarity compare <process-id>
duvo clarity gaps <process-id>
duvo clarity evidence <process-id>
duvo clarity export <process-id> > clarity-brief.md
Most commands print a compact human-readable summary by default. Add --json when you want structured output for scripts or an AI assistant. Add --include-transcripts only when you need capture transcripts or media URLs in JSON output; compact output omits them by default.

Important terms

  • Process — a Clarity process created in the Duvo web app.
  • Capture — a source attached to a process, such as an interview, video recording, or uploaded SOP.
  • Current process snapshot — the generated description of how the process works today.
  • Transformation proposal snapshot — the generated proposal for how the process could be improved or automated.
  • Proposal anchor — the current process snapshot that a transformation proposal was generated from. If the anchor does not match the selected current process snapshot, compare output warns you.
  • Evidence citation — a stable citation ID that points from a generated step back to supporting capture evidence.
  • Extra capture request — a request for more source material when Clarity cannot confidently fill a gap.
  • Readiness — Clarity’s per-step signal for how ready a proposed step is for automation.
  • Facets — structured cost, risk, lineage, and automation slices built for AI assistants and scripts.

Find a process

duvo clarity list
duvo clarity list --status complete --limit 20
duvo clarity list --process-version 2 --csv
duvo clarity search "purchase order" --json
Use --status to filter by lifecycle status and --process-version to separate legacy v1 processes from newer v2 processes. Use --csv when you want a process inventory in a spreadsheet.

Inspect the selected context

duvo clarity overview <process-id>
duvo clarity status <process-id>
duvo clarity export <process-id>
duvo clarity export <process-id> --json
overview is the best first command for a process. It shows process health, selected versions, capture counts, warnings, and recommended next commands. status focuses on lifecycle state and generation health. export prints a Markdown brief by default. Use it when you want to save or share the compact process context:
duvo clarity export <process-id> > process-brief.md

Work with versions

Clarity v2 stores generated content as snapshots. Most v2 commands select the live snapshot by default.
duvo clarity versions <process-id>
duvo clarity current <process-id>
duvo clarity proposal <process-id>
duvo clarity compare <process-id>
You can select a different snapshot with:
SelectorMeaning
liveThe snapshot currently shown in the app
latestThe newest snapshot, even if it is not live
<id>An exact snapshot ID from duvo clarity versions
Examples:
duvo clarity current <process-id> --snapshot latest
duvo clarity proposal <process-id> --snapshot <proposal-snapshot-id>
duvo clarity compare <process-id> \
  --current <current-snapshot-id> \
  --proposal <proposal-snapshot-id>
Use compare when an assistant needs to understand what changed between the current process and the transformation proposal. It also shows whether the proposal anchor matches the selected current process.

Review captures

duvo clarity captures <process-id>
duvo clarity captures <process-id> --csv
duvo clarity captures <process-id> --json
duvo clarity capture <process-id> <capture-id> --json
By default, capture output is compact for routine inspection: it includes metadata and usability signals, but not full transcripts or media URLs. When you need the full capture text in JSON output, add --include-transcripts:
duvo clarity captures <process-id> --json --include-transcripts
duvo clarity capture <process-id> <capture-id> --json --include-transcripts

Trace evidence

duvo clarity evidence <process-id>
duvo clarity evidence <process-id> --json
duvo clarity evidence <process-id> --citation <citation-id>
Use evidence when you need to verify where a generated step came from. The command prints citation IDs for each step. Resolve one citation ID to see the supporting source:
duvo clarity evidence <process-id> --citation citation:<snapshot-id>:<step-id>:1
For scripts, use --json and require downstream outputs to cite only IDs returned by this command.

Find gaps and automation candidates

duvo clarity gaps <process-id>
duvo clarity readiness <process-id>
duvo clarity facets <process-id>
gaps groups missing information, open questions, assumptions, and extra capture requests by proposed step. readiness summarizes which proposed steps are high, medium, or low readiness for automation. facets returns a structured view of:
  • Cost signals
  • Risk signals
  • Current and proposal step lineage
  • Evidence coverage
  • Automation readiness
  • Warnings and next commands
Use duvo clarity facets <process-id> --json when an AI assistant needs a compact structured input before deciding which deeper command to call next.

Check the environment

duvo clarity doctor
duvo clarity doctor <process-id>
duvo clarity tools
doctor checks authentication, API reachability, available read-only commands, and optional process-level context health. tools lists the read-only Clarity tool map used by the CLI. It is useful when an assistant needs to decide which duvo clarity command can answer a question. Generation, promotion, revert, assignment, postprocessing, and automation-build actions are not exposed through this read-only CLI surface.

Legacy v1 processes

The CLI can still read legacy v1 Clarity processes through:
duvo clarity overview <process-id>
duvo clarity status <process-id>
duvo clarity captures <process-id>
duvo clarity capture <process-id> <capture-id>
duvo clarity export <process-id>
V2-only commands such as versions, current, proposal, compare, gaps, evidence, readiness, and facets require a v2 process. If you run them against a v1 process, the CLI explains that the command is unavailable for that process version.

Common workflows

The examples below use a fictional Invoice Approval process with the ID b3f1c2d4-1a2b-4c3d-8e9f-001122334455. Swap in a real ID from duvo clarity list or duvo clarity search.

Gather context for an AI assistant

duvo clarity search "invoice approval" --json
duvo clarity overview b3f1c2d4-1a2b-4c3d-8e9f-001122334455 --json
duvo clarity facets b3f1c2d4-1a2b-4c3d-8e9f-001122334455 --json
duvo clarity evidence b3f1c2d4-1a2b-4c3d-8e9f-001122334455 --json
search resolves the process ID, overview orients the assistant (health, selected snapshots, recommended next commands), facets adds structured cost, risk, and automation slices, and evidence returns citation IDs the assistant can quote so its reasoning stays grounded in real sources.

Produce a brief for a stakeholder

duvo clarity export b3f1c2d4-1a2b-4c3d-8e9f-001122334455 > invoice-approval-brief.md
duvo clarity gaps b3f1c2d4-1a2b-4c3d-8e9f-001122334455 >> invoice-approval-brief.md
duvo clarity readiness b3f1c2d4-1a2b-4c3d-8e9f-001122334455 >> invoice-approval-brief.md
export writes the process overview as Markdown; appending gaps and readiness rounds the brief out with what is still missing and how automation-ready each proposed step is.

Audit source coverage

duvo clarity captures b3f1c2d4-1a2b-4c3d-8e9f-001122334455 --csv > captures.csv
duvo clarity evidence b3f1c2d4-1a2b-4c3d-8e9f-001122334455 --json > evidence.json
duvo clarity gaps b3f1c2d4-1a2b-4c3d-8e9f-001122334455 --json > gaps.json
Cross-reference the three files to see which captures were usable, which steps have citations, and where Clarity requested more evidence before you trust or automate the process.