hermes - 💡(How to fix) Fix Telegram: render todo tool updates as in-place checklist

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fix / Workaround

Evidence

  • User expected in-topic task list while planning agent-dispatcher #25.
  • Two todo tool calls from the Telegram session produced no visible message in the topic.
  • Searching gateway code shows generic tool progress and Telegram edit support, but no todo result renderer / send_or_update_status path for todo results.
RAW_BUFFERClick to expand / collapse

Problem

Telegram gateway does not visibly render todo tool updates as an in-place editable checklist in the topic. During dogfood from Telegram, todo tool calls updated internal state but no checklist appeared in the topic, so users cannot track long work like the TUI task list.

Evidence

  • User expected in-topic task list while planning agent-dispatcher #25.
  • Two todo tool calls from the Telegram session produced no visible message in the topic.
  • Searching gateway code shows generic tool progress and Telegram edit support, but no todo result renderer / send_or_update_status path for todo results.

Proposed design

Add a Telegram gateway status renderer for todo tool completion:

  • On todo tool completion, parse returned JSON {todos, summary}.
  • Render a compact checklist:
    • [ ] pending
    • [~] in_progress
    • [x] completed
    • [-] cancelled
  • Send once and then edit the same Telegram status message for subsequent todo updates in the same run/session/topic.
  • Scope status keys by platform/chat/thread/session/run so different topics do not overwrite each other.
  • Keep final assistant replies as normal new messages.
  • Fail closed: if parsing fails, keep existing generic tool progress behavior and log debug/warning without breaking the turn.

Acceptance criteria

  • Unit test: first todo completion sends one checklist status message.
  • Unit test: second todo completion edits the same message, not a new one.
  • Unit test: topic/thread/session isolation.
  • Unit test: final assistant reply still sends as normal message.
  • Telegram dogfood in a real topic confirms the checklist appears and updates in place.
  • No unrelated cron/kanban/dashboard changes included.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix Telegram: render todo tool updates as in-place checklist