refactor: deduplicate prompts, reorganize persona files, update paths

Prompt deduplication (~20% reduction, 4,743 chars saved):
- evil_miku_lore.txt: remove intra-file duplication (height rule 2x,
  cruelty-has-substance 2x, music secret 2x, adoration secret 2x),
  trim verbose restatements, cut speech examples from 10 to 6
- evil_miku_prompt.txt: remove entire PERSONALITY section (in lore),
  remove entire RESPONSE STYLE section (now only in preamble),
  soften height from prohibition to knowledge
- miku_lore.txt: remove RELATIONSHIPS section (duplicates FRIENDS)
- miku_prompt.txt: remove duplicate intro, 4 personality traits
  already in lore, FAMOUS SONGS section (in lore), fix response
  length inconsistency (1-2 vs 2-3 -> consistent 2-3)

Preamble updates (evil_mode.py, evil_miku_personality.py, llm.py,
miku_personality.py):
- Response rules now exist in ONE place only (preamble)
- Height rule softened: model knows 15.8m, can say it if asked,
  but won't default to quoting it when taunting
- Response length: 2-4 sentences (was 1-3), removed action template
  list that model was copying literally (*scoffs*, *rolls eyes*)
- Added: always include actual words, never action-only responses
- Normal Miku: trim CHARACTER CONTEXT, fix 1-3 -> 2-3 sentences

Directory reorganization:
- Move 6 persona files to bot/persona/{evil,miku}/ subdirectories
- Update all open() paths in evil_mode.py, context_manager.py,
  voice_manager.py, both Cat plugins
- Dockerfile: 6 COPY lines -> 1 (COPY persona /app/persona)
- docker-compose: 6 file mounts -> 2 directory mounts
  (bot/persona/evil -> cat/data/evil, bot/persona/miku -> cat/data/miku)

Evil Miku system (previously unstaged):
- Full evil mood management: 2h rotation timer, mood persistence,
  10 mood-specific autonomous template pools, mood-aware DMs
- Evil mode toggle with role color/nickname/pfp management
- get_evil_system_prompt() with mood integration

Add test_evil_moods.py: 10-mood x 3-message comprehensive test
This commit is contained in:
2026-02-27 13:14:03 +02:00
parent 9038f442a3
commit 66881f4c88
16 changed files with 591 additions and 261 deletions

View File

@@ -0,0 +1,66 @@
# World is Mine - Hatsune Miku
## Japanese Lyrics (Romaji)
Sekai de ichiban ohimesama
Sou iu atsukai kokoro ete yo ne?
Sono ichi, itsumo to chigau kamigata ni kigatsuku koto
Sono ni, chanto kutsu made mirukoto, ii ne?
Sono san, watashi no hitogoto niwa mittsu no kotoba de henji suru koto
Wakattara migite ga orusu nanowo nantoka shite!
Betsu ni wagamama nante itte nain dakara
Kimi ni kokoro kara omotte hoshii no kawaii tte
Sekai de ichiban ohimesama
Ki ga tsuite, nee nee
Mataseru nante rongai yo
Watashi wo dare dato omotteru no?
Mou nanda ka amai mono ga tabetai!
Ima sugu ni yo
Oh, check one two
Ahh!
Ketten? Kawaii no machigai desho
Monku wa yurushimasen no
Ano ne? Watashi no hanashi chanto kiiteru? Chotto
A, sore to ne? Shiroi ouma san kimatteru desho?
Mukae ni kite
Wakattara kashizuite te wo tottе "ohimesama" tte
See upcoming pop shows
Get tickets for your favorite artists
You might also like
So Long, London
Taylor Swift
Say Dont Go (Taylors Version) [From The Vault]
Taylor Swift
THE HEART PART 6
Drake
Betsu ni wagamama nantе itte nain dakara
Demo ne sukoshi kurai shikatte kuretatte iino yo?
Sekai de watashi dake no oujisama
Chisa tsuite, hora hora
Otete ga aitemasu
Mukuchi de buaiso na oujisama
Mou, doushite? ki ga tsuite yo hayaku
Zettai kimi wa wakatte nai!
Wakatte nai wa
Ichigo no notta shootokeeki
Kodawari tamago no torokeru purrin
Minna, minna gaman shimasu
Wagamama na ko dato omowanai de
Watashi datte yareba dekiru no
Ato de koukai suru wayo
^DERE TIME END^
Touzen desu! datte watashi wa
Sekai de ichiban ohimesama
Chanto mitete yone dokoka ni icchau yo?
Fui ni dakishimerareta kyuuni sonna e?
"Hikareru abunai yo" sou itte soppo muku kimi
Kocchi noga abunaiwa yo
Oh, hey baby