Repository navigation
Harden Codex terminal readiness detection - #2462
Merged
Merged
Conversation
8 of 9 tasks
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\n- Detect current Codex ready prompts without requiring YOLO-only permissions output\n- Return structured blocked wait results for Codex cwd, migration, hook review, and interactive prompts\n- Make terminal wait exit nonzero for unsatisfied blocked results\n- Fall back to background PTY creation for renderer-backed Codex requests in headless local serve\n\n## Verification\n- pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/orca-runtime.test.ts src/cli/index.test.ts\n- pnpm run typecheck\n- pnpm run lint\n- pnpm test\n- pnpm run build:electron-vite\n- pnpm run build:cli\n- local orca-dev serve smoke: real codex wait satisfied=true exit 0; cwd prompt blockedReason=codex-cwd-prompt exit 1