Skip to content

A failed channel turn posts the raw platform error into the chat (in a Telegram group, every member sees it) #3603

Closed

Description

@AndriiPasternak31

Build: v1.0.0-rc2 (96f88f9). Found during release-test row B21 (abilityai/trinity-enterprise#847), Telegram group, local install with no model key.

Steps

  1. Bind a Telegram bot to an agent whose turns fail (here: no model key configured). Add the bot to a group.
  2. In the group, tag the bot: @<bot> what did we just discuss?

Expected

The group gets a plain, member-facing line (e.g. "Sorry, I couldn't answer that right now."). The real error stays with the operator (execution log, operator queue), as #3478 did for public chat.

Actual

  • The bot posts the platform's own error into the group: "Authentication failure: Not logged in · Please run /login. Check subscription token or API key configuration." Seen 3 times, once per failed tagged turn.
  • Every group member sees operator configuration detail. The same path serves Slack, WhatsApp and Telegram DMs.
  • Already the case on v0.9.5.

Where

src/backend/adapters/message_router.py:925-940 ("Reply with the actual error if available").

Acceptance criteria

Activity

  1. added
    priority-p3
    type-bug
    theme-reliability
    complexity-low
    priority-p2
    and removed
    priority-p3
    on Oct 12, 2026
  2. AndriiPasternak31 commented on Oct 12, 2026

    @AndriiPasternak31
    ContributorAuthor

    Re-triaged for 1.0 (#847, row B21): P3 → P2. Everyone in the chat sees operator configuration detail; errors are credential-scrubbed, so no secret leaks. #3478 fixed the same class for public chat in this release. Same at v0.9.5; about 5 lines: fix if cheap, else release-note.

  3. added
    status-ready
    on Oct 12, 2026
  4. removed
    status-ready
    on Oct 20, 2026
  5. dolho commented on Oct 20, 2026

    @dolho
    Contributor

    /claim

  6. added
    status-in-progress
    on Oct 20, 2026
  7. github-actions commented on Oct 20, 2026

    @github-actions

    Claimed by @dolho. Label status-in-progress added.

    Next steps:

    1. Create branch: feature/3603-<short-slug>
    2. Implement the feature
    3. Open a PR with Fixes #3603
  8. added
    status-in-dev
    and removed
    status-in-progress
    on Oct 23, 2026
  9. removed
    status-in-dev
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity-lowpriority-p2theme-reliabilitytype-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions