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.
Prerequisites
Section titled “Prerequisites”- Carina installed (
carina doctorgreen) - Daemon running
- A git repository with a non-trivial working-tree diff
1. Install the workflow
Section titled “1. Install the workflow”Copy or symlink the example:
mkdir -p .carina/workflowscp examples/workflows/review.json .carina/workflows/review.jsonOr author your own using the shape in Workflows overview.
2. Run it
Section titled “2. Run it”carina workflow run review# optional focus stringcarina workflow run review "focus on auth and session handling"This creates a safe-edit session in cwd by default and waits for completion.
3. Watch status
Section titled “3. Watch status”carina workflow status RUN_IDcarina workflow listLive progress reports completed/failed/skipped/total counters.
4. Inspect audit
Section titled “4. Inspect audit”# use the session id from the runcarina audit SESSION_IDcarina audit verify SESSION_IDEach step is an attenuated subagent; side effects still pass the kernel.
5. Streaming variant (optional)
Section titled “5. Streaming variant (optional)”For larger graphs or uneven step times, switch to streaming mode (see examples/workflows/swarm-review.json) and set "execution_mode": "streaming".
6. Control
Section titled “6. Control”carina workflow pause RUN_IDcarina workflow resume RUN_IDcarina workflow stop RUN_IDSource of truth
Section titled “Source of truth”- 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?
What went wrong?
Thanks for the feedback.
One vote per page is recorded during this session.