Skip to content

Decouple TUI startup presentation from execution configuration - #49875

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f33cf8f42c53a9ddcbe0273491b5a849da9e6808
Oct 1, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f33cf8f42c53a9ddcbe0273491b5a849da9e6808

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Decouple TUI startup presentation from execution configuration

Why

Startup presentation needs client preferences before thread initialization establishes effective execution permissions. The startup header should not infer permission state from local configuration.

What changed

  • Load LocalSettings directly from bootstrap TOML, preserving preference defaults and overrides, accessibility settings, and audio settings that exclude project layers.
  • Use those settings for first-frame presentation and pass LocalSettings plus the working directory to the startup draft instead of a full Config.
  • Stop showing the YOLO indicator in the startup header while execution permissions are unknown.

Testing

Update tests to compare bootstrap settings with resolved configuration, verify first-frame keybindings and paste preferences with an unresolved permission-profile parent, and snapshot the configured startup header. Adapt startup editor tests to the settings-based interface.

## Why

Startup presentation needs client preferences before thread initialization establishes effective execution permissions. The startup header should not infer permission state from local configuration.

## What changed

- Load `LocalSettings` directly from bootstrap TOML, preserving preference defaults and overrides, accessibility settings, and audio settings that exclude project layers.
- Use those settings for first-frame presentation and pass `LocalSettings` plus the working directory to the startup draft instead of a full `Config`.
- Stop showing the YOLO indicator in the startup header while execution permissions are unknown.

## Testing

Update tests to compare bootstrap settings with resolved configuration, verify first-frame keybindings and paste preferences with an unresolved permission-profile parent, and snapshot the configured startup header. Adapt startup editor tests to the settings-based interface.

GitOrigin-RevId: f33cf8f42c53a9ddcbe0273491b5a849da9e6808
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/f33cf8f42c53a9ddcbe0273491b5a849da9e6808 branch from 5a54a31 to 7b88d09 Compare October 1, 2026 05:18
@copyberry
copyberry Bot merged commit 7b88d09 into main Oct 1, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/f33cf8f42c53a9ddcbe0273491b5a849da9e6808 branch October 1, 2026 05:18
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 1, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 7b88d09d Deployed Oct 1, 2026 by FLi79Za via Translate non-English issue #16551
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.

2 participants