jif
9ee4539162
Preserve structured output format during remote compaction ( #63320 )
...
## Why
Remote compaction v2 dropped the turn's final-answer schema, so its
request could lose the cached prompt prefix shared with sampling even
when both requests used the same cache key.
## What changed
Carry the turn's JSON schema and sampling strictness into compaction
requests, including the non-strict guardian verdict format. The Responses
API still generates compaction summaries independently of that schema.
## Testing
- Check that automatic compaction on Bedrock and GCP uses the same
`text.format` and `prompt_cache_key` as sampling, with and without a schema.
- Check that guardian reviews retain their verdict format across compaction
and retries, and that an approval after compaction allows the command to run.
GitOrigin-RevId: 2cb5df2539358e3d74f1dce51baac2806b6219eb
2026-11-23 12:17:37 +00:00
..
2026-11-03 10:01:36 +00:00
2026-11-14 02:45:51 +00:00
2026-11-21 21:40:05 +00:00
2026-11-20 02:59:58 +00:00
2026-11-14 15:44:38 +00:00
2026-11-05 21:21:19 +00:00
2026-11-10 01:30:08 +00:00
2026-11-20 02:02:55 +00:00
2026-11-03 10:44:27 +00:00
2026-11-17 04:08:00 +00:00
2026-11-18 14:53:00 +00:00
2026-11-04 09:51:28 +00:00
2026-11-14 15:44:38 +00:00
2026-11-20 02:02:55 +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-18 07:23:25 +00:00
2026-11-12 15:35:27 +00:00
2026-11-17 13:38:34 +00:00
2026-11-13 23:02:16 +00:00
2026-11-20 17:46:32 +00:00
2026-11-06 06:07:46 +00:00
2026-11-14 00:56:00 +00:00
2026-11-11 05:38:52 +00:00
2026-11-02 14:06:17 +00:00
2026-11-18 01:48:42 +00:00
2026-11-22 19:12:31 +00:00
2026-11-20 00:44:31 +00:00
2026-11-21 05:42:40 +00:00
2026-11-19 12:07:28 +00:00
2026-11-19 09:37:29 +00:00
2026-11-19 09:37:29 +00:00
2026-11-07 19:26:20 +00:00
2026-11-21 04:05:41 +00:00
2026-11-13 04:51:06 +00:00
2026-11-21 05:42:40 +00:00
2026-11-21 04:18:31 +00:00
2026-11-23 12:17:37 +00:00
2026-11-17 18:56:05 +00:00
2026-11-20 21:42:17 +00:00
2026-11-03 22:29:33 +00:00
2026-11-16 22:27:05 +00:00
2026-11-19 12:28:34 +00:00
2026-11-12 15:35:27 +00:00
2026-11-19 01:27:01 +00:00
2026-11-05 00:55:46 +00:00
2026-11-20 06:05:04 +00:00
2026-11-17 13:38:34 +00:00
2026-11-06 03:51:12 +00:00
2026-11-20 02:02:55 +00:00
2026-11-06 03:51:12 +00:00
2026-11-17 20:04:36 +00:00
2026-11-19 06:03:09 +00:00
2026-11-17 19:09:21 +00:00
2026-11-12 15:35:27 +00:00
2026-11-18 08:20:26 +00:00
2026-11-20 00:15:13 +00:00
2026-11-14 23:53:23 +00:00
2026-11-12 15:35:27 +00:00
2026-11-20 21:58:11 +00:00
2026-11-20 20:10:51 +00:00
2026-11-17 02:31:45 +00:00
2026-11-20 02:02:55 +00:00
2026-11-12 15:35:27 +00:00
2026-11-12 15:35:27 +00:00
2026-11-23 12:17:37 +00:00
2026-11-12 21:40:00 +00:00
2026-11-20 02:02:55 +00:00
2026-10-28 16:00:30 +00:00
2026-11-05 19:20:56 +00:00
2026-11-13 04:51:06 +00:00
2026-11-20 20:24:34 +00:00
2026-11-13 04:51:06 +00:00
2026-11-20 20:24:34 +00:00
2026-11-19 21:45:13 +00:00
2026-11-17 13:38:34 +00:00
2026-11-07 03:16:52 +00:00
2026-11-21 05:42:40 +00:00
2026-11-13 23:03:49 +00:00
2026-11-14 01:34:12 +00:00
2026-10-29 03:14:13 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 04:51:06 +00:00
2026-11-02 21:09:37 +00:00
2026-11-19 16:56:55 +00:00
2026-11-21 00:54:05 +00:00
2026-11-19 21:06:08 +00:00
2026-11-18 07:23:25 +00:00
2026-11-14 15:44:38 +00:00
2026-11-04 21:23:11 +00:00
2026-11-20 17:46:32 +00:00
2026-10-27 16:16:17 +00:00
2026-11-14 00:32:02 +00:00
2026-11-20 17:46:32 +00:00
2026-11-06 23:50:54 +00:00
2026-11-12 00:27:01 +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-16 14:18:24 +00:00
2026-11-23 11:16:31 +00:00
2026-11-21 08:39:16 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 23:03:49 +00:00
2026-11-02 19:38:59 +00:00
2026-11-18 18:11:54 +00:00
2026-11-18 15:24:29 +00:00
2026-11-21 05:42:40 +00:00
2026-11-18 15:24:29 +00:00
2026-11-17 22:00:20 +00:00
2026-11-14 15:44:38 +00:00
2026-11-12 04:31:25 +00:00
2026-11-04 01:15:38 +00:00
2026-10-29 00:42:21 +00:00
2026-10-27 16:16:17 +00:00
2026-11-19 18:54:22 +00:00
2026-11-20 17:46:32 +00:00
2026-11-03 11:14:59 +00:00
2026-11-05 03:49:13 +00:00
2026-11-14 01:11:17 +00:00
2026-11-19 22:16:30 +00:00
2026-11-22 01:25:05 +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-18 18:11:54 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 17:46:32 +00:00
2026-11-19 17:46:53 +00:00
2026-11-20 02:02:55 +00:00
2026-11-10 04:56:49 +00:00
2026-11-07 09:48:46 +00:00
2026-11-20 02:02:55 +00:00
2026-11-18 15:38:06 +00:00
2026-11-12 22:41:50 +00:00
2026-11-13 21:51:53 +00:00
2026-11-17 13:38:34 +00:00
2026-11-05 00:39:39 +00:00
2026-11-17 21:40:36 +00:00
2026-10-27 22:26:12 +00:00
2026-11-13 00:29:24 +00:00
2026-11-05 11:14:26 +00:00
2026-11-20 02:59:58 +00:00
2026-10-27 19:50:41 +00:00
2026-11-21 21:40:05 +00:00
2026-11-14 02:45:51 +00:00
2026-11-05 20:57:03 +00:00
2026-11-13 18:46:45 +00:00
2026-11-20 21:58:11 +00:00
2026-11-20 21:58:11 +00:00
2026-11-19 20:26:00 +00:00
2026-11-13 18:47:15 +00:00
2026-11-05 13:38:12 +00:00
2026-11-20 20:11:57 +00:00
2026-11-07 21:44:47 +00:00
2026-11-14 00:56:00 +00:00
2026-11-19 15:31:33 +00:00
2026-11-20 23:44:47 +00:00
2026-11-20 01:35:36 +00:00
2026-10-29 11:23:51 +00:00
2026-11-19 03:58:01 +00:00
2026-11-19 16:56:55 +00:00
2026-11-05 22:03:29 +00:00
2026-11-21 04:18:31 +00:00
2026-11-19 05:37:58 +00:00
2026-11-14 02:55:41 +00:00
2026-11-18 06:35:41 +00:00
2026-11-20 23:44:47 +00:00
2026-11-17 05:17:42 +00:00
2026-10-30 18:20:57 +00:00
2026-11-04 01:15:38 +00:00
2026-11-17 12:22:55 +00:00
2026-11-03 06:05:55 +00:00
2026-11-18 14:53:00 +00:00
2026-11-20 17:46:32 +00:00
2026-11-16 22:27:05 +00:00
2026-11-21 21:40:05 +00:00
2026-11-13 04:51:06 +00:00
2026-11-06 16:00:54 +00:00
2026-11-14 02:45:51 +00:00
2026-11-04 01:12:49 +00:00
2026-11-20 21:42:17 +00:00
2026-11-02 16:00:20 +00:00
2026-11-21 04:18:31 +00:00
2026-11-13 21:51:53 +00:00
2026-11-06 00:24:27 +00:00
2026-11-19 18:22:41 +00:00
2026-11-19 01:27:01 +00:00
2026-10-27 23:02:27 +00:00
2026-11-12 23:51:52 +00:00
2026-11-04 01:24:36 +00:00
2026-11-23 11:16:31 +00:00
2026-11-04 19:58:24 +00:00
2026-11-10 19:40:10 +00:00
2026-11-18 23:42:25 +00:00
2026-10-28 15:10:52 +00:00
2026-10-30 20:53:25 +00:00
2026-11-20 17:46:32 +00:00
2026-11-19 20:26:00 +00:00
2026-11-21 04:05:41 +00:00
2026-11-17 18:56:05 +00:00
2026-11-18 01:48:42 +00:00
2026-11-13 23:03:49 +00:00