Skip to content

Harden Codex terminal readiness detection - #2462

Merged
AmethystLiang merged 1 commit into
mainfrom
fix-codex-terminal-wait-followup
May 21, 2026
Merged

AmethystLiang merged 1 commit into
mainfrom
fix-codex-terminal-wait-followup

Conversation

@AmethystLiang

Copy link
Copy Markdown
Contributor

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

@AmethystLiang
AmethystLiang merged commit d756614 into main May 21, 2026
7 checks passed
@AmethystLiang
AmethystLiang deleted the fix-codex-terminal-wait-followup branch May 21, 2026 00:51
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant