Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/agents/os-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,6 @@ _Generated by [Claude Code](https://claude.ai/code)_ ← bare:评
_Generated by [Claude Code](https://claude.ai/code/session_<id>)_ ← session-URL:创建 PR 正文用
```

- session-URL 形创建用,编辑后原样存活;编辑时不带页脚发送、读回,平台在其下追加裸形块
- 页脚形态随通道(MCP / REST)与动作(建 / 改)变,⛔ 不由一条推其余;发你要存的,写后必回读
- 评论通路 MCP 与 REST 同判:整块原样存活,缺规则线则不认、再落整块留两个。
- 耐久归属写进正文散文或评论,⛔ 不循环重贴页脚;完整读数住 AGENTS.md 同条。
10 changes: 5 additions & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,11 +425,11 @@ _Generated by [Claude Code](https://claude.ai/code)_ ← bare: u
_Generated by [Claude Code](https://claude.ai/code/session_<id>)_ ← 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
Expand Down
Loading