A shell command keeps running in the background when a plugin aborts the turn that started it.
What's wrong with this entry?
When a plugin aborts the current turn (the model sees [Request interrupted by a plugin for tool use]), a shell command started by that turn is no longer killed and is no longer refused at spawn time. It keeps running in the background instead. This is live for everyone on this build and only applies to that one abort reason.
- Shell calls are now tagged with who started them:
inner,turnoragent. Onlyturncalls get the survive-the-abort treatment. - The per-call opt-in is computed at the Bash and PowerShell call sites and is true only when backgrounding is not otherwise forbidden and the command parses as a simple, non-interactive command line.
- Interactive or compound command lines are still terminated on abort, as before.
- No flag controls this; the two helpers behind it did not exist in 2.1.246.
turnAbortBackgrounds
Strings lifted out of the shipped bundle, so the claim above can be checked against them.