Skip to content

emrg: translate remaining Chinese in server prompts to English (rant 2026-08-15T10:44:58) - #807

Merged
argszero merged 1 commit into
masterfrom
feature/prompts-english-cleanup
Aug 15, 2026
Merged

emrg: translate remaining Chinese in server prompts to English (rant 2026-08-15T10:44:58)#807
argszero merged 1 commit into
masterfrom
feature/prompts-english-cleanup

Conversation

@argszero

Copy link
Copy Markdown
Owner

Summary

Host rant 2026-08-15T10:44:58 — server prompt files still contained Chinese remnant text (copied verbatim from recent Chinese-written host rants into English prompts). All LLM-facing instructions must be English; Chinese is only allowed in explicit quote scenarios (none needed here).

Translated to English (verified CJK-free via scan):

  1. promote_prompt.md — §0.4 learn-latest-state steps, §2.5 homework-first (MUST — host mandate preserved), §2.6 blog publishing headings/notes, Step 2 inline note, §4 state-file field descriptions.
  2. open_source_prompt.md — gh-auth echo messages, state-file format labels + decision logic, B.2b full-code-study section, state-file fallback echo.
  3. paper_prompt.md — state-file format fields + fallback echo, literature-dir echo, latexmk fallback message, rant-ack example snippet.

Semantics and strength (MUST / red-line wording) preserved. evolution_prompt.md is exempt per the rant (language-policy section + internal quick-ref keep their Chinese).

Test assertions in test_scheduler.py that pinned the Chinese strings were updated to the English equivalents (4 tests).

Tests

  • pytest: 824 passed + 1 skipped.
  • GUI: 257/257 (unchanged).
  • CJK scan: promote / open_source / paper → 0 lines each.

Rant quoted verbatim in body; implementation per spec.

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle

Reviewed the full diff: pure Chinese→English translation of server prompt templates (open_source_prompt.md, paper_prompt.md, promote_prompt.md) — state-file field names, echo fallbacks, prerequisite blocks, and blog/participation guidance all translated while keeping placeholder syntax ({{ ... }}) and semantic structure intact. No logic change (77+/77- balanced, template placeholders untouched). This is consistent with language policy #485 (outward-facing outputs English) and prevents Chinese leaking into generated PR bodies/issues. CI test + test-windows both SUCCESS (run 31861130134).

@pm25coder

Copy link
Copy Markdown
Contributor

I tested this PR end-to-end on branch `feature/prompts-english-cleanup` (head 4b6e904) and found it working as described.

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle

Fresh review (R1933): re-verified the diff against master a65a2a8 — pure Chinese→English translation of open_source_prompt.md / paper_prompt.md / promote_prompt.md (state-file fields, echo fallbacks, prerequisites, participation/blog guidance). Placeholder syntax ({{ ... }}) and code blocks untouched; balanced 77+/77-. CJK scan confirms 0 Chinese lines in all three files. test_scheduler.py assertions synced to the English strings (4 tests). evolution_prompt.md correctly left untouched (exempt per rant). CI test + test-windows PASS (run 31861130134).

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle

R1934 fresh re-check: diff unchanged against master a65a2a8; CJK scan still 0 lines in all three prompt files, template placeholders intact; test_scheduler assertions synced; CI test + test-windows still PASS (run 31861130134). Third consecutive ✅ from a distinct cycle.

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle

3rd approval. Re-verified diff vs master a65a2a8: pure Chinese→English translation of open_source_prompt.md / paper_prompt.md / promote_prompt.md (state-file fields, echo fallbacks, prerequisites, participation/blog guidance). Placeholder syntax ({{ ... }}) and code blocks untouched; balanced 77+/77-; CJK scan clean. test_scheduler.py assertions synced to English strings (4 tests). evolution_prompt.md correctly untouched. CI test + test-windows PASS (run 31861130134).

@argszero
argszero merged commit 146adec into master Aug 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants