Skip to Content
kusaw docsv1.0.0

Rerun, requeue, resume or steer

[Resume](../glossary.md#resume), [restart](../glossary.md#restart), [requeue](../glossary.md#requeue), take over, stop, and dismiss do different jobs. Use the row that matches the situation.

Resume, restart, requeue, take over, stop, and dismiss do different jobs. Use the row that matches the situation.

SituationActionCommand
The run failed and the task needs a hintRequeue with a notekusaw requeue <run> --note "..."
A step failed for a passing reason (a flaky test)Resume or restartkusaw resume <run> --failed-only or kusaw restart <run>
You want to finish it by handTake overMCP take-over tool (no CLI command)
You don't want it any moreStop or dismisskusaw stop <run> or kusaw dismiss <run>

kusaw serve has to be running to pick up these requests.

ActionCLIDashboard
Requeue with a notekusaw requeue <run> --note "..."Requeue (note required)
Resume failed reposkusaw resume <run> --failed-onlyResume failed repos
Restart the runkusaw restart <run> (needs --yes when there is no terminal)Restart run
Take overMCP take-over toolShown on the run after take-over; the Dashboard does not offer Take over
Stopkusaw stop <run>Stop all stops every running run; stop one run from the CLI
Dismisskusaw dismiss <run>Dismiss
Unpause the queuekusaw resumeResume

Requeue with a note

Use this when the run is needs_attention, failed, or stopped, and the task needs a hint. The note is required (requeue needs a note.).

Requeue starts the next run of that task from the last checkpoint, on a new branch factory/<task>-<seq>, with your note and the last findings as try-1 feedback. A requeue of a partially delivered run is refused; use resume or restart.

On the Dashboard, Requeue explains: it starts the next run on a new branch from the last checkpoint, and the current run is dismissed automatically.

Resume or restart

Use this when a step failed for a passing reason (a flaky test) and the task itself is fine.

  • kusaw resume <run> --failed-only reruns the failed repositories in the worktrees that were kept. The run id, branch, and change-set id stay the same. Dashboard: Resume failed repos.
  • kusaw restart <run> reruns every repository from its base commits. Without a terminal it exits 2 and asks for --yes. Dashboard: Restart run. Earlier commits are kept at refs/factory/backup/<run>/<n>.

kusaw resume with no run id still unpauses the queue. That is not a rerun.

Take over

Use this when you want to finish the work by hand. Take over stops a queued, running, or waiting run and keeps its worktrees. There is no take-over CLI command; use the MCP take-over tool. The Dashboard shows a taken-over run and does not offer Take over.

The run ends stopped with reason taken_over. Continue on the kept branch and worktree, then kusaw dismiss <run> (Dashboard Dismiss) to remove the worktree. The branch stays.

Stop or dismiss

  • kusaw stop <run> — you don't want this run any more while it is still queued, running, or waiting. Worktrees are removed. Dashboard Stop all is the factory-wide form (kusaw stop --all): every running or finalizing run stops and the queue pauses.
  • kusaw dismiss <run> — the run is already needs_attention or taken over. Dismiss removes the worktree and keeps the branch. You can still requeue afterwards.

If it goes wrong

  • requeue needs a note. — pass --note, or type the note in Requeue before you confirm.
  • Run "<run>" can't be requeued from … — requeue only from needs_attention, failed, or stopped. For a flaky failure on a finished run, resume or restart instead.
  • A requeue of a partially delivered run is refused — use kusaw resume <run> --failed-only or kusaw restart <run>.
  • Resume with a run id needs --failed-only. kusaw resume with no run id only unpauses the queue.
  • Restart needs confirmation — pass --yes, or confirm Restart run on the Dashboard.
  • Run "<run>" is not in needs_attention or taken over — dismiss is for those runs only. Stop a live run with kusaw stop <run>.
  • The run stays queued — the queue is Paused. kusaw resume with no run id, or Resume.

On this page