The hint under the question promised "/cancel cancels the turn", but the
gateway knew the command nowhere -- a /cancel was handed to the model as the
operator's answer and the turn went on with that as its decision. The gateway
runs its turns on sp_agent, so there was no cancel flag the chat could set.
tg_ask now takes /cancel (and "cancel", case-blind) as the way out: it sets
tg_cancelled, says so in the chat (new key ask.cancelled, de/en/pt_BR) and
returns -2, which the tool reports as "no answer: the operator cancelled".
gcfg.cancel points at that flag -- the agent already reads cfg->cancel
between steps -- and it is cleared at the start of every turn so a cancel
ends the turn it was meant for.
Test evidence: tests/test_gateway.sh grew a case where the fake operator
replies /cancel to the question. Proven red against the old code (2 FAILs:
"/cancel is acknowledged in the chat", "/cancel does not reach the model as
the answer") and green on the fix. The existing gateway case is unchanged
(FAKE_ANSWER defaults to ok). test_gateway: ok, make check green (336 s).