Skip to content

Delay the startup composer until first-login onboarding - #38643

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c1a47ea3ba7c1ff1dd229895c0362b6dd9bfd713
Aug 14, 2026
Merged

Delay the startup composer until first-login onboarding#38643
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c1a47ea3ba7c1ff1dd229895c0362b6dd9bfd713

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 14, 2026

Copy link
Copy Markdown

Delay the startup composer until first-login onboarding

Why

On a pristine default installation, the provisional composer can appear before
first-login onboarding takes over the terminal.

What changed

  • Detect pristine local installations conservatively, accounting for existing
    Codex state, custom homes, access tokens, system configuration, and managed
    configuration sources, including macOS managed preferences.
  • Keep the composer hidden and ignore draft input until onboarding completes,
    while still allowing startup cancellation with Ctrl-C or Ctrl-D.
  • Reveal the configured composer after onboarding for normal new-session
    launches; resume and fork pickers retain their existing startup flow.

Testing

  • Cover pristine and existing home layouts, environment credentials, system and
    managed configuration, inaccessible state, onboarding input suppression,
    cancellation, and the transition to the composer.

## Why

On a pristine default installation, the provisional composer can appear before
first-login onboarding takes over the terminal.

## What changed

- Detect pristine local installations conservatively, accounting for existing
  Codex state, custom homes, access tokens, system configuration, and managed
  configuration sources, including macOS managed preferences.
- Keep the composer hidden and ignore draft input until onboarding completes,
  while still allowing startup cancellation with `Ctrl-C` or `Ctrl-D`.
- Reveal the configured composer after onboarding for normal new-session
  launches; resume and fork pickers retain their existing startup flow.

## Testing

- Cover pristine and existing home layouts, environment credentials, system and
  managed configuration, inaccessible state, onboarding input suppression,
  cancellation, and the transition to the composer.

GitOrigin-RevId: c1a47ea3ba7c1ff1dd229895c0362b6dd9bfd713
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c1a47ea3ba7c1ff1dd229895c0362b6dd9bfd713 branch from 2ca2161 to 6d97d4c Compare August 14, 2026 20:36
@copyberry
copyberry Bot merged commit 6d97d4c into main Aug 14, 2026
27 of 31 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c1a47ea3ba7c1ff1dd229895c0362b6dd9bfd713 branch August 14, 2026 20:37
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 14, 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.

1 participant