Skip to content

fix(media): end a delivered-media turn with a visible reply, not NO_REPLY - #43

Merged
offendingcommit merged 3 commits into
fix/reserved-tool-names-from-hermesfrom
fix/media-delivery-visible-ack
Oct 30, 2026
Merged

offendingcommit merged 3 commits into
fix/reserved-tool-names-from-hermesfrom
fix/media-delivery-visible-ack

Conversation

@offendingcommit

@offendingcommit offendingcommit commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Problem

Hermes v0.22.5 refuses a bare silence marker on a turn that expects a reply (silence_allowed in gateway/response_filters.py). It sends the user "⚠️ The model returned only a silence marker for a message that needed a reply" instead. After a successful deliver_media, transform_media_delivery_output always forced NO_REPLY, so every voice memo or image sent directly was followed by that warning, even though the attachment arrived. Seen live on a Telegram voice-memo turn on 2026-10-30.

Change

  • transform_media_delivery_output returns the new exported MEDIA_DELIVERED_REPLY (a single ✅) in place of NO_REPLY.
  • README and docstring updated.

Proof

  • just test: 268 tests OK.

  • Falsifier: putting return "NO_REPLY" back fails test_successful_delivery_suppresses_the_same_turn_final_response_once.

  • Contract (just test-contract-pinned, Hermes 939e45c): the new test_media_delivered_reply_is_not_a_hermes_silence_marker runs the reply through Hermes's own is_intentional_silence_response. It passes, and fails when the constant is set back to NO_REPLY.

Follow-up

Bump the kit pin in persona-voice and sirens, then promote through infra.

https://claude.ai/code/session_01B6XeAU5Gn7ZaLQJVSg4AKC

…EPLY

Hermes v0.22.5 rejects a bare silence marker on a turn that expects a
reply (gateway/response_filters.py silence_allowed) and sends the user
"The model returned only a silence marker for a message that needed a
reply" instead. After a successful deliver_media, transform_media_delivery_output
forced exactly that marker, so every directly sent voice memo or image
was followed by the warning even though the attachment arrived.

Return MEDIA_DELIVERED_REPLY (a single ✅) instead. Consumers that pin
the kit (persona-voice, sirens) pick it up with a pin bump.

Claude-Session: https://claude.ai/code/session_01B6XeAU5Gn7ZaLQJVSg4AKC
…nce rule

Imports gateway.response_filters.is_intentional_silence_response from the
pinned Hermes host instead of trusting a copied marker, so a future Hermes
that widens its silence set fails the contract lane rather than users.

Claude-Session: https://claude.ai/code/session_01B6XeAU5Gn7ZaLQJVSg4AKC
…ivery-visible-ack

# Conflicts:
#	tests/test_hermes_contract.py
@offendingcommit
offendingcommit changed the base branch from main to fix/reserved-tool-names-from-hermes October 30, 2026 19:23
@offendingcommit
offendingcommit added this pull request to stack #47 October 30, 2026 19:23
@offendingcommit
offendingcommit merged commit 369c388 into main Oct 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant