Ian MacLeod
eb2d3c6416
Preserve live TUI settings when configuration reloads fail ( #51510 )
...
## Why
Live preferences can be newer than the last successful configuration load. Starting a new thread after a reload failure could overwrite those preferences with stale settings.
## What changed
Carry local settings alongside the new-session configuration, retaining the live settings when reloading fails and applying the staged settings when the new thread starts. During resume and agent selection, replace staged local settings only when the directory-trust check actually reloads configuration.
## Testing
Add a regression test that changes a live rendering preference, writes invalid `config.toml`, and verifies that loading a new thread's configuration preserves the live local settings.
GitOrigin-RevId: 4ac3c70de6d627e1609cc0a5d4ba5df5a61a8b20
2026-10-06 23:19:16 +00:00
..
2026-10-02 04:02:14 +00:00
2026-09-29 22:50:07 +00:00
2026-09-30 17:33:59 +00:00
2026-10-06 21:29:35 +00:00
2026-09-30 00:51:39 +00:00
2026-10-06 22:39:06 +00:00
2026-10-06 16:56:39 +00:00
2026-10-04 06:28:20 +00:00
2026-10-06 22:39:06 +00:00
2026-09-22 06:36:09 +00:00
2026-10-06 17:26:19 +00:00
2026-10-05 23:52:06 +00:00
2026-10-05 23:52:06 +00:00
2026-09-18 00:25:37 +00:00
2026-09-21 22:58:49 +00:00
2026-09-23 00:47:34 +00:00
2026-10-02 22:20:55 +00:00
2026-09-30 18:49:29 +00:00
2026-10-06 00:58:19 +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-05 22:18:55 +00:00
2026-10-05 22:18:55 +00:00
2026-10-06 00:36:25 +00:00
2026-10-05 16:58:29 +00:00
2026-10-06 19:13:04 +00:00
2026-09-25 00:20:02 +00:00
2026-09-24 01:50:36 +00:00
2026-10-06 01:17:03 +00:00
2026-10-06 23:04:26 +00:00
2026-09-15 18:23:08 +00:00
2026-10-02 22:12:07 +00:00
2026-10-06 23:07:48 +00:00
2026-10-06 01:39:50 +00:00
2026-09-23 22:20:34 +00:00
2026-10-06 22:36:22 +00:00
2026-10-06 16:56:39 +00:00
2026-10-06 23:07:25 +00:00
2026-10-02 04:25:52 +00:00
2026-10-06 23:07:48 +00:00
2026-10-06 16:56:39 +00:00
2026-10-06 19:30:57 +00:00
2026-10-02 22:47:52 +00:00
2026-10-01 09:52:54 +00:00
2026-10-01 00:43:55 +00:00
2026-10-01 15:57:03 +00:00
2026-10-06 19:31:24 +00:00
2026-10-06 15:50:27 +00:00
2026-10-01 11:01:37 +00:00
2026-10-01 22:32:29 +00:00
2026-09-29 22:24:09 +00:00
2026-10-06 16:30:34 +00:00
2026-10-02 23:26:27 +00:00
2026-09-28 14:46:32 +00:00
2026-09-28 06:30:53 +00:00
2026-10-03 00:31:51 +00:00
2026-10-02 23:26:27 +00:00
2026-10-06 01:46:33 +00:00
2026-10-01 18:05:05 +00:00
2026-10-01 18:05:05 +00:00
2026-10-06 12:32:27 +00:00
2026-10-06 21:29:35 +00:00
2026-10-06 19:30:57 +00:00
2026-10-06 22:39:32 +00:00
2026-10-01 15:57:03 +00:00
2026-09-29 01:14:41 +00:00
2026-10-02 23:54:32 +00:00
2026-10-06 23:04:02 +00:00
2026-10-06 19:29:40 +00:00
2026-10-06 00:58:19 +00:00
2026-09-24 18:08:31 +00:00
2026-09-28 15:58:17 +00:00
2026-10-06 21:29:35 +00:00
2026-10-06 22:39:06 +00:00
2026-10-02 00:46:14 +00:00
2026-10-06 19:30:57 +00:00
2026-10-06 22:39:06 +00:00
2026-10-06 00:36:25 +00:00
2026-10-06 23:19:16 +00:00
2026-10-01 18:05:05 +00:00
2026-10-03 07:14:12 +00:00
2026-10-01 15:57:03 +00:00
2026-09-23 04:25:28 +00:00
2026-09-22 23:37:39 +00:00
2026-10-06 03:43:22 +00:00
2026-10-03 03:20:37 +00:00
2026-09-23 00:47:07 +00:00
2026-10-01 15:57:03 +00:00
2026-10-06 21:29:35 +00:00
2026-10-03 21:20:56 +00:00
2026-10-02 04:02:14 +00:00