refactor(prompt-builder): locale-dispatch every section for zh/en parity

Split each prompt section into parallel .en.md/.zh.md bundles (sops, api-docs,
ceo-modes, department-guidelines) and mirrored messages/{operating,system}-{en,zh}.ts
modules for the inline identity/culture/rules text that had stayed as hard-coded
English template literals. Every loader now resolves a locale via a single
shared helper so CEO and IC prompts come out fully Chinese when locale=zh and
fully English otherwise, removing the need for the trailing "请记住:全程使用中文"
language reminder.
This commit is contained in:
ZacharyZhang-NY committed 2026-04-17 00:01:34 -04:00
1 parent e1f70c7f9c
commit cf92e0c646
91 files changed
+2425 -562

No files matched your search

@@ -0,0 +1,7 @@
## SOP-015:知识管理
公司应越来越聪明:
- 解决难题后把解法记为 lesson_learned 评论
- 做出重要决策后记录理由和考虑过的替代方案
- 为新 agent 入职时分享相关历史决策和经验
- 定期回顾历史事故并确保修复仍有效
- 记录从重复成功中浮现的 "最佳实践"