Adam Perry @ OpenAI
780d7ab097
Track history initialization in Responses turn metadata ( #52325 )
...
## What changed
Add `history_initialization` to `x-codex-turn-metadata`, distinguishing `new`, `cleared`, `cold_resume`, `warm_fork`, `cold_fork`, and `supplied_history`.
Classify forks by whether the source runtime is loaded and has not shut down. Preserve the classification for the runtime's lifetime, including warm resumes and compaction. This records how history was initialized; it does not establish whether tool metadata is missing. Reserve the field against client-supplied overrides.
## Testing
Extend coverage for warm and cold forks, cold resumes, warm reconnects, supplied history, WebSocket metadata serialization, and reserved-field filtering.
GitOrigin-RevId: 468153512a84d0f4d4ea742198a29e0fa3873a72
2026-10-08 23:34:16 +00:00
..
2026-10-02 04:02:14 +00:00
2026-10-07 12:47:04 +00:00
2026-09-30 17:33:59 +00:00
2026-10-08 05:29:11 +00:00
2026-09-30 00:51:39 +00:00
2026-10-08 23:34:16 +00:00
2026-10-07 22:10:23 +00:00
2026-10-08 20:11:43 +00:00
2026-10-08 19:13:52 +00:00
2026-10-08 20:11:43 +00:00
2026-10-06 17:26:19 +00:00
2026-10-05 23:52:06 +00:00
2026-10-08 16:19:09 +00:00
2026-10-06 23:44:17 +00:00
2026-10-02 22:20:55 +00:00
2026-10-07 22:11:14 +00:00
2026-09-30 18:49:29 +00:00
2026-10-08 21:18:24 +00:00
2026-10-01 22:32:29 +00:00
2026-09-29 13:58:09 +00:00
2026-09-29 03:32:19 +00:00
2026-10-08 19:15:17 +00:00
2026-10-08 19:15:17 +00:00
2026-10-08 19:15:17 +00:00
2026-10-07 16:46:43 +00:00
2026-10-08 20:11:43 +00:00
2026-09-25 00:20:02 +00:00
2026-09-24 01:50:36 +00:00
2026-10-08 18:42:58 +00:00
2026-10-08 22:27:00 +00:00
2026-10-08 17:56:54 +00:00
2026-10-08 23:34:16 +00:00
2026-10-06 23:28:55 +00:00
2026-09-23 22:20:34 +00:00
2026-10-08 18:42:58 +00:00
2026-10-08 20:11:43 +00:00
2026-10-08 16:19:09 +00:00
2026-10-08 19:13:52 +00:00
2026-10-08 13:45:19 +00:00
2026-10-08 21:55:59 +00:00
2026-10-06 16:56:39 +00:00
2026-10-08 22:27:00 +00:00
2026-10-07 11:18:05 +00:00
2026-10-01 09:52:54 +00:00
2026-10-07 17:59:22 +00:00
2026-10-01 15:57:03 +00:00
2026-10-08 20:04:38 +00:00
2026-10-08 23:34:16 +00:00
2026-10-08 17:56:54 +00:00
2026-10-01 22:32:29 +00:00
2026-10-08 16:19:09 +00:00
2026-09-29 22:24:09 +00:00
2026-10-08 20:11:43 +00:00
2026-10-08 20:11:43 +00:00
2026-09-28 14:46:32 +00:00
2026-10-08 20:11:43 +00:00
2026-10-07 18:32:50 +00:00
2026-10-02 23:26:27 +00:00
2026-10-06 01:46:33 +00:00
2026-10-07 21:16:25 +00:00
2026-10-08 21:09:30 +00:00
2026-10-08 20:11:43 +00:00
2026-10-06 21:29:35 +00:00
2026-10-08 17:56:54 +00:00
2026-10-08 20:40:47 +00:00
2026-10-01 15:57:03 +00:00
2026-09-29 01:14:41 +00:00
2026-10-07 22:11:14 +00:00
2026-10-07 19:28:14 +00:00
2026-10-07 07:57:14 +00:00
2026-10-07 07:57:14 +00:00
2026-10-07 21:52:20 +00:00
2026-09-24 18:08:31 +00:00
2026-10-08 16:19:09 +00:00
2026-10-08 20:11:43 +00:00
2026-10-07 17:28:32 +00:00
2026-10-02 00:46:14 +00:00
2026-10-08 18:42:58 +00:00
2026-10-07 06:34:22 +00:00
2026-10-08 16:19:09 +00:00
2026-10-08 21:01:06 +00:00
2026-10-01 18:05:05 +00:00
2026-10-08 20:11:43 +00:00
2026-10-01 15:57:03 +00:00
2026-10-08 01:12:16 +00:00
2026-10-07 22:11:14 +00:00
2026-10-01 15:57:03 +00:00
2026-10-07 22:11:14 +00:00
2026-10-08 17:25:09 +00:00
2026-10-08 16:19:09 +00:00
2026-10-02 04:02:14 +00:00