skip to content

In OpenClaw's default steer queue mode, what happens to a running tool call, and to the calls planned after it, when a new message arrives mid-run?

level: seniorimportance: should knowfreq 6%

answer

  1. steer is not an abort
  2. checked at tool-launch boundaries
  3. unstarted sequential tail skipped
  4. synthetic paired result per skipped call
  5. interrupt mode to cut off

basics

~20 s

Steering does not abort a tool that is already running. It finishes, any planned sequential calls that have not started are skipped with a synthetic result, and the new message is added before the next model call. Interrupt mode is the one that aborts.

solid answer

~40 s

`steer` applies a mid-run message at runtime boundaries, not mid-tool. In the built-in runtime, OpenClaw checks immediately before each sequential tool call and once before launching a parallel batch. A call that is already running finishes; if a steer is waiting, the unstarted sequential tail is skipped, and each skipped call gets paired start and end events plus the synthetic result `Skipped to process an incoming message.`, so the transcript stays valid. The steering message is appended before the next LLM call, and each steered input still gets its own answer, in order. If the runtime cannot accept steering, the message waits for the run to end. The native Codex app-server instead receives one batched `turn/steer` at its next model boundary. To abort the work in progress, use `/queue interrupt` rather than steering.

go deeper

for a junior

Remember that steering adds your message to the running turn but does not stop a tool already running; interrupt is the mode that aborts.

for a middle

Explain the boundary checks for sequential and parallel tools, the synthetic Skipped result that keeps every call paired, and that each steered input gets its own answer.

for a senior

Explain from a transcript why tools show as Skipped or replies arrive in pieces, and pick steer, interrupt or an explicit /steer for the situation, including runtimes that cannot accept steering.

for a principal

Judge where half-finished side effects are worse than a slower correction, and set the queue default per channel so mid-run messages do not leave important work half-done.

## Steering is not an abort In OpenClaw the default queue mode, `steer`, sends a message that arrives mid-run into the **active run** instead of starting a second one. A common assumption is that this interrupts whatever the agent is doing. It does not. Steering is applied at **runtime boundaries**, the points just before a tool launches or before the next model call, so work already executing is left to finish. ## What happens at the boundary In the built-in OpenClaw runtime, when the assistant has asked for several tool calls and a steering message is waiting: 1. **Sequential tools** are checked immediately before each call starts, including after asynchronous resolution, validation and pre-execution hooks. 2. **A running call finishes.** If a steer is waiting afterwards, the unstarted sequential tail is skipped. 3. **Parallel tools** are prepared first and checked once before the prepared batch launches; calls that crossed that checkpoint continue together. 4. **Every skipped call** gets paired tool start and end events and a synthetic result, `Skipped to process an incoming message.`, in the order the assistant requested them. The Control UI labels these calls **Skipped**. 5. **The drained steering message** is appended before the next LLM call, so the model sees it before deciding which tools to run next. Because each requested call still has a matching result, the transcript stays valid, and the model knows which tools did not run. ## What the user sees - In the built-in runtime, each steered user input gets **its own delivered answer, in order**; a later answer does not replace a completed answer to an earlier input. - With channel streaming set to `partial` or `block`, steering can look like **several short replies**: a preview may finalize early, then a new one starts once the steer is accepted. - A skipped tool does not always mean a user message is waiting: internal updates such as sub-agent completion reports use the same boundary. ## When steering is not possible Steering needs a runtime that can accept it and a compatible sender: - If the active runtime **cannot accept steering**, OpenClaw waits for the run to end and then starts the prompt, as a followup would. - The native **Codex app-server** harness does not use OpenClaw's per-tool boundary. OpenClaw batches queued prompts for the quiet window and sends one `turn/steer`, which Codex applies at its next model boundary. - Input from a sender with **different permissions** (role scopes, sandbox requirement, tool policy and similar) is queued as a followup instead of borrowing the active run's authority. - Codex review turns and manual compaction turns reject same-turn steering, so a message sent during them waits for the turn to end. - ACP harness sessions cannot accept input mid-turn; `/acp steer` queues the instruction and runs it after the active turn finishes. A message still waiting in the steering queue, before delivery starts, can be withdrawn by an authorized client with `chat.abort` and that message's `runId`, without stopping the active run. Once delivery has started, withdrawal is no longer guaranteed. ## Steer, interrupt and the explicit command | Tool | Effect on the running work | | --- | --- | | `/queue steer` (default) | Future mid-run messages join the run; running tools finish | | `/queue interrupt` | Future mid-run messages abort the active run, then the newest runs | | `/steer <message>` or `/tell` | Steers this one message regardless of the stored mode; starts a normal turn if nothing can be steered | Choose `interrupt` when the newest message should replace the work in progress, for instance when a long tool chain is heading the wrong way and its remaining steps are worthless. Keep `steer` when the new message refines the task and the work already done is worth keeping. ## Why it is designed this way Killing a tool mid-flight leaves side effects half-applied: a file half-written, a command half-run, a message half-sent. Waiting for the boundary trades a little latency for a consistent state, and the synthetic results tell the model exactly which planned steps never ran, so it can re-plan with the user's new instruction in view.

  • In OpenClaw, how do you make new messages abort the active run instead of steering it?
    Switch the session to `/queue interrupt`, or set `messages.queue.mode` (or a `messages.queue.byChannel` entry) to `"interrupt"`. A mid-run message then aborts the active run for that session and the newest message runs. Steering never does this: it lets running tools finish and only skips calls that have not started.
  • Why can steering in OpenClaw make the agent look as if it sent several short replies?
    With channel streaming set to `partial` or `block`, the current preview can finalize early when steering is accepted and a new preview starts afterwards, so the turn appears as several messages. In addition, the built-in runtime gives each steered input its own delivered answer in order, so three steered messages can produce three answers rather than one merged reply.
  • What is OpenClaw's `/steer` command for if steer is already the default queue mode?
    `/steer <message>` (alias `/tell`) steers that one message into the current session's active run regardless of the stored `/queue` mode, so it works even when the session is set to `followup` or `collect`. If the session is idle or the runtime cannot accept steering, the prefix is stripped and the message runs as a normal prompt. It is Gateway-backed and not available in local embedded mode.

Steering is like handing a cook a note mid-recipe: the pan already on the heat finishes cooking, the steps not yet started are set aside with a mark saying so, and the cook reads the note before deciding what to make next.

  • Steer mode kills the running shell command so the new message is handled at once.
  • Tool calls skipped by steering are silently removed from the transcript.
  • A steered message replaces the answer to the earlier message.
  • Steer and interrupt both abort the active run and differ only in name.
  • A steering message runs with the new sender's permissions inside the active run.