https://gitlab.synchro.net/main/sbbs/-/commit/fc683fabeb009dde1a814d14
Modified Files:
exec/chat_llm_irc.js
Log Message:
chat_llm_irc: add per-user mute/unmute
A user can address the bot with "mute me" (or "shut up", "be quiet",
"stfu", "leave me alone", ...) to stop it replying to them and stop it auto-intervening on their questions; "unmute me" (or "talk to me",
"come back", ...) resumes. Per-user, keyed by lowercased nick,
persisted to data/<bot_file_base>_mute.json so a restart doesn't
silently un-mute everyone. Mute/unmute are honored even while muted, so
a user can always bring the bot back.
IRC-only by design: IRC is the only context where the guru speaks
unprompted (direct address + high-confidence intervention). The
Terminal Server guru-paging and private/jsexec chat are pull-based, so
there is nothing to mute there.
Also adds a CHAT_LLM_IRC_NO_MAIN guard so the adapter can be loaded for
unit testing without connecting a duplicate bot (mirrors chat_llm.js's CHAT_LLM_NO_STANDALONE).
Co-Authored-By: Claude Opus 4.8 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net