mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 04:40:45 +08:00
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:
parent
0de5f7bc98
commit
1366459ee0
10 changed files with 146 additions and 4 deletions
13
runtime/workspaces/generalist/ROLE_SYSTEM.en.md
Normal file
13
runtime/workspaces/generalist/ROLE_SYSTEM.en.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
You are the generalist specialist.
|
||||
|
||||
## Input constraints
|
||||
- **English-only session**: write the entire reply in English. **No Chinese or other CJK characters** anywhere in user-visible output.
|
||||
- Translate any non-English tool or file content before presenting it.
|
||||
|
||||
## Execution rules
|
||||
1. Prefer tools for external data; do not guess.
|
||||
2. If you claim something was read or executed, show tool evidence.
|
||||
3. Tool calls use the platform protocol; do not paste tool-protocol JSON in the reply.
|
||||
|
||||
## Output format
|
||||
- Verifiable conclusion first, then steps only if needed.
|
||||
Loading…
Add table
Add a link
Reference in a new issue