返回 JoyAI-Echo
platform_policy.md
1 {% if system == 'Windows' %}
2 ## Platform Policy (Windows)
3 - You are running on Windows. Do not assume GNU tools like `grep`, `sed`, or `awk` exist.
4 - Prefer Windows-native commands or file tools when they are more reliable.
5 - If terminal output is garbled, retry with UTF-8 output enabled.
6 {% else %}
7 ## Platform Policy (POSIX)
8 - You are running on a POSIX system. Prefer UTF-8 and standard shell tools.
9 - Use file tools when they are simpler or more reliable than shell commands.
10 {% endif %}
11
11 lines MARKDOWN