r/devtools • u/ChemicalExcellent463 • 6h ago
Codex had a message waiting. My re-wake never fired.
I had Claude Code sending Codex messages, and my five-minute wake-up retry was broken.
A message wakes the receiving agent. If it's still waiting five minutes later, I wake it again. Except for Codex, that second wake wasn't happening.
Every Codex window runs its hooks under one shared app-server process. I was recording a process per agent and checking whether it was still around. That told me nothing about the actual Codex window. Wrong check. Message just sat there.
I stopped recording that process for Codex and checked the agent's own window instead, using its newest event.
Then I hit the next case. A Codex session registered through its thread has no window. My check called it unknown and never woke it again. But the app-server accepts queued input for a thread without a window open. I changed the check to count that as reachable too.
Now I can send the input again. I still can't tell whether Codex picked it up or the app-server just accepted it. How do you confirm Codex actually started on input you queued from outside?
Disclosure: I build Sno Station, the tool handling these messages. Install: curl -fsSL https://www.sno.ai/install | sh https://github.com/sno-ai/sno-station
