Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Hermes Agent (ACP Registry): reply after a background process finishes never reaches the thread (post-settle continuation off) #38599

Closedhzwnhriz-star(GitHub profile, opens in a new tab) opened this issue 0 comments

Before submitting

  • I searched existing issues. Related: #33186 (same gap for Factory Droid, open), #29211 (Copilot CLI, fixed by enabling post-settle continuation for that flavor), #28026 (asked for post-settle messages from local ACP providers). This report is for Hermes Agent.

Area

packages/provider-acp-registry (flavor options) / packages/provider-acp (AcpAdapterV2)

Environment

  • T3 Code (Beta) 0.1.10, Windows 10 desktop
  • Hermes Agent v0.23.1 (stable, commit 3b42157), added as an ACP Registry provider, several profiles behind one Hermes gateway

Steps to reproduce

  1. Start a thread with Hermes Agent.
  2. 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.
  3. The run finishes; session/prompt returns and the thread shows as completed.
  4. 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: https://github.com/NousResearch/hermes-agent/issues/157364#issuecomment-6977922127 (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.

  1. tanstack-source added labelsbug

  2. juliusmarminge closed this

Sign in to join this conversation.