You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex integration: keep a record when the SessionStart session report fails
#6170
When Codex starts in a Herdr pane, the Codex integration's SessionStart hook
reports the session to Herdr with pane.report_agent_session. If that report
fails, nothing records why. The hook leaves no trace when the socket cannot be
reached, the request times out, Herdr rejects it, or the reply is unexpected.
We saw this once on Herdr 0.9.5 (Linux, stable channel, Codex integration v8).
Codex was the pane's foreground process, but agent.get for the pane returned agent_not_found, so Herdr never bound the session. We recovered the pane by
restarting the agent. We could not find out afterwards whether the report never
reached the server, reached it and was rejected, or got a reply the hook did
not expect. Because we cannot reproduce it, we are not filing a bug.
This matters to us because we run many Codex agents in Herdr panes, and tools
that wait for Herdr to bind a session stall on a pane like this. Without a
record, we cannot say if it will happen again or report it properly when it
does.
Would you consider having the Codex integration keep a small, bounded local
record of each session report's outcome (acknowledged, rejected with its error
code, or which transport step failed), without hook input, paths or transcript
content? That would let the next missed registration name its cause. A server
log line for each rejected pane.report_agent_session would also help.
Written by Claude Opus 5.5 (high effort); reviewed and approved for posting by Micah.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
When Codex starts in a Herdr pane, the Codex integration's SessionStart hook
reports the session to Herdr with
pane.report_agent_session. If that reportfails, nothing records why. The hook leaves no trace when the socket cannot be
reached, the request times out, Herdr rejects it, or the reply is unexpected.
We saw this once on Herdr 0.9.5 (Linux, stable channel, Codex integration v8).
Codex was the pane's foreground process, but
agent.getfor the pane returnedagent_not_found, so Herdr never bound the session. We recovered the pane byrestarting the agent. We could not find out afterwards whether the report never
reached the server, reached it and was rejected, or got a reply the hook did
not expect. Because we cannot reproduce it, we are not filing a bug.
This matters to us because we run many Codex agents in Herdr panes, and tools
that wait for Herdr to bind a session stall on a pane like this. Without a
record, we cannot say if it will happen again or report it properly when it
does.
Would you consider having the Codex integration keep a small, bounded local
record of each session report's outcome (acknowledged, rejected with its error
code, or which transport step failed), without hook input, paths or transcript
content? That would let the next missed registration name its cause. A server
log line for each rejected
pane.report_agent_sessionwould also help.Written by Claude Opus 5.5 (high effort); reviewed and approved for posting by Micah.
All reactions