This tutorial walks through executing a single task end-to-end using /orch.
Running a single task via /orch gives you the same infrastructure as a full batch — an isolated git worktree, the web dashboard, inline reviews, and supervisor monitoring — focused on just one task.
Complete these first:
- Install Taskplane
- Run Your First Orchestration (recommended — shows batch mode first)
You should have this example task folder:
taskplane-tasks/EXAMPLE-001-hello-world/
├── PROMPT.md
└── STATUS.md
If you don't see it, run taskplane init --preset full from your project root.
PROMPT.md is the task specification:
- Mission — what the task should accomplish
- Steps — ordered checklist of work items
- Constraints — scope boundaries, file targets, completion criteria
- Context — files to read, dependencies on other tasks
The section above the --- divider is the immutable task definition. Amendments added during execution go below the divider.
STATUS.md is runtime state and persistent memory across worker iterations:
- Current step and execution status
- Checkbox progress (checked off as work completes)
- Review metadata and verdicts
- Execution log with timestamps
- Discoveries and blockers
Workers update this file after completing each checkbox item. It serves as crash-recovery memory — if a worker's context resets, the next iteration reads STATUS.md to know exactly where to resume.
Start a pi session from your project root:
piInside the pi session, run a single task by passing its PROMPT.md path to /orch:
/orch taskplane-tasks/EXAMPLE-001-hello-world/PROMPT.md
The orchestrator will:
- Parse the task's
PROMPT.md - Create an isolated git worktree for execution
- Spawn a worker agent in the worktree
- The worker reads
STATUS.md, finds the first unchecked item, and starts working - After each completed checkbox, the worker updates
STATUS.md - At step boundaries, the worker creates checkpoint commits
- When all steps are complete, the worker creates a
.DONEfile - The orchestrator merges the result into the orch branch
Your working branch stays untouched throughout — all changes happen in the isolated worktree.
While the task is running, check progress:
/orch-status
You'll see the batch status with wave and lane information, including step-level progress for your task.
If you launched the dashboard (taskplane dashboard in a separate terminal), open http://localhost:8099 in your browser. The dashboard shows real-time progress with SSE streaming — lane status, task progress, reviewer activity, and merge results.
To pause after the current worker iteration finishes:
/orch-pause
To resume:
/orch-resume
The example task is intentionally small and may complete before a pause takes effect. That's normal.
After the task completes, confirm these artifacts:
.DONEfile exists — the authoritative completion marker:
ls taskplane-tasks/EXAMPLE-001-hello-world/.DONE-
STATUS.md shows all checkboxes complete — open the file and verify all items are checked (
- [x]). -
Task deliverables exist — for the hello-world example, check that
hello-taskplane.mdwas created in the worktree and merged to the orch branch.
To bring the completed work into your working branch:
/orch-integrate
Taskplane uses a persistent-context execution model:
- A single worker handles all steps within one context window
- The worker reads
STATUS.mdto determine where to resume - After each checkbox item, the worker updates
STATUS.mdimmediately - At step boundaries, the worker creates git checkpoint commits
- If the context window fills up, a new worker iteration starts fresh — reading
STATUS.mdto pick up where the previous iteration left off
This design makes execution resumable and robust against interruption. STATUS.md is the worker's only memory — everything needed to continue is persisted there.
Ensure you're passing the correct path to the PROMPT.md file:
/orch taskplane-tasks/EXAMPLE-001-hello-world/PROMPT.md
The path should be relative to the project root.
The task may have already completed. Check for a .DONE file in the task folder, or review STATUS.md for the final status.
Use /orch-status to inspect detailed progress. If the worker is looping on the same item, check STATUS.md in the worktree for blockers or errors logged in the execution log.
If the orch branch has conflicts with your working branch, /orch-integrate will guide you through resolution. The merge agent handles most conflicts automatically.
- Configure Worker & Reviews — customize worker model, reviewer settings, and context injection
- Configure Task Orchestrator — adjust lanes, merge behavior, and batch settings
- Pause, Resume, or Abort a Batch — operational control for running batches