codex/codex-rs/state
Matthew Zeng b5544d5732 Persist disabled plugin IDs in thread settings (#44332)
## What changed

- Add `disabled_plugin_ids` to thread startup options, settings overrides, snapshots, and persisted turn contexts. Omitted overrides preserve the current list; an empty list clears it.
- Restore the selection on resume and capture it before truncating history for a fork. Prefer the owning thread's latest settings snapshot, falling back only to the latest turn context so stale history cannot resurrect an older selection.
- Freeze the selection at turn admission and retain compatibility with histories that lack the new fields.

## Testing

Add coverage for owned settings, explicit clears, latest-turn fallback, and legacy snapshots. Extend settings tests to cover plugin selection during runtime restoration and compaction, and verify initial turn persistence without extra settings checkpoints in both history modes.

GitOrigin-RevId: 75ffbff5763cd93cc5ac69d73b08b237f59bc009
History 2026-09-09 23:23:59 +00:00
..
goals_migrations Preserve thread context when retrying or editing turns (#33211) 2026-07-15 02:35:49 +00:00
logs_migrations Align SQLite feedback logs with feedback formatter (#13494) 2026-03-18 22:44:31 +00:00
memory_migrations Add memory dual writing and v2 readiness reporting (#43827) 2026-09-08 14:23:23 +00:00
migrations Rename thread artifacts to attachments in the state database (#43927) 2026-09-08 22:02:55 +00:00
queue_migrations Dispatch queued messages written by other processes (#39034) 2026-08-17 17:19:46 +00:00
src Persist disabled plugin IDs in thread settings (#44332) 2026-09-09 23:23:59 +00:00
thread_history_migrations Persist realtime events in the thread timeline (#40508) 2026-08-25 01:03:20 +00:00
BUILD.bazel Shard state unit tests under Bazel (#37478) 2026-08-07 17:49:48 +00:00
Cargo.toml Extract persisted history types into a dedicated crate (#37871) 2026-08-10 19:26:52 +00:00