Eric Traut
1484283d12
Merge branch 'etraut/next-turn-state-core' into etraut/next-turn-state-app-server
2026-05-18 16:09:25 -07:00
Eric Traut
b7d18d7606
Merge branch 'etraut/next-turn-state-remove-override-context' into etraut/next-turn-state-core
...
# Conflicts:
# codex-rs/core/src/session/handlers.rs
2026-05-18 16:09:13 -07:00
Eric Traut
76447889f2
Merge branch 'etraut/next-turn-state-input-op-consolidation' into etraut/next-turn-state-remove-override-context
2026-05-18 16:08:16 -07:00
Eric Traut
dea732b035
Merge branch 'etraut/next-turn-state-remove-user-input-with-context' into etraut/next-turn-state-input-op-consolidation
2026-05-18 16:07:57 -07:00
Eric Traut
d3052c6136
Merge branch 'etraut/next-turn-state-user-input-context' into etraut/next-turn-state-remove-user-input-with-context
2026-05-18 16:07:45 -07:00
Eric Traut
9ad7f64d9d
Clarify thread settings model updates
2026-05-18 16:06:51 -07:00
Eric Traut
fd4929c5b8
Rename app-server docs to thread settings
2026-05-18 15:58:04 -07:00
Eric Traut
e8e4502b64
Merge branch 'etraut/next-turn-state-core' into etraut/next-turn-state-app-server
...
# Conflicts:
# codex-rs/app-server/src/request_processors/turn_processor.rs
2026-05-18 15:46:18 -07:00
Eric Traut
de38d2a98b
Merge branch 'etraut/next-turn-state-remove-override-context' into etraut/next-turn-state-core
...
# Conflicts:
# codex-rs/core/src/codex_thread.rs
# codex-rs/core/src/session/handlers.rs
# codex-rs/core/tests/suite/collaboration_instructions.rs
# codex-rs/core/tests/suite/compact.rs
# codex-rs/core/tests/suite/compact_remote.rs
# codex-rs/core/tests/suite/compact_resume_fork.rs
# codex-rs/core/tests/suite/model_overrides.rs
# codex-rs/core/tests/suite/model_switching.rs
# codex-rs/core/tests/suite/model_visible_layout.rs
# codex-rs/core/tests/suite/override_updates.rs
# codex-rs/core/tests/suite/permissions_messages.rs
# codex-rs/core/tests/suite/personality.rs
# codex-rs/core/tests/suite/prompt_caching.rs
# codex-rs/core/tests/suite/remote_models.rs
# codex-rs/core/tests/suite/resume.rs
# codex-rs/core/tests/suite/review.rs
# codex-rs/memories/write/src/startup_tests.rs
# codex-rs/protocol/src/protocol.rs
2026-05-18 15:36:21 -07:00
Eric Traut
a940c8db7b
Merge branch 'etraut/next-turn-state-input-op-consolidation' into etraut/next-turn-state-remove-override-context
...
# Conflicts:
# codex-rs/core/src/codex_thread.rs
# codex-rs/core/src/session/tests.rs
# codex-rs/protocol/src/protocol.rs
2026-05-18 15:29:58 -07:00
Eric Traut
50435559f4
Merge branch 'etraut/next-turn-state-remove-user-input-with-context' into etraut/next-turn-state-input-op-consolidation
2026-05-18 15:28:14 -07:00
Eric Traut
5946878f8e
Merge branch 'etraut/next-turn-state-user-input-context' into etraut/next-turn-state-remove-user-input-with-context
...
# Conflicts:
# codex-rs/app-server/src/request_processors/turn_processor.rs
# codex-rs/core/src/session/handlers.rs
# codex-rs/protocol/src/protocol.rs
2026-05-18 15:28:05 -07:00
Eric Traut
14284fe5a7
Rename input settings override terminology
2026-05-18 15:27:06 -07:00
Eric Traut
5015aa97bf
Merge branch 'etraut/next-turn-state-core' into etraut/next-turn-state-app-server
2026-05-18 15:21:02 -07:00
Eric Traut
0f483dd5d4
Use queued turn context op in tests
2026-05-18 15:20:43 -07:00
Eric Traut
9bb0e0f578
Simplify turn context update tests
2026-05-16 18:34:08 -07:00
Eric Traut
2f1591db16
Fix argument comment lint
2026-05-16 18:25:23 -07:00
Eric Traut
aea47290fd
Wait before resolving turn start context
2026-05-16 18:12:46 -07:00
Eric Traut
eb533c3616
Merge branch 'etraut/next-turn-state-core' into etraut/next-turn-state-app-server
2026-05-16 18:06:00 -07:00
Eric Traut
98c38ee9bf
Simplify turn context handler
2026-05-16 18:05:35 -07:00
Eric Traut
bb41cb44cf
Merge branch 'etraut/next-turn-state-core' into etraut/next-turn-state-app-server
2026-05-16 17:58:43 -07:00
Eric Traut
529c16f268
Merge branch 'etraut/next-turn-state-remove-override-context' into etraut/next-turn-state-core
2026-05-16 17:58:11 -07:00
Eric Traut
5b41df2613
Simplify turn context update cleanup
2026-05-16 17:57:42 -07:00
Eric Traut
28f6e90082
Merge branch 'etraut/next-turn-state-core' into etraut/next-turn-state-app-server
...
# Conflicts:
# codex-rs/app-server/src/request_processors/turn_processor.rs
2026-05-16 17:43:32 -07:00
Eric Traut
91e427f9f4
Merge branch 'etraut/next-turn-state-remove-override-context' into etraut/next-turn-state-core
2026-05-16 17:42:54 -07:00
Eric Traut
5aeec5fa05
Merge branch 'etraut/next-turn-state-input-op-consolidation' into etraut/next-turn-state-remove-override-context
2026-05-16 17:42:40 -07:00
Eric Traut
db6e9bfaa9
Merge branch 'etraut/next-turn-state-remove-user-input-with-context' into etraut/next-turn-state-input-op-consolidation
2026-05-16 17:42:27 -07:00
Eric Traut
cd69441b5b
Simplify turn start context overrides
2026-05-16 17:42:10 -07:00
Eric Traut
a5f2e7f68f
Merge branch 'etraut/next-turn-state-input-op-consolidation' into etraut/next-turn-state-remove-override-context
2026-05-16 17:39:28 -07:00
Eric Traut
9d5a0e2b5d
Trim redundant turn context defaults
2026-05-16 17:39:09 -07:00
Eric Traut
d2b614b545
Merge branch 'etraut/next-turn-state-core' into etraut/next-turn-state-app-server
2026-05-16 17:27:34 -07:00
Eric Traut
b2445a9bcc
Merge branch 'etraut/next-turn-state-remove-override-context' into etraut/next-turn-state-core
2026-05-16 17:27:17 -07:00
Eric Traut
532a6d07bb
Merge branch 'etraut/next-turn-state-input-op-consolidation' into etraut/next-turn-state-remove-override-context
2026-05-16 17:27:02 -07:00
Eric Traut
8f6825e572
Merge branch 'etraut/next-turn-state-remove-user-input-with-context' into etraut/next-turn-state-input-op-consolidation
2026-05-16 17:26:53 -07:00
Eric Traut
73ad0c2463
Merge branch 'etraut/next-turn-state-user-input-context' into etraut/next-turn-state-remove-user-input-with-context
...
# Conflicts:
# codex-rs/core/src/session/handlers.rs
2026-05-16 17:26:44 -07:00
Eric Traut
c6fe81d803
Simplify turn context update handling
2026-05-16 17:23:39 -07:00
Eric Traut
f5943e0fd9
Merge remote-tracking branch 'origin/main' into etraut/next-turn-state-user-input-context
2026-05-16 17:21:08 -07:00
Eric Traut
579abe122b
Fix turn context update ordering
2026-05-16 17:07:08 -07:00
Eric Traut
5b47db287d
Fix OverrideTurnContext removal split
2026-05-16 16:00:11 -07:00
Eric Traut
9393c2647b
Add queued core turn context op
2026-05-16 15:49:05 -07:00
Eric Traut
875b846721
Remove core OverrideTurnContext op
2026-05-16 15:47:40 -07:00
Eric Traut
e3bb6dad55
Merge branch 'etraut/next-turn-state-core' into etraut/next-turn-state-app-server
2026-05-16 14:43:58 -07:00
Eric Traut
b2fa7ac1d0
Document direct turn context override ordering
2026-05-16 14:43:36 -07:00
Eric Traut
0445b290fe
[1 of 4] tui: route primary settings writes through app server ( #22913 )
...
## Why
The TUI can run against a remote app server, but several high-traffic
settings still persisted by editing the local config file. That sends
remote sessions' preference writes to the wrong machine and lets local
disk state drift from the app-server-owned config.
This is **[1 of 4]** in a stacked series that moves TUI-owned config
mutations onto app-server APIs.
## What changed
- Added a small TUI helper for typed app-server config writes.
- Routed primary interactive preference writes through
`config/batchWrite`.
- Preserved existing profile scoping for settings that already support
`profiles.<profile>.*` overrides.
## Config keys affected
- `model`
- `model_reasoning_effort`
- `personality`
- `service_tier`
- `plan_mode_reasoning_effort`
- `approvals_reviewer`
- `notice.fast_default_opt_out`
- Profile-scoped equivalents under `profiles.<profile>.*`
## Suggested manual validation
- Connect the TUI to a remote app server, change `model` and
`model_reasoning_effort`, reconnect, and confirm the remote config
retained both values while the local `config.toml` did not change.
- Change `personality`, `plan_mode_reasoning_effort`, and the explicit
auto-review selection, then reconnect and confirm those choices persist
through the app server.
- Clear the service tier back to default and confirm `service_tier` is
cleared while `notice.fast_default_opt_out = true` is persisted
remotely.
- Repeat one setting change with an active profile and confirm the write
lands under `profiles.<profile>.*`.
## Stack
1. [#22913 ](https://github.com/openai/codex/pull/22913 ) `[1 of 4]`
primary settings writes
2. [#22914 ](https://github.com/openai/codex/pull/22914 ) `[2 of 4]` app
and skill enablement
3. [#22915 ](https://github.com/openai/codex/pull/22915 ) `[3 of 4]`
feature and memory toggles
4. [#22916 ](https://github.com/openai/codex/pull/22916 ) `[4 of 4]`
startup and onboarding bookkeeping
2026-05-16 14:27:02 -07:00
Eric Traut
49bcf51b7f
Merge branch 'etraut/next-turn-state-core' into etraut/next-turn-state-app-server
...
# Conflicts:
# codex-rs/app-server/src/request_processors/turn_processor.rs
2026-05-16 14:22:05 -07:00
Eric Traut
1320847a37
Merge branch 'etraut/next-turn-state-input-op-consolidation' into etraut/next-turn-state-core
2026-05-16 14:21:21 -07:00
Eric Traut
1c10a91853
Merge branch 'etraut/next-turn-state-remove-user-input-with-context' into etraut/next-turn-state-input-op-consolidation
...
# Conflicts:
# codex-rs/app-server/src/request_processors/turn_processor.rs
# codex-rs/core/src/session/handlers.rs
# codex-rs/protocol/src/protocol.rs
2026-05-16 14:21:06 -07:00
Eric Traut
cb528adace
Remove UserInputWithTurnContext op
2026-05-16 14:20:00 -07:00
Eric Traut
3b1b54ace7
Add turn context to UserInput
2026-05-16 14:16:20 -07:00
Eric Traut
6e0bf085f3
Merge branch 'etraut/next-turn-state-core' into etraut/next-turn-state-app-server
2026-05-16 13:51:38 -07:00