Charley Cunningham
f2d5842ed1
Move previous turn context tracking into ContextManager history ( #12179 )
...
## Summary
- add `previous_context_item: Option<TurnContextItem>` to
`ContextManager`
- expose session/state accessors for reading and updating the stored
previous context item
- switch settings diffing to use `TurnContextItem` instead of
`TurnContext`
- remove submission-loop local `previous_context` and persist the
previous context item in history
## Testing
- `just fmt`
- `just fix -p codex-core`
- `cargo test -p codex-core --test all model_switching::`
- `cargo test -p codex-core --test all collaboration_instructions::`
- `cargo test -p codex-core --test all personality::`
- `cargo test -p codex-core --test all
permissions_messages::permissions_message_not_added_when_no_change`
History
..
2026-02-19 11:32:10 +00:00
2026-02-16 22:01:49 +00:00
2026-02-09 20:48:58 -08:00
2026-01-13 10:22:51 -08:00
2026-02-19 17:22:13 +00:00
2026-02-17 18:17:19 +00:00
2026-02-19 09:56:20 -08:00
2026-02-16 15:28:31 +00:00
2026-02-03 02:52:26 +00:00
2026-02-14 01:43:44 +00:00
2026-02-18 19:15:07 +00:00
2026-02-17 11:43:16 -08:00
2026-02-17 11:02:23 -08:00
2026-02-17 20:19:53 -08:00
2026-02-17 11:05:22 -08:00
2026-02-19 09:56:20 -08:00
2026-02-18 17:02:49 +00:00
2026-02-19 11:32:10 +00:00
2026-02-19 17:22:13 +00:00
2026-02-17 20:19:53 -08:00
2026-02-13 12:00:16 -08:00
2026-02-12 14:10:30 -08:00
2026-01-27 11:04:23 -08:00
2026-02-18 09:27:04 -08:00
2026-02-10 16:12:31 +00:00
2026-02-17 18:32:16 -08:00
2026-02-18 01:55:57 +00:00
2026-02-19 11:32:10 +00:00
2026-02-19 09:56:20 -08:00
2026-02-10 11:46:40 -08:00
2026-02-17 20:15:54 +00:00
2026-02-13 19:02:53 -08:00
2026-02-19 09:56:20 -08:00
2026-02-17 11:45:04 -08:00
2025-11-04 17:44:02 -08:00
2026-02-18 23:21:32 -08:00
2026-01-08 21:48:30 -08:00
2026-02-19 09:56:20 -08:00
2026-02-14 04:18:12 +00:00
2026-02-07 02:39:52 +00:00
2026-02-03 11:31:12 -08:00
2026-02-16 23:11:59 -08:00
2026-02-17 20:19:53 -08:00
2026-02-19 00:00:44 -08:00
2026-02-18 18:28:34 +00:00
2025-09-24 14:29:51 -07:00
2026-01-08 15:07:30 +00:00
2026-02-13 12:48:29 -08:00
2026-02-11 18:31:14 -08:00
2026-02-17 20:19:53 -08:00
2026-02-19 12:52:42 -05:00
2026-02-19 12:52:42 -05:00
2026-02-10 10:10:24 +00:00
2026-02-10 11:45:23 -08:00
2026-01-07 17:04:53 +00:00
2026-02-10 09:38:00 -08:00
2026-02-14 04:18:12 +00:00
2026-02-09 19:26:39 -08:00
2026-01-30 22:20:02 -08:00
2026-01-18 19:22:28 -08:00
2026-01-31 19:38:06 -08:00
2026-02-12 15:41:05 -08:00
2026-01-30 18:59:30 +00:00
2025-11-28 11:34:57 +00:00
2025-12-02 11:26:27 +00:00
2026-02-11 18:31:14 -08:00
2026-02-14 19:00:01 +00:00
2026-02-12 23:30:22 +00:00
2026-02-10 07:44:21 +00:00
2026-02-14 01:43:44 +00:00
2026-02-17 23:56:35 -08:00
2026-02-17 23:56:35 -08:00
2026-02-19 11:32:10 +00:00
2026-02-10 17:03:46 -08:00
2026-02-19 13:49:12 +00:00
2026-02-10 17:03:46 -08:00
2026-02-10 07:44:21 +00:00
2026-02-12 12:49:31 +00:00
2026-02-04 16:12:47 -08:00
2026-01-30 18:59:30 +00:00
2026-01-20 16:17:38 -08:00
2026-02-10 22:44:02 -08:00
2025-11-20 11:04:11 -08:00
2026-02-18 18:28:34 +00:00
2026-02-09 20:48:58 -08:00
2026-02-09 12:42:20 -08:00
2025-09-22 17:16:02 +00:00
2026-02-14 19:00:01 +00:00
2026-02-03 02:52:26 +00:00
2026-02-05 01:52:12 +00:00
2026-01-30 16:37:56 -08:00
2026-02-12 12:48:36 -08:00
2026-02-18 13:03:16 -08:00