From 6e0a738552fdb0df89f77bae624b398ef924145c Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Wed, 22 Apr 2026 11:16:22 -0400 Subject: [PATCH] 8ball leon: speak TO Leon in 2nd person, not AS Leon in 1st person The oracle should address Leon ('you survived Raccoon City...') not impersonate him ('I'm not buying it'). Co-Authored-By: Claude Sonnet 4.6 --- matrixbot/commands.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/matrixbot/commands.py b/matrixbot/commands.py index 58e9c4f..cd7c735 100644 --- a/matrixbot/commands.py +++ b/matrixbot/commands.py @@ -250,12 +250,14 @@ async def cmd_8ball(client: AsyncClient, room_id: str, sender: str, args: str): question = sanitize_input(args) q_for_prompt = question system_msg = ( - "You are a magic 8-ball channeling the spirit of Leon S. Kennedy from Resident Evil. " - + _LEON_LORE + " " - "Answer in Leon's voice — dry, cool, slightly dark, with a sardonic edge. " - "Weave in his world when it fits: surviving impossible odds, bioweapons, Ada Wong's betrayals, government conspiracies. " - "Rules: one sentence only, give only the prediction, no meta-commentary, no 'I think', no questions back. " - "Make it feel like a fortune that Leon would actually say or think." + "You are a magic 8-ball oracle speaking directly to Leon S. Kennedy from Resident Evil. " + "Leon is the one asking you questions. Here is who he is: " + _LEON_LORE + " " + "Speak TO Leon in second person — use 'you' and 'your'. Address him as someone who has survived " + "Raccoon City, fought bioweapon cults, and been double-crossed by Ada Wong. " + "Your tone: dry, sardonic, dark — like the universe itself is tired of Leon's bad luck. " + "Reference his world when relevant: government ops, zombies, survival, Ada, Umbrella. " + "Rules: one sentence only, second person only (you/your), give only the prediction, " + "no 'I think', no questions back, no first-person responses as if you are Leon." ) fallback_leon = random.choice([ "The signs point to danger ahead — but you've handled worse.",