sayan-oai
c1934fc99e
Resolve saved Daybreak choices for each subagent turn ( #60773 )
...
## Why
A subagent can use a different model from its parent, with different supported access programs. Saved Daybreak choices need to resolve against the subagent's model and remain consistent throughout its turn, including compaction.
## What changed
- Resolve saved choices before native subagent turns start, preserving explicit turn overrides and applying saved toggles on later turns.
- Distinguish inherited parent programs from explicit child selections. Adapt inherited Daybreak Blue/Red selections to the child model while retaining the saved choice as the default for later turns and nested subagents.
- Validate the account associated with automatic selections and reject incompatible saved choices before sending model requests, while retaining rejected user input in conversation history.
- Require model changes to wait until the next turn when a saved Daybreak choice is present.
## Testing
Add coverage for both multi-agent spawn versions, model-specific selection, automatic compaction, WebSocket response reuse, account changes, unsupported choices, and rejected-input persistence across resume.
GitOrigin-RevId: 11971138d656600d9878187225e4d33217e68ad4
2026-11-11 10:10:37 +00:00
..
2026-11-03 10:01:36 +00:00
2026-11-09 22:20:07 +00:00
2026-11-10 21:28:22 +00:00
2026-11-02 22:56:19 +00:00
2026-11-04 19:58:24 +00:00
2026-11-05 21:21:19 +00:00
2026-11-10 01:30:08 +00:00
2026-11-08 02:27:59 +00:00
2026-11-03 10:44:27 +00:00
2026-11-06 01:50:20 +00:00
2026-11-04 09:51:28 +00:00
2026-11-10 19:13:55 +00:00
2026-11-04 16:34:49 +00:00
2026-11-07 10:41:36 +00:00
2026-11-03 06:05:55 +00:00
2026-11-03 06:05:55 +00:00
2026-11-04 00:19:12 +00:00
2026-11-03 01:58:18 +00:00
2026-11-06 06:07:46 +00:00
2026-11-11 05:38:52 +00:00
2026-11-02 14:06:17 +00:00
2026-11-09 19:50:14 +00:00
2026-11-07 07:45:36 +00:00
2026-11-04 04:02:00 +00:00
2026-11-07 19:26:20 +00:00
2026-11-10 21:28:22 +00:00
2026-11-10 18:33:49 +00:00
2026-11-02 14:06:17 +00:00
2026-11-04 00:19:12 +00:00
2026-11-10 03:21:26 +00:00
2026-11-10 01:30:08 +00:00
2026-11-03 22:29:33 +00:00
2026-11-11 10:10:37 +00:00
2026-11-05 00:55:46 +00:00
2026-11-09 22:20:07 +00:00
2026-11-06 03:51:12 +00:00
2026-11-06 03:51:12 +00:00
2026-11-10 16:13:17 +00:00
2026-11-03 21:00:31 +00:00
2026-10-29 12:54:39 +00:00
2026-10-29 12:37:59 +00:00
2026-11-05 22:49:46 +00:00
2026-11-04 20:37:39 +00:00
2026-11-04 16:33:22 +00:00
2026-11-02 21:09:37 +00:00
2026-11-03 11:43:00 +00:00
2026-10-30 15:11:02 +00:00
2026-11-05 19:20:56 +00:00
2026-11-09 22:20:07 +00:00
2026-10-30 15:28:20 +00:00
2026-11-05 00:39:39 +00:00
2026-11-04 13:03:01 +00:00
2026-11-07 03:16:52 +00:00
2026-11-07 03:16:52 +00:00
2026-11-02 21:09:37 +00:00
2026-11-05 22:03:29 +00:00
2026-10-30 17:32:09 +00:00
2026-11-07 03:06:33 +00:00
2026-11-02 21:09:37 +00:00
2026-11-07 02:28:44 +00:00
2026-11-04 19:58:49 +00:00
2026-11-11 06:17:00 +00:00
2026-11-07 10:41:36 +00:00
2026-11-07 21:31:08 +00:00
2026-11-04 21:23:11 +00:00
2026-11-03 21:24:16 +00:00
2026-11-07 03:16:52 +00:00
2026-11-07 03:16:52 +00:00
2026-11-06 23:50:54 +00:00
2026-11-10 01:30:43 +00:00
2026-11-06 20:36:32 +00:00
2026-11-04 09:51:28 +00:00
2026-11-06 02:42:02 +00:00
2026-10-29 10:34:17 +00:00
2026-11-02 19:25:02 +00:00
2026-10-30 20:53:25 +00:00
2026-11-04 01:13:54 +00:00
2026-10-30 18:33:14 +00:00
2026-11-02 19:38:59 +00:00
2026-11-09 20:24:40 +00:00
2026-11-10 04:56:49 +00:00
2026-11-04 19:58:24 +00:00
2026-11-04 01:15:38 +00:00
2026-11-06 19:29:06 +00:00
2026-11-07 03:16:52 +00:00
2026-11-03 11:14:59 +00:00
2026-11-05 03:49:13 +00:00
2026-11-05 03:49:13 +00:00
2026-11-06 07:43:44 +00:00
2026-11-05 22:49:46 +00:00
2026-10-29 19:16:28 +00:00
2026-11-06 19:29:06 +00:00
2026-11-10 03:21:26 +00:00
2026-11-07 03:06:33 +00:00
2026-11-03 12:08:52 +00:00
2026-11-02 19:25:02 +00:00
2026-11-10 04:56:49 +00:00
2026-11-07 09:48:46 +00:00
2026-11-07 00:18:36 +00:00
2026-11-03 12:33:26 +00:00
2026-11-04 19:10:59 +00:00
2026-11-04 00:19:12 +00:00
2026-11-05 00:39:39 +00:00
2026-11-05 11:14:26 +00:00
2026-11-04 13:03:01 +00:00
2026-11-08 01:13:32 +00:00
2026-11-04 02:00:01 +00:00
2026-11-05 20:57:03 +00:00
2026-11-05 20:55:46 +00:00
2026-11-05 20:55:46 +00:00
2026-11-10 19:30:21 +00:00
2026-11-05 13:38:12 +00:00
2026-11-02 18:43:57 +00:00
2026-11-07 21:44:47 +00:00
2026-11-10 16:13:17 +00:00
2026-11-04 13:03:01 +00:00
2026-10-29 11:23:51 +00:00
2026-11-09 17:58:16 +00:00
2026-11-05 22:03:29 +00:00
2026-11-11 06:41:15 +00:00
2026-11-06 00:24:27 +00:00
2026-10-30 18:20:57 +00:00
2026-11-04 01:15:38 +00:00
2026-11-03 06:05:55 +00:00
2026-11-02 07:27:49 +00:00
2026-11-03 12:08:52 +00:00
2026-11-10 21:28:22 +00:00
2026-10-30 18:33:14 +00:00
2026-11-06 16:00:54 +00:00
2026-11-09 22:20:07 +00:00
2026-11-04 01:12:49 +00:00
2026-11-03 01:58:18 +00:00
2026-11-02 16:00:20 +00:00
2026-11-11 08:16:52 +00:00
2026-11-06 00:24:27 +00:00
2026-10-30 18:33:14 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 19:58:24 +00:00
2026-11-04 19:58:24 +00:00
2026-11-10 19:40:10 +00:00
2026-10-30 20:53:25 +00:00
2026-11-04 01:24:36 +00:00
2026-11-07 03:16:52 +00:00
2026-11-10 00:54:30 +00:00