MEDIUM: Extract system prompt to a single shared source (eliminate triple duplication) #34
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The Miku personality system prompt is duplicated in three separate locations:
Any personality or prompt change must be manually synchronized across all three files. If one is missed, the bot exhibits inconsistent personality depending on the code path (direct LLM vs Cat vs dashboard chat).
Proposed Solution
Create a single prompt builder module:
Then:
For the Cheshire Cat plugin (which runs in a separate container), either:
Impact
Files Affected