#4811·herdr

Codex 0.159 startup update chooser is reported as `unknown` instead of `blocked`

Author: stone-ericmCreated Sep 30, 2026Updated Sep 30, 2026
Labelsbugmaintainer-neededp2macosagent-detectiontriaged

Is this a reproducible bug?

  • I confirm this is a reproducible bug, not a feature request, idea, question, contribution proposal, or direction check.
  • I reproduced this bug on the version and environment reported below using the exact steps provided.

Current behavior

When Codex 0.159.0 shows its startup update chooser, Herdr reports the pane as unknown instead of blocked. The chooser looks like this in Codex 0.159:

  Update available · 0.159.0 → 0.159.2
  Release notes: https://github.com/openai/codex/releases/latest

› 1. Update now (runs `sh -c 'curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_NON_INTERACTIVE=1 sh'`)
  2. Skip
  3. Skip until next version

  enter continue · esc skip

herdr agent start returned {"error":{"code":"timeout","message":"timed out waiting for agent startup"}} instead of agent_not_ready, and the requested name was not registered. herdr agent explain <pane> --json on the live pane gave state: unknown, matched_rule: null, fallback_reason: codex_state_ambiguous, visible_blocker: false, manifest 2026.09.23.1 (remote_update_status: current).

With the same manifest, the older dialog text from #3632 (✨ Update available! 0.153.0 -> 0.153.2 … Press enter to continue) still replays as blocked via startup_update.

Expected behavior

The 0.159 chooser is reported as blocked with visible_blocker: true, like the older dialog since #3632 (v0.9.0), and agent start returns agent_not_ready.

Reproduction

  1. Have Codex 0.159.0 installed (standalone installer) while 0.159.2 is available, so Codex opens with the update chooser.
  2. herdr agent start c1 --kind codex --pane <shell pane> --timeout 120000 -- --no-daemon
  3. It times out as above; herdr agent get <pane> shows "agent_status":"unknown".
  4. Save the chooser text above to chooser.txt and run herdr agent explain --file chooser.txt --agent codex --json → state: unknown, matched_rule: null.

Impact

I start Codex from scripts with herdr agent start in background tabs. With the chooser not reported as blocked, the start times out and drops the name, the sidebar shows the pane as unknown rather than waiting on me, and agent prompt does not refuse the pane. The same afternoon two other Codex panes on this server sat on the chooser as unknown.

Environment

  • Herdr version: 0.9.3 (client and server)
  • Update channel (stable or preview): stable
  • Operating system: macOS 27.2 (arm64)
  • Terminal: Ghostty 1.3.1
  • Shell, if relevant: zsh
  • Relevant config, if any: Codex CLI 0.159.0 (standalone install); Codex detection manifest 2026.09.23.1; Herdr codex integration v8