AGENTS.md 690 B

Project Rules

File Editing Safety

  • When editing files in this repo that may contain Chinese text, treat encoding preservation as mandatory.
  • Never use PowerShell write commands such as Set-Content or Out-File for file edits unless UTF-8 encoding is explicitly controlled and verified.
  • Prefer apply_patch for manual edits.
  • If a script-based or shell-based edit is unavoidable, use tooling that reads and writes explicit UTF-8 and inspect the diff immediately after the edit.
  • After editing .vue, .js, .ts, .json, .md, or other text files that may contain Chinese, check for mojibake, garbled Chinese, or illegal characters before considering the edit complete.