# fix\(server\): steering Claude interrupts a running foreground command · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/154b55fce3e73c65c0174a0688a0d1d3d6538504)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 154b55fce3e73c65c0174a0688a0d1d3d6538504

Requested commit: 154b55fce3e73c65c0174a0688a0d1d3d6538504

Commit: 154b55fce3e73c65c0174a0688a0d1d3d6538504

Tree: e9e7ff932821ebf9895890e98749e8d7d1380122

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(server): steering Claude interrupts a running foreground command

A steer sent with priority "now" cancels pending tool calls, but Claude
Code lets a running Bash command finish first, so a steer during a long
command went unanswered until it exited (#15720).

When a root tool call is still running, the steer now interrupts the live
query first, as Esc would, then sends the message. The interrupt's
aborted_tools result already ends only that segment of a steered turn, so
the query and the orchestration turn stay open. Foreground subagents still
move to the background before the interrupt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [8ad3df80780e58fc1a77e0c9a27bce198224b57f](https://git.cafe/pingdotgg/t3code/commit/8ad3df80780e58fc1a77e0c9a27bce198224b57f?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/154b55fce3e73c65c0174a0688a0d1d3d6538504?format=markdown)
