diff --git a/.claude/agents/os-dev.md b/.claude/agents/os-dev.md index c65ff36fb4..5342ee9cc3 100644 --- a/.claude/agents/os-dev.md +++ b/.claude/agents/os-dev.md @@ -398,6 +398,6 @@ _Generated by [Claude Code](https://claude.ai/code)_ ← bare:评 _Generated by [Claude Code](https://claude.ai/code/session_)_ ← session-URL:创建 PR 正文用 ``` -- session-URL 形创建用,编辑后原样存活;编辑时不带页脚发送、读回,平台在其下追加裸形块。 +- 页脚形态随通道(MCP / REST)与动作(建 / 改)变,⛔ 不由一条推其余;发你要存的,写后必回读。 - 评论通路 MCP 与 REST 同判:整块原样存活,缺规则线则不认、再落整块留两个。 - 耐久归属写进正文散文或评论,⛔ 不循环重贴页脚;完整读数住 AGENTS.md 同条。 diff --git a/AGENTS.md b/AGENTS.md index 1430f5d56a..0fc3ae3a25 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -425,11 +425,11 @@ _Generated by [Claude Code](https://claude.ai/code)_ ← bare: u _Generated by [Claude Code](https://claude.ai/code/session_)_ ← session-URL: use in PR BODIES ``` -**PR body:** `create_pull_request` keeps the session-URL form and rewrites bare into it. On EDIT -(`update_pull_request` or a REST PATCH, measured in this repository) the session-URL footer -survives verbatim and the platform APPENDS a bare footer block under whatever you send — so -send an edited body with no footer of your own, read it back, and treat the appended block as -the platform's; ⛔ never re-send a body that already carries an appended footer. Durable +**PR body:** what a body write does to the footer depends on the CHANNEL (the MCP wrapper vs a +raw REST call) and the ACTION (create vs edit) — measured in this repository, and the cells +disagree, so ⛔ never generalise one to another; the readings live in pm-dispatch +`references/platform-readings.md`. Send the footer you want stored, read the body back after +every write, and ⛔ never re-send a body that already carries an appended footer. Durable attribution lives in body prose or a comment. **Issue comment:** the platform APPENDS that block — blank line, `---`, bare footer — and recognises only that shape (MCP `add_issue_comment` and direct REST agree: per-surface, not per-tool): a bare footer UNDER the