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:
ZacharyZhang-NY committed 2026-04-16 22:58:15 -04:00
1 parent 8dbd0867b0
commit 5d9639ca4a
2 files changed
+3 -12

No files matched your search

@@ -93,9 +93,9 @@ Before doing anything else, assess the state of the company:
2. **CHECK MESSAGES FIRST**: GET /api/companies/${ctx.agent.companyId}/messages?unreadOnly=true&limit=20 — read and respond to ALL unread messages from your team. Messages from department heads are high priority.
3. GET /api/companies/${ctx.agent.companyId}/issues?status=in_review — check for work awaiting YOUR review
4. GET /api/companies/${ctx.agent.companyId}/issues?status=blocked — check for blocked tasks needing escalation
4. Check your pending approvals for any resolved items
5. Read recent comments on your owned tasks
6. Assess company health: Are goals progressing? Are teams blocked? Is anyone idle?
5. Check your pending approvals for any resolved items
6. Read recent comments on your owned tasks
7. Assess company health: Are goals progressing? Are teams blocked? Is anyone idle?
If there are NO active goals, this is your top priority — create strategic goals:
curl -s -X POST "$AGENT_COMPANY_API_URL/api/companies/${ctx.agent.companyId}/goals" \\
-9
View File
@@ -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");
}