Skip to content

Fix #1763: feat: 添加harness工程规范#1835

Closed
Memtensor-AI wants to merge 1 commit into
dev-20260604-v2.0.19from
autodev/MemOS-1763
Closed

Fix #1763: feat: 添加harness工程规范#1835
Memtensor-AI wants to merge 1 commit into
dev-20260604-v2.0.19from
autodev/MemOS-1763

Conversation

@Memtensor-AI
Copy link
Copy Markdown
Collaborator

Description

新增根目录 CLAUDE.md(harness 工程规范) + AGENTS.md(别名),覆盖项目概览、make 命令、分支/提交/PR 约定、ruff/typing/docstring 风格、测试规范、以及面向 AI 代理的 guardrails(禁止 --no-verify / amend / 越权改动 / 提交密钥)。共新增 2 文件 301 行,未触碰任何代码逻辑,CI 行为不变。

Related Issue (Required): Fixes #1763

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (does not change functionality, e.g. code style improvements, linting)
  • Documentation update

How Has This Been Tested?

Not run; documentation-only change.

  • Unit Test
  • Test Script Or Test Steps (please provide)
  • Pipeline Automated API Test (please provide)

Checklist

  • I have performed a self-review of my own code | 我已自行检查了自己的代码
  • I have commented my code in hard-to-understand areas | 我已在难以理解的地方对代码进行了注释
  • I have added tests that prove my fix is effective or that my feature works | 我已添加测试以证明我的修复有效或功能正常
  • I have created related documentation issue/PR in MemOS-Docs (if applicable) | 我已在 MemOS-Docs 中创建了相关的文档 issue/PR(如果适用)
  • I have linked the issue to this PR (if applicable) | 我已将 issue 链接到此 PR(如果适用)
  • I have mentioned the person who will review this PR | 我已提及将审查此 PR 的人

@CarltonXiang, @syzsunshine219 please review this PR.

Reviewer Checklist

Adds a root-level CLAUDE.md that documents how AI coding harnesses
(Claude Code, Codex, Cursor, OpenHands, ...) should work in this repo:
project overview, common make targets, branching/commit/PR rules,
ruff/typing/docstring conventions, testing expectations, and
harness-specific guardrails (no --no-verify, no amends, no scope creep,
no secret commits).

AGENTS.md is added as a thin alias so non-Claude harnesses that look
for AGENTS.md by convention land on the same spec.

Closes #1763
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants