Skip to content

fix: reach Telegram from resumed asks - #54

Merged
TerrifiedBug merged 1 commit into
masterfrom
fix/telegram-ask-restart-target
Aug 14, 2026
Merged

fix: reach Telegram from resumed asks#54
TerrifiedBug merged 1 commit into
masterfrom
fix/telegram-ask-restart-target

Conversation

@TerrifiedBug

Copy link
Copy Markdown
Owner

Summary

  • fall back to the paired Telegram owner when an explicit telegram_ask has no pre-resolved chat, even when a terminal picker is available
  • preserve dual-surface first-answer behavior for resumed daemon and locally injected turns
  • pin the exact Hermes regression: hydrated token and owner, interactive terminal, no active prompt target
  • clarify paired-owner fallback in the user guide

Addresses #50. The issue stays open until the follow-up release passes the live fleet smoke.

Root cause

Paired-owner fallback was gated by !canTerminal. After the fleet session restarted, its custom turn had an interactive terminal but no pre-resolved Telegram target, so telegram_ask never attempted a Telegram post and correctly reported only posted:["terminal"].

Verification

  • red before fix: bun test src/index.wiring.test.ts --test-name-pattern "resumed daemon UI ask"
  • green after fix: same command
  • bun install
  • bun run check (275 tests pass)

@TerrifiedBug
TerrifiedBug merged commit 114808c into master Aug 14, 2026
1 check passed
@TerrifiedBug
TerrifiedBug deleted the fix/telegram-ask-restart-target branch August 14, 2026 13:25
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