diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 3ed6800e..22f722d1 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,8 +10,9 @@ 3. - [ ] 本次更新类型为:BUG修复 - [ ] 本次更新类型为:功能新增 4. - [ ] 本次更新是否经过测试 -5. 请填写破坏性更新的具体内容(如有): -6. 请简要说明本次更新的内容和目的: +5. - [ ] 如果本次修改涉及 `src/A_memorix`,我确认已阅读 `src/A_memorix/MODIFICATION_POLICY.md`,不涉及则无需勾选 +6. 请填写破坏性更新的具体内容(如有): +7. 请简要说明本次更新的内容和目的: # 其他信息 - **关联 Issue**:Close # - **截图/GIF**: diff --git a/AGENTS.md b/AGENTS.md index fead0c13..5cec7c47 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -44,5 +44,13 @@ # 关于webui修改 不要修改dashboard下的内容,因为这部分内容由另一个仓库build +# 关于 A_memorix 修改 +如果修改涉及 `src/A_memorix`,请先阅读 `src/A_memorix/MODIFICATION_POLICY.md`。 + +默认原则: +1. `src/A_memorix` 的实现层改动应优先遵守 `src/A_memorix/MODIFICATION_POLICY.md` 中的归属约束。 +2. 不要提交无边界的 `ruff`、格式化、导入整理或大面积实现整理。 +3. 本地实验目录或依赖其运行的测试,除非明确说明并确认,否则不要进入共享历史。 + # maibot插件开发文档 -https://github.com/Mai-with-u/maibot-plugin-sdk/blob/main/docs/guide.md \ No newline at end of file +https://github.com/Mai-with-u/maibot-plugin-sdk/blob/main/docs/guide.md