fix: Evil Miku wordiness regression from username prompt changes

Five targeted fixes:

1. discord_bridge (priority 100): Skip 'cheerful virtual idol' wrapper and
   'CRITICAL INSTRUCTION' about facts when evil_mode is active. Evil Miku
   gets her own prompt from evil_miku_personality plugin.

2. memory_consolidation (priority 10): Soften fact-usage pressure:
   'Use THESE facts when answering' → 'You may reference these facts if
   relevant to the conversation'. Also soften username command tone.

3. evil_miku_personality (priority 100→101): Bump above discord_bridge
   so Evil Miku's prefix replacement deterministically discards any
   Miku-mode wrappers regardless of plugin load order.

4. evil preamble: Restructure for brevity — add 'Be SHORT and SHARP'
   declaration, move RESPONSE RULES before mood, tighten sentence limit
   from 2-4 to 1-3 with 'if you can say it in one, say it in one.'

5. evil suffix: Add final brevity reminder '[Keep responses short and
   cutting — 1-3 sentences. No monologues.]' right before conversation
   for maximum recency influence.
This commit is contained in:
2026-05-18 10:56:07 +03:00
parent e091fc1417
commit 6b6d705024
4 changed files with 26 additions and 11 deletions

View File

@@ -282,9 +282,9 @@ def agent_prompt_prefix(prefix, cat):
# Add authoritative Discord display name — this OVERRIDES any stale name facts
if author_name:
facts_text += f"\n**AUTHORITATIVE: The user's current Discord display name is \"{author_name}\".**\n"
facts_text += "Use THIS name when addressing them. If any name fact above contradicts this, the display name is the truth.\n"
facts_text += "This is their current name — use it when addressing them. If any name fact above contradicts this, the display name is the truth.\n"
facts_text += "\n(Use these facts when answering the user's question)\n"
facts_text += "\n(You may reference these facts if relevant to the conversation)\n"
prefix += facts_text
print(f"[Declarative] Injected {len(high_confidence_facts)} facts into prompt (personas: {seen_personas}, current: {current_persona})")