Skip to content

Keep session defaults static during config batch writes - #34940

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6d988014cf4758ceb9422a11f7c2bd5fc6b9f90a
Jul 23, 2026
Merged

Keep session defaults static during config batch writes#34940
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6d988014cf4758ceb9422a11f7c2bd5fc6b9f90a

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 23, 2026

Copy link
Copy Markdown

Keep session defaults static during config batch writes

What changed

  • Treat batch writes containing only model, model_reasoning_effort,
    plan_mode_reasoning_effort, service_tier, or personality as defaults for
    future sessions, even when reloadUserConfig is requested.
  • Keep runtime config reloads and skill/plugin cache invalidation for other
    config changes, and document which settings remain session-static.
  • Preserve cached skill listings after session-default writes until a forced
    reload, with test coverage for each supported default.

## What changed

- Treat batch writes containing only `model`, `model_reasoning_effort`,
  `plan_mode_reasoning_effort`, `service_tier`, or `personality` as defaults for
  future sessions, even when `reloadUserConfig` is requested.
- Keep runtime config reloads and skill/plugin cache invalidation for other
  config changes, and document which settings remain session-static.
- Preserve cached skill listings after session-default writes until a forced
  reload, with test coverage for each supported default.

GitOrigin-RevId: 6d988014cf4758ceb9422a11f7c2bd5fc6b9f90a
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/6d988014cf4758ceb9422a11f7c2bd5fc6b9f90a branch from 8a77f1e to 808d3c2 Compare July 23, 2026 13:11
@copyberry
copyberry Bot merged commit 808d3c2 into main Jul 23, 2026
32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/6d988014cf4758ceb9422a11f7c2bd5fc6b9f90a branch July 23, 2026 13:12
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.