Teknium
3ae67dc3d6
fix(delegation): stopping a turn no longer kills background subagents
...
Ctrl+C, Esc, the Desktop/TUI Stop button, a message that interrupts and
an ACP cancel end the current turn. They also called
async_delegation.interrupt_for_session, so every background subagent the
session had dispatched died with the turn: one Ctrl+C took down a running
/review and both of its sub-reviewers. A background subagent is
independent of the chat that spawned it (Teknium ruling), so a turn stop
now hard-cancels only the turn:
- gateway SessionAuthority.interrupt (Desktop, Ink, classic CLI view,
ACP-through-gateway, messaging interrupts, api_server run cancel)
- tui_gateway session.interrupt (legacy Desktop/TUI stop)
- acp_adapter cancel
The explicit /stop command still ends them (CLI and Ink process.stop,
gateway /stop busy and idle paths), and so does closing or resetting the
session. Reverses the turn-stop half of b71359066c and 659e55ac71d;
tests/gateway/test_canonical_stop_hard_cancel.py now pins the delegation
surviving a canonical Stop.
2026-10-25 18:33:24 -07:00
..
2026-10-25 19:25:17 -04:00
2026-10-25 19:16:23 -04:00
2026-10-25 11:28:44 -04:00
2026-10-19 19:15:44 +05:30
2026-10-23 01:41:24 -07:00
2026-10-25 03:22:49 -07:00
2026-10-23 01:42:27 -07:00
2026-10-23 01:42:44 -07:00
2026-10-25 11:38:48 -04:00
2026-10-23 01:41:24 -07:00
2026-10-22 12:49:48 -07:00
2026-10-23 01:42:27 -07:00
2026-10-19 23:04:43 +02:00
2026-10-20 03:08:06 -07:00
2026-10-22 13:50:11 -07:00
2026-10-25 11:37:57 -04:00
2026-10-25 11:37:57 -04:00
2026-10-20 03:19:01 -07:00
2026-10-25 17:49:10 -04:00
2026-10-25 11:34:11 -04:00
2026-10-20 03:19:01 -07:00
2026-10-20 08:42:13 -07:00
2026-10-21 17:06:03 -07:00
2026-10-18 23:09:04 -07:00
2026-10-20 03:57:15 -07:00
2026-10-20 03:17:18 -07:00
2026-10-25 03:22:42 -07:00
2026-10-25 03:22:14 -07:00
2026-10-23 01:41:24 -07:00
2026-10-25 18:33:24 -07:00
2026-10-19 06:54:34 -07:00
2026-10-25 11:36:11 -04:00
2026-10-23 01:41:24 -07:00
2026-10-22 14:37:10 -07:00
2026-10-20 13:08:24 +05:30
2026-10-20 03:19:01 -07:00
2026-10-25 03:22:36 -07:00
2026-10-24 05:21:17 -07:00
2026-10-23 01:41:24 -07:00
2026-10-20 03:19:01 -07:00
2026-10-25 19:16:23 -04:00
2026-10-23 01:41:24 -07:00
2026-10-23 17:40:07 -07:00
2026-10-20 21:04:30 -04:00
2026-10-19 10:18:14 -04:00
2026-10-22 14:47:33 +05:30
2026-10-23 17:40:07 -07:00
2026-10-25 03:22:32 -07:00
2026-10-23 01:41:24 -07:00
2026-10-24 12:01:20 -07:00
2026-10-25 06:18:48 -07:00
2026-10-25 06:18:48 -07:00
2026-10-25 06:18:48 -07:00
2026-10-25 06:18:48 -07:00
2026-10-20 08:42:13 -07:00
2026-10-19 22:19:31 -07:00
2026-10-23 01:41:24 -07:00
2026-10-19 03:00:38 -07:00
2026-10-24 11:47:35 -07:00
2026-10-25 19:21:41 -04:00
2026-10-25 19:18:26 -04:00
2026-10-20 14:16:54 +05:30
2026-10-22 17:16:22 +05:30
2026-10-18 20:59:44 -07:00
2026-10-25 11:38:48 -04:00
2026-10-19 01:17:33 -07:00
2026-10-19 01:17:33 -07:00
2026-10-19 01:17:33 -07:00
2026-10-19 01:17:33 -07:00
2026-10-24 05:31:00 -07:00
2026-10-25 11:41:09 -04:00
2026-10-20 03:58:15 -07:00
2026-10-24 19:45:27 -07:00
2026-10-22 13:50:11 -07:00
2026-10-22 23:14:51 -04:00
2026-10-23 06:08:25 +05:30
2026-10-22 10:55:52 -07:00
2026-10-25 19:25:17 -04:00
2026-10-20 03:22:11 -07:00
2026-10-25 19:25:17 -04:00
2026-10-25 19:25:17 -04:00
2026-10-25 19:25:17 -04:00
2026-10-25 19:25:17 -04:00
2026-10-22 13:52:51 -07:00
2026-10-25 19:25:17 -04:00
2026-10-25 19:25:17 -04:00
2026-10-25 19:25:17 -04:00
2026-10-25 19:25:17 -04:00
2026-10-20 03:08:06 -07:00
2026-10-18 23:04:52 -07:00
2026-10-24 07:13:08 -07:00
2026-10-19 23:04:43 +02:00
2026-10-20 03:09:11 -07:00
2026-10-25 19:16:23 -04:00
2026-10-25 10:42:07 -04:00
2026-10-20 03:08:06 -07:00
2026-10-25 19:16:23 -04:00
2026-10-20 03:56:44 -07:00
2026-10-25 19:16:23 -04:00
2026-10-23 21:27:08 +02:00
2026-10-20 03:17:18 -07:00
2026-10-20 03:17:18 -07:00
2026-10-25 19:16:23 -04:00
2026-10-25 11:38:48 -04:00
2026-10-22 17:16:22 +05:30
2026-10-24 12:34:49 +05:30
2026-10-19 10:18:29 -04:00
2026-10-23 01:42:27 -07:00
2026-10-23 17:40:07 -07:00
2026-10-24 16:00:35 -07:00
2026-10-25 03:22:37 -07:00
2026-10-25 19:15:29 -04:00
2026-10-22 14:37:10 -07:00
2026-10-20 13:08:24 +05:30
2026-10-25 11:38:48 -04:00
2026-10-20 03:08:06 -07:00
2026-10-25 11:37:02 -04:00
2026-10-19 23:04:43 +02:00
2026-10-25 11:38:48 -04:00
2026-10-24 18:55:33 -07:00
2026-10-21 01:39:29 -07:00
2026-10-25 19:25:17 -04:00
2026-10-20 14:13:35 +05:30
2026-10-20 15:51:03 +05:30
2026-10-21 01:39:29 -07:00
2026-10-25 11:36:11 -04:00
2026-10-21 10:08:33 -04:00
2026-10-23 01:41:24 -07:00
2026-10-24 12:34:49 +05:30
2026-10-25 11:38:48 -04:00
2026-10-19 14:40:07 +02:00
2026-10-25 11:32:44 -04:00
2026-10-18 22:58:30 -07:00
2026-10-19 14:40:07 +02:00
2026-10-20 03:17:18 -07:00
2026-10-19 03:00:38 -07:00
2026-10-19 03:00:38 -07:00
2026-10-23 00:37:14 -07:00
2026-10-24 18:43:29 -07:00
2026-10-18 22:52:59 -07:00
2026-10-19 01:14:15 -07:00
2026-10-19 11:41:34 -07:00
2026-10-22 10:55:52 -07:00
2026-10-25 11:34:11 -04:00
2026-10-24 12:34:49 +05:30
2026-10-20 15:08:20 +05:30
2026-10-20 03:09:11 -07:00
2026-10-20 13:06:06 +05:30
2026-10-20 14:15:49 +05:30
2026-10-19 03:41:28 -07:00
2026-10-23 01:41:24 -07:00
2026-10-25 19:27:02 -04:00
2026-10-20 08:42:13 -07:00
2026-10-20 08:42:13 -07:00
2026-10-25 19:15:29 -04:00
2026-10-25 11:39:45 -04:00
2026-10-19 23:04:43 +02:00
2026-10-24 06:27:11 -07:00
2026-10-24 08:38:00 -07:00
2026-10-19 01:15:18 -07:00
2026-10-19 21:47:53 -07:00
2026-10-25 11:35:06 -04:00
2026-10-25 11:41:09 -04:00
2026-10-25 11:34:11 -04:00
2026-10-18 21:00:03 -07:00
2026-10-25 19:25:17 -04:00
2026-10-25 04:16:14 -07:00
2026-10-20 21:04:30 -04:00
2026-10-22 13:50:11 -07:00
2026-10-20 03:19:01 -07:00
2026-10-25 03:22:38 -07:00
2026-10-25 03:22:33 -07:00
2026-10-25 03:22:37 -07:00
2026-10-25 03:22:31 -07:00
2026-10-25 03:22:38 -07:00
2026-10-25 03:22:42 -07:00
2026-10-25 03:22:40 -07:00
2026-10-25 03:22:38 -07:00
2026-10-20 23:35:44 -04:00
2026-10-25 19:25:17 -04:00
2026-10-20 03:22:11 -07:00
2026-10-25 19:25:17 -04:00
2026-10-25 19:25:17 -04:00
2026-10-25 19:25:17 -04:00