fix(prompt): CEO priority list numbering + drop trailing locale reminder
P2-49: CEO Priority 1 standup list had two '4.' entries followed by '5.' and '6.'. Renumber to 3/4/5/6/7. P2-45: Remove the tail 'Language Requirement Reminder' section. The body of the prompt is English regardless of locale, so appending 'remember Chinese' after 8KB of English made the locale signal less coherent rather than more. Keep the single up-front locale instruction.
This commit is contained in:
1 parent
8dbd0867b0
commit
5d9639ca4a
2 files changed
+3
-12
No files matched your search
@@ -368,14 +368,5 @@ Always verify API responses before reporting — only report successful actions.
|
||||
- CRITICAL: Actually call the API to take actions. Do NOT just describe what you would do — DO it. Every wake cycle should result in at least one API call that moves work forward.
|
||||
`);
|
||||
|
||||
// Reinforce locale at the end of prompt (recency bias helps LLMs follow this)
|
||||
if (localeInstruction) {
|
||||
if ((ctx.locale ?? "en") === "zh") {
|
||||
sections.push(`# 语言要求提醒\n${localeInstruction}\n请记住:你的所有输出必须使用中文。\n`);
|
||||
} else {
|
||||
sections.push(`# Language Requirement Reminder\n${localeInstruction}\nRemember: ALL your output must be in English.\n`);
|
||||
}
|
||||
}
|
||||
|
||||
return sections.join("\n");
|
||||
}
|
||||
Reference in new issue
Block a user