Repository navigation
Preserve Codex runtime config preferences - #3944
Merged
Merged
Conversation
5 tasks done
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/modeland/fastby keeping one shared Orca Codex environment for config, hooks, sessions, skills, plugins, prompts, themes, and history.codex-runtime-home/launch/host/<selection>/homeso fresh host terminals get isolatedauth.jsonper selected Codex account/system default while non-auth state stays shared.docs/codex-account-auth-isolated-launch-homes.md.Test Plan
pnpm exec vitest run --config config/vitest.config.ts src/main/codex-accounts/runtime-home-service.test.ts src/main/codex-accounts/service.test.ts src/main/codex/codex-home-paths.test.ts src/main/rate-limits/service.test.ts src/renderer/src/lib/codex-session-restart.test.tspnpm exec vitest run --config config/vitest.config.ts src/main/ipc/pty.test.ts -t "Codex home"pnpm run lintpnpm run tc:nodepnpm run tc:clipnpm run tc:webORCA_USER_DATA_PATH: app rendered athttp://localhost:5174/, system launch home was materialized with marker/auth/shared state, screenshot captured attmp/electron-codex-launch-home-final/orca-visible.png.Notes / Residual Risk
CODEX_HOME/ORCA_CODEX_HOME; fresh PTYs are fixed, but idle shells still need restart/stale-session UX if we want account switches to affect already-spawned processes.hooks.jsonis not copied into launch homes because a copy can break Codex hook trust path semantics. This is safer than silently pretending hooks are trusted, but hook visibility needs a follow-up design if required.Risk: high
Risk assessment: High. This touches Codex runtime-home selection, account auth read-back, system-default auth mirroring, and PTY launch behavior. It has focused unit/integration coverage plus Electron smoke validation, but old live shell behavior and Windows hook-link fallback remain explicit residual risks.