Planning
Run prd plan after editing the PRD. The first review covers the spec. The second covers tasks, dependencies, ordering, and gates. For a narrower run, pass a heading or list-item ID from your PRD.
prd plan prd.export
prd plan --dry-runThe dry run plans in memory and prints totals. It can still invoke the configured planner. To stop after the spec, use prd plan --spec. The --yes option accepts both reviews, so use it only when the person responsible for the plan has explicitly authorized accepting both.
Set the planner source in .cairn/config.json. A CLI source uses your configured Claude or Codex executable. An API source uses the configured provider and its credentials. The flags --source, --provider, and --model override settings for one run.
When planning again, review new coverage and the updated stack diagram in .cairn/spec.md. Existing tasks keep their identities. To explicitly rebuild the spec and plan from scratch, use prd plan --respec while all tasks are still pending. Regenerate diagrams from the plan when the dependency graph changes.