Skip to content

codex-run.sh: close stdin for codex exec (VOI-36)#5

Merged
VoidAxiom merged 1 commit into
mainfrom
sk/VOI-36-codex-run-stdin
May 17, 2026
Merged

codex-run.sh: close stdin for codex exec (VOI-36)#5
VoidAxiom merged 1 commit into
mainfrom
sk/VOI-36-codex-run-stdin

Conversation

@VoidAxiom
Copy link
Copy Markdown
Owner

Fixes VOI-36.

Problem

scripts/codex-run.sh passes the prompt as an argument but didn't redirect stdin. Backgrounded codex exec then prints Reading additional input from stdin... and blocks for an EOF that never comes — observed hanging ~16 min with zero streamed events during the VOI-31 worker run. Blocks all worker delegation.

Fix

Add < /dev/null to the invocation.

Evidence

  • bash -n scripts/codex-run.sh clean
  • Explorer smoke re-run: exit 0, 4151 bytes of streamed events, completes promptly (no hang)
  • Claude-authored orchestration tooling per CLAUDE.md division of labor (not a Codex packet)

Fixes VOI-36. The prompt is passed as an argument; without </dev/null
a backgrounded codex exec prints 'Reading additional input from
stdin...' and blocks for an EOF that never arrives (observed hanging
~16min with zero events on the VOI-31 worker run). Redirect stdin from
/dev/null.

Evidence: bash -n clean; explorer smoke re-run completed exit=0 with
4151 bytes of streamed events (no hang).
@VoidAxiom
Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@VoidAxiom VoidAxiom merged commit f0d1470 into main May 17, 2026
1 check passed
@VoidAxiom VoidAxiom deleted the sk/VOI-36-codex-run-stdin branch May 17, 2026 02:23
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