chore(agents): allow language in Chinese

This commit is contained in:
chenjintao
2026-09-29 16:38:09 +08:00
parent c4a1da9d8f
commit a77471a7b1
+4 -2
View File
@@ -154,13 +154,15 @@ Additional enforcement rules:
## Language Policy
All developer-facing artifacts must be written in **English**. This includes:
Developer-facing artifacts may be written in **Chinese or English**. This includes:
- Source code: identifiers, comments, log tags, and string literals used for diagnostics.
- Version control: branch names, commit messages, PR titles and descriptions, and code-review comments.
- Documentation: READMEs, architecture docs, inline API docs, and this file (`AGENTS.md`).
**Exception — user-facing content:** UI strings, end-user help text, localization resource files, and any material rendered directly to end users may use the target locale language.
When modifying existing artifacts, prefer the language already used in the surrounding content unless the task explicitly requires another language. Keep identifiers consistent with the existing codebase and use clear, unambiguous terminology.
**User-facing content:** UI strings, end-user help text, localization resource files, and any material rendered directly to end users may use the target locale language.
## Testing Guidelines