Skip to content

feat(gateway): add busy_ack_enabled config option to suppress ack messages#18194

Merged
teknium1 merged 2 commits into
mainfrom
hermes/hermes-2004a276
May 1, 2026
Merged

feat(gateway): add busy_ack_enabled config option to suppress ack messages#18194
teknium1 merged 2 commits into
mainfrom
hermes/hermes-2004a276

Conversation

@teknium1
Copy link
Copy Markdown
Contributor

@teknium1 teknium1 commented May 1, 2026

Salvage of #17491 by @JezzaHehn onto current main, plus a timestamp-placement nit and docs.

Summary

Users can now set display.busy_ack_enabled: false in config.yaml to silence the ⚡/⏳/⏩ gateway reply that fires when a user sends input while the agent is busy. The input is still queued/steered/interrupts as normal — only the chat reply is suppressed. Fixes #17457.

Changes

  • gateway/run.py: bridge display.busy_ack_enabledHERMES_GATEWAY_BUSY_ACK_ENABLED at startup; early-return guard in _handle_active_session_busy_message() placed above the debounce cooldown so no _busy_ack_ts timestamp is stamped when no ack was sent.
  • website/docs/reference/environment-variables.md: document HERMES_GATEWAY_BUSY_ACK_ENABLED.
  • website/docs/user-guide/messaging/index.md: document display.busy_ack_enabled alongside busy_input_mode.
  • scripts/release.py: add jezzahehn@gmail.comJezzaHehn to AUTHOR_MAP.

Validation

scenario return sends stamps ts input queued
default (no env) True 1 yes yes
true True 1 yes yes
false True 0 no yes
FALSE (case) True 0 no yes

22/22 gateway busy-input tests pass on scripts/run_tests.sh tests/gateway/ -k busy.

Closes #17457.
Original PR: #17491 by @JezzaHehn — authorship preserved via rebase-merge.

Co-authored-by: Jezza Hehn jezzahehn@gmail.com

JezzaHehn and others added 2 commits April 30, 2026 20:17
…sages

When a user sends a message while the gateway is busy processing,
an acknowledgment message is sent. This can be spammy for users
who send rapid messages.

Add display.busy_ack_enabled config option (default: true) to allow
users to suppress these busy-input acknowledgment messages.

Fixes #17457
- Move the disabled-ack guard above the debounce so we don't stamp
  _busy_ack_ts[session_key] when no ack was actually sent. Harmless
  (never read when disabled) but cosmetically off.
- Document display.busy_ack_enabled in user-guide/messaging/index.md
  and HERMES_GATEWAY_BUSY_ACK_ENABLED in reference/environment-variables.md.
- Add JezzaHehn to scripts/release.py AUTHOR_MAP for contributor credit.

Follow-up to #17491 (Jezza Hehn).
@teknium1 teknium1 merged commit 01cc701 into main May 1, 2026
10 of 12 checks passed
@teknium1 teknium1 deleted the hermes/hermes-2004a276 branch May 1, 2026 03:22
@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/gateway Gateway runner, session dispatch, delivery area/config Config system, migrations, profiles labels May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles comp/gateway Gateway runner, session dispatch, delivery P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(gateway): add config option to suppress busy-input acknowledgment messages

3 participants