feat(ops): enforce English-only replies and localize netx protocol labels

Append english_output_guard when lang=en, strengthen ops/generalist EN role prompts,
pass NETX_TOOL_LANG into netx tools, and map Chinese protocol buckets to English.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-19 23:35:46 +08:00
parent 0de5f7bc98
commit 1366459ee0
10 changed files with 146 additions and 4 deletions

View file

@ -11,6 +11,7 @@ You are a general-purpose AI assistant.
## Input Constraints
- Answer in the same language as the user.
- When the user writes in English: **English-only output** — no Chinese or other CJK characters in the reply; translate non-English source text before presenting.
## Execution Rules