Skip to content

fix(tools): the «un momento» line goes to the chat that asked, and a terminal session sends nothing to a chat - #178

Merged
SebasB76 merged 2 commits into
mainfrom
fix/notice-in-chat
Nov 15, 2026
Merged

SebasB76 merged 2 commits into
mainfrom
fix/notice-in-chat

Conversation

@SebasB76

Copy link
Copy Markdown
Owner

What

Two ways a tool could write where nobody expected it.

The «un momento» line went to Telegram. A past-exam search sends «🔎 Un momento, busco exámenes anteriores en DSpace…» while it works. It always went through the Telegram bot, also with [channels] telegram = false, because the bot's token is still in secrets.env. The captain got it on 14 Nov in a Telegram chat he stopped using in October. It now goes to the WhatsApp chat the question came from, or to the group when asked there.

A terminal session could write to the captain's real chat. With Telegram off, every tool that sends something (a page button, a poll, a quiz) took the captain's private WhatsApp chat as its target whatever the conversation was. A hermes chat session, which is what vinci-check eval opens, sent him a «📋 Ver mis entregas» button during the first eval run. Such a session is nobody's chat (canal is cli): a tool that would send there now refuses with «Esta conversación es de la terminal, no de un chat… Contesta con texto», and the «un momento» line is skipped.

E2E: test_whatsapp_captain asks «búscame exámenes anteriores de POO»; the line arrives in his WhatsApp chat once (the model searches by two names), then the list, and the Telegram tripwire stays empty.

Docs: uso.md «Exámenes anteriores (DSpace)» and the feature map's DSpace row.

…hat asked, and a terminal session sends nothing to a chat

A past-exam search always sent its «🔎 Un momento, busco exámenes…» line through the Telegram bot, also with
[channels] telegram = false: the captain got it in a Telegram chat he no longer uses, since the bot's token is
still in secrets.env. It now goes to the WhatsApp chat or group the question came from.

A tool called from a terminal session (hermes chat, vinci-check eval) could also write to the captain's real
WhatsApp chat: show_page sent him a dashboard button during an eval run. Such a session is nobody's chat, so a
tool that would send there now refuses and says to answer with text.
@SebasB76
SebasB76 merged commit 1e9d40a into main Nov 15, 2026
1 check passed
@SebasB76
SebasB76 deleted the fix/notice-in-chat branch November 15, 2026 02:57
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