feat: add user alias mapping for jealousy detection context

Adds user_aliases config section mapping Discord IDs to known nicknames.
Aliases are anonymized and injected into LLM analysis context so it can
recognize when someone name-drops another member (even absent ones).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 10:22:57 -05:00
parent a73d2505d9
commit ad1234ec99
3 changed files with 51 additions and 5 deletions

View File

@@ -21,6 +21,13 @@ sentiment:
escalation_threshold: 0.25 # Triage toxicity score that triggers re-analysis with heavy model
escalation_boost: 0.04 # Per-message drama boost after warning (sustained toxicity ramps toward mute)
# Nicknames/aliases for server members. Used by the LLM to recognize
# when someone references another member by name in chat.
user_aliases:
684222822272598058: ["Mark", "Limit"] # thelimitations
1113144994790903908: ["Glam", "G"] # Glamgirlxx
1195191381929508964: ["Bree"] # QueenBree10
game_channels:
gta-online: "GTA Online"
battlefield: "Battlefield"
@@ -135,11 +142,6 @@ polls:
duration_hours: 4
cooldown_minutes: 60 # Per-channel cooldown between auto-polls
wordle:
enabled: true
bot_name: "Wordle" # Discord bot name to watch for
reply_chance: 0.75 # Chance to comment on result summaries (0.0-1.0)
playing_reply_chance: 0.0 # Chance to comment on "was playing" messages (0 = never)
coherence:
enabled: true