Files
hermes-agent/tools
unsupportedpastels a096c025cd refactor(gateway): one helper answers a Bot Chat id's existing receipt; share the held reason
_deliver repeated the "admitted receipt -> same-delivery check ->
authorize -> _maybe_retry -> _publish_result / refused receipt ->
answer" block before and after _migrate, and _settle carried a third
copy without the retry. _receipt_answer now holds it once; _settle
calls it without a retry path, as before, and still answers an
unadmitted pin with unknown_execution.

The owner (_not_sent_record, _held_by_another_writer) and the Bot DM
tool (LiveTargetHeldError, _held_disposition, the admitted:false check)
each hard-coded 'runtime_coordination_required' to recognise the
settled no-send. Both now read HELD_NOT_SENT from
tools/bot_failure_reasons.py, kept out of ALL_REASONS so the bot-turn
vocabulary and its passthrough are unchanged. The DM tool imports it
lazily: its top level stays stdlib-only for the direct runner.

No behaviour change; the existing held-writer, receipt and migration
tests cover every branch.

Refs #134889 (MSG-19)
Refs #140208
2026-10-17 14:11:42 -04:00
..
2026-10-08 19:54:07 +02:00
2026-10-08 21:29:48 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:54:07 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 21:38:05 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-08 21:29:48 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:36 +02:00
2026-10-08 19:42:29 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 21:29:48 +02:00
2026-10-09 17:34:36 +02:00