Worktree checkpoints
Publish lightweight status comments and workspace card statuses from coding agents via the Orca CLI to keep collaborators in the loop.
Every Orca worktree carries a lightweight, free-text comment field visible in the UI — a status snapshot of what the worktree is doing right now. Agents can update it from the CLI, and it's the pattern we recommend for keeping human collaborators in the loop without forcing chat.
The pattern
orca worktree set --worktree active --comment "reproduced auth failure; testing credential-chain fix" --jsonCard status (optional)
Alongside the free-text comment, set the workspace card status when the phase changes:
orca worktree set --worktree active \
--comment "fix implemented; running integration tests" \
--workspace-status in-progress \
--jsonStatuses: todo, in-progress, in-review, completed (or a custom id your workspace uses).
Good checkpoint moments
- Finished a meaningful slice of implementation.
- Confirmed or refuted a hypothesis.
- Completed a code review.
- Hit a blocker (waiting on external input, upstream bug, missing access).
- Transitioning from investigation to fix, or fix to verify.
Format
First line is the action: what just happened, where, and the status or next step.
orca worktree set --worktree active --comment "added debounce to SearchBar onChange (src/components/SearchBar.tsx); ready for review
goal: reduce redundant API calls per #298" --jsonReading before writing
If the comment might have user-written context, read it first so you don't clobber goals or constraints:
orca worktree current --jsonPreserve what's still valid, drop what's stale, and weave in your update.