rhan-oai
a8c36ca6d2
Centralize model-message resolution and rendering in codex-prompts ( #46026 )
...
## What changed
- Add `ResolvedModelMessages` to resolve catalog text and bundled defaults while preserving explicit empty overrides and their source.
- Move base-instruction rendering, Guardian prompt composition, multi-agent role rendering, and `update_plan` guidance filtering into `codex-prompts`; migrate consumers to the shared APIs.
- Separate permission-profile resolution from prompt composition, and annotate Guardian policy and classifier instructions with content kinds.
## Testing
Add and update coverage for missing versus empty templates, literal overrides, multi-agent role composition, Guardian policy substitution and truncation, and preservation of permission path spellings and order.
GitOrigin-RevId: 52335bb7acec0f432d5c57acb2accd5f0276056e
2026-09-16 21:01:13 +00:00
..
2026-09-16 21:01:13 +00:00
2026-09-16 21:01:13 +00:00
2026-09-16 21:01:13 +00:00
2026-09-16 21:01:13 +00:00
2026-09-01 18:24:56 +00:00
2026-09-16 21:01:13 +00:00
2026-09-09 17:45:37 +00:00
2026-09-14 15:30:22 +00:00
2026-08-21 06:41:28 +00:00
2026-08-31 22:38:23 +00:00
2026-08-25 05:16:45 +00:00
2026-09-16 21:01:13 +00:00
2026-09-16 00:54:58 +00:00
2026-09-16 04:23:46 +00:00
2026-09-14 19:30:11 +00:00
2026-09-16 21:01:13 +00:00
2026-09-16 04:23:46 +00:00
2026-08-25 13:10:24 +00:00
2026-09-11 01:57:54 +00:00
2026-09-16 04:59:23 +00:00
2026-09-16 04:59:23 +00:00
2026-09-02 23:58:24 +00:00
2026-09-02 23:58:24 +00:00
2026-09-14 23:25:09 +00:00
2026-09-09 17:56:06 +00:00
2026-09-16 19:32:16 +00:00
2026-09-16 19:32:16 +00:00
2026-09-10 21:30:56 +00:00
2026-09-15 00:29:13 +00:00
2026-09-16 04:23:46 +00:00
2026-09-09 18:40:53 +00:00
2026-09-09 18:40:53 +00:00
2026-09-09 18:40:53 +00:00
2026-09-13 15:47:59 +00:00
2026-09-14 23:25:09 +00:00
2026-09-15 21:19:08 +00:00
2026-09-15 20:41:39 +00:00
2026-09-14 23:25:09 +00:00
2026-09-10 18:24:13 +00:00
2026-09-15 20:41:39 +00:00
2026-09-01 13:43:27 +00:00
2026-09-10 21:51:34 +00:00
2026-08-25 19:54:52 +00:00
2026-09-16 04:23:46 +00:00
2026-09-15 21:19:08 +00:00
2026-09-15 21:19:08 +00:00
2026-09-03 00:17:19 +00:00
2026-09-01 14:43:27 +00:00
2026-08-20 07:03:02 +00:00
2026-09-01 18:24:56 +00:00
2026-09-16 04:23:46 +00:00
2026-09-16 04:23:46 +00:00
2026-08-25 21:34:05 +00:00
2026-09-14 22:58:51 +00:00
2026-08-21 21:17:42 +00:00
2026-09-13 15:47:59 +00:00
2026-09-15 21:19:08 +00:00
2026-09-15 21:19:08 +00:00
2026-09-15 17:09:11 +00:00
2026-08-26 16:28:35 +00:00
2026-09-11 14:25:56 +00:00
2026-08-29 06:05:28 +00:00
2026-09-15 22:52:56 +00:00
2026-09-16 21:01:13 +00:00
2026-09-01 13:43:27 +00:00
2026-09-16 20:32:52 +00:00
2026-09-16 15:17:41 +00:00
2026-08-17 19:06:53 +00:00
2026-09-09 17:46:00 +00:00
2026-09-04 21:17:25 +00:00
2026-08-17 04:01:37 +00:00
2026-08-18 18:41:40 +00:00
2026-09-08 23:45:10 +00:00
2026-09-15 22:52:56 +00:00
2026-08-31 22:38:23 +00:00
2026-09-15 17:09:11 +00:00
2026-09-10 19:41:14 +00:00
2026-09-10 09:50:59 +00:00
2026-09-11 21:32:04 +00:00
2026-09-02 23:58:24 +00:00
2026-09-02 23:58:24 +00:00
2026-08-31 23:29:20 +00:00
2026-09-15 16:40:06 +00:00
2026-08-23 20:08:40 +00:00
2026-08-24 10:56:54 +00:00
2026-09-14 22:58:51 +00:00
2026-09-13 06:07:03 +00:00
2026-09-13 06:07:03 +00:00
2026-09-15 18:41:13 +00:00
2026-09-09 06:04:59 +00:00
2026-08-20 06:03:25 +00:00
2026-08-20 06:03:25 +00:00
2026-08-27 00:07:26 +00:00
2026-09-13 06:53:20 +00:00
2026-09-13 06:53:20 +00:00
2026-09-11 01:57:54 +00:00
2026-09-15 08:28:03 +00:00
2026-09-15 02:33:27 +00:00
2026-09-10 18:24:13 +00:00
2026-09-13 15:47:59 +00:00
2026-09-13 15:47:59 +00:00
2026-09-05 13:02:49 +00:00
2026-09-04 12:56:26 +00:00
2026-08-25 17:41:22 +00:00
2026-09-15 18:41:13 +00:00
2026-09-09 19:31:12 +00:00
2026-08-20 06:29:32 +00:00