Docs assistant

Searches these docs locally; a configured answer service can generate responses.

Ask about this page or the wider Carina docs. Try: “How do I roll back a patch?”

llms.txt

Skip to content

Markdown

Tutorial: review pipeline

Run the in-repo review workflow with parallel reviewers and a synthesis step.

Goal: scan changed files, run parallel review agents, synthesize a report — using the real review workflow shape.

  • Carina installed (carina doctor green)
  • Daemon running
  • A git repository with a non-trivial working-tree diff

Copy or symlink the example:

mkdir -p .carina/workflows
cp examples/workflows/review.json .carina/workflows/review.json

Or author your own using the shape in Workflows overview.

run-workflow.sh
carina workflow run review
# optional focus string
carina workflow run review "focus on auth and session handling"

This creates a safe-edit session in cwd by default and waits for completion.

carina workflow status RUN_ID
carina workflow list

Live progress reports completed/failed/skipped/total counters.

audit.sh
# use the session id from the run
carina audit SESSION_ID
carina audit verify SESSION_ID

Each step is an attenuated subagent; side effects still pass the kernel.

For larger graphs or uneven step times, switch to streaming mode (see examples/workflows/swarm-review.json) and set "execution_mode": "streaming".

control.sh
carina workflow pause RUN_ID
carina workflow resume RUN_ID
carina workflow stop RUN_ID
  • Example: examples/workflows/review.json · streaming: examples/workflows/swarm-review.json
  • Concepts: Workflows overview · docs/workflows.md
  • CLI: carina workflow … · audit: carina audit / carina audit verify
  • Sub-agents — attenuation model for each step
  • Audit — verify after the run

Was this page helpful?

One vote per page is recorded during this session.