docs: add English summary to AI agent rules

This commit is contained in:
copilot-swe-agent[bot]
2026-06-09 06:57:16 +00:00
committed by GitHub
parent 9050a3fe8f
commit f9f2e5fd64
+3
View File
@@ -1,5 +1,7 @@
# RT-Thread AI Agent Rules
> English summary: AI agents may only make minimal, task-related, verifiable changes; they must not introduce unrelated refactors, generated artifacts, secrets, dependency churn, or history rewrites. Place changes in the existing directories only (`bsp/`, `components/`, `documentation/`, `examples/`, `include/`, `libcpu/`, `src/`, `tools/`), follow existing naming and file-style conventions, and defer to `.github/CONTRIBUTING.md`, `documentation/7.contribution/coding_style_cn.md`, and `documentation/7.contribution/coding_style_en.md` when more specific rules already exist.
本文件用于约束在本仓库内工作的 AI Agent(如 Codex)。如无明确说明,所有修改都应遵循“**最小改动、问题导向、可验证**”原则。
## 1. 可以做什么
@@ -58,3 +60,4 @@
- 若发现仓库现有规则与本文件冲突,以更具体的目录文档、贡献指南和编码规范为准:
- `.github/CONTRIBUTING.md`
- `documentation/7.contribution/coding_style_cn.md`
- `documentation/7.contribution/coding_style_en.md`