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
[Bug]: Hermes Agent (ACP Registry): reply after a background process finishes never reaches the thread (post-settle continuation off) #38599
Hermes Agent v0.23.1 (stable, commit 3b42157), added as an ACP Registry provider, several profiles behind one Hermes gateway
Steps to reproduce
Start a thread with Hermes Agent.
Ask it to run a command in the background with completion notification (e.g. sleep 60 && echo DONE, Hermes terminal with background=true, notify_on_complete=true) and end its turn.
The run finishes; session/prompt returns and the thread shows as completed.
When the process exits, Hermes starts a completion turn on its own and streams the reply as root-session session/update notifications, with no session/prompt in flight.
Expected
The completion reply appears in the thread (as it does for Copilot CLI and Grok).
Actual
Nothing appears. In our case a long job went silent for about 30 minutes; the result only became visible after we changed Hermes settings so the agent waits inside the turn.
Cause (from reading current main, not run)
enablePostSettleContinuation: true is set only in the Copilot branch of packages/provider-acp-registry/src/server/adapter.ts and in packages/provider-grok. For any other registry agent, root-session updates that arrive while no turn is active go to the session-load history buffer and never reach the live thread. A Hermes maintainer reproduced the Hermes side with a bare ACP client and confirmed the completion reply is sent with the ACP session's own id: NousResearch/hermes-agent#157364 (comment) (comment by teknium1, 2026-11-18).
Suggested fix
Enable post-settle continuation for the Hermes Agent registry entry, or make it a generic opt-in for registry agents (which would also cover #33186).
Workaround
In each Hermes profile config, terminal.process_wait_auto_notify: false, and ask the agent to wait for the result inside the turn instead of using completion notification.
Activity