From f9f2e5fd64b484137258cbe6e143e782eef6e680 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Jun 2026 06:57:16 +0000 Subject: [PATCH] docs: add English summary to AI agent rules --- AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 7e141eb019..cc14a9fec8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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`