rhan-oai
2b5111917c
Tag all multi-agent role instructions consistently ( #62842 )
...
## Why
Only catalog role instructions carried the `<multi_agent_role>` tag,
so the same guidance appeared in different formats depending on its source.
## What changed
Render bundled, catalog, and configured root and subagent guidance as
`multi_agent.role_instructions` developer messages. Wrap the guidance in
`<multi_agent_role>` tags and preserve configured text that's already tagged.
Match untagged parent guidance by its body when filtering forked history.
## Testing
Update prompt and session assertions for tagged role instructions, and keep
the cold-resume test exercising a rollout with legacy untagged guidance.
GitOrigin-RevId: 60c55b5d7227811b92bd1bf125f1cd3a965720fd
2026-11-20 21:42:17 +00:00
..
2026-11-10 01:30:08 +00:00
2026-11-20 21:42:17 +00:00
2026-11-04 13:03:01 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-13 22:01:26 +00:00
2026-11-20 01:48:00 +00:00
2026-11-20 06:05:04 +00:00
2026-11-20 06:05:04 +00:00
2026-11-17 20:04:36 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-30 18:33:14 +00:00
2026-11-17 14:20:08 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-10-05 18:52:51 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-03 12:33:26 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-09-30 17:33:59 +00:00
2026-11-17 20:04:36 +00:00
2026-11-20 21:42:17 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-04 00:19:12 +00:00
2026-11-03 21:24:16 +00:00
2026-10-30 20:53:25 +00:00
2026-11-03 21:24:16 +00:00
2026-11-03 21:24:16 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 21:40:36 +00:00
2026-11-17 22:58:38 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-10 21:28:22 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 22:58:38 +00:00
2026-11-20 21:42:17 +00:00
2026-11-17 20:04:36 +00:00
2026-10-30 18:33:14 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-17 22:58:38 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 20:04:36 +00:00
2026-11-16 04:54:23 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-13 18:46:45 +00:00
2026-11-17 16:16:36 +00:00
2026-11-20 21:42:17 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 18:24:49 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-20 20:24:34 +00:00
2026-11-20 20:24:34 +00:00
2026-11-20 20:24:34 +00:00
2026-11-18 19:39:41 +00:00
2026-11-02 20:10:37 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 22:58:38 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-20 21:42:17 +00:00
2026-11-04 13:03:01 +00:00
2026-11-02 21:35:56 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-06 03:27:04 +00:00
2026-10-06 03:27:04 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-30 18:33:14 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-10-21 10:40:59 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 22:58:38 +00:00
2026-11-17 22:58:38 +00:00
2026-11-17 20:04:36 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 20:04:36 +00:00
2026-11-20 21:42:17 +00:00
2026-10-30 18:33:14 +00:00
2026-11-18 15:24:29 +00:00
2026-11-17 23:31:58 +00:00
2026-11-17 03:48:25 +00:00
2026-11-17 03:48:25 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-10-30 20:53:25 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-19 00:59:23 +00:00
2026-11-17 20:04:36 +00:00
2026-11-16 04:54:23 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-17 20:04:36 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-27 19:11:56 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 18:33:14 +00:00