Skip to content

fix: force non-interactive self-review agents#651

Open
khaliqgant wants to merge 6 commits intomainfrom
fix/self-review-clean
Open

fix: force non-interactive self-review agents#651
khaliqgant wants to merge 6 commits intomainfrom
fix/self-review-clean

Conversation

@khaliqgant
Copy link
Copy Markdown
Member

@khaliqgant khaliqgant commented Mar 26, 2026

Fixes the self-review timeout where Codex reviewer agents connect to broker but sit idle for 3600s.

Root cause: spawnAndWait() spawns reviewer agents but the task prompt isn't properly delivered in non-interactive mode.

Fix: Forces non-interactive flags for self-review/reflection steps so the agent processes the review task and exits.

Cherry-picked from 3fbcab88 — clean single commit against main.


Open with Devin

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

khaliqgant and others added 2 commits March 27, 2026 15:07
Clone reviewerDef with interactive:false before passing to spawnAndWait
and executeAgentStep so review subprocesses cannot spawn sub-agents or
open interactive PTY sessions regardless of the original agent config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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