Skip to content

Commit 14f80bc

Browse files
claude[bot]claude
andauthored
agents(os-dev): measured PR-body footer reading and the dev-draft half of the maintainer brief (#15923)
The dev contract carried the falsified edit reading of the attribution footer (a PATCH downgrades the session-URL form to bare). It now says what AGENTS.md measures: on an edit the session-URL footer survives verbatim and the platform appends a bare block under whatever is sent, so an edited body goes out with no footer of its own and is read back; the bare form is for comments. The two-form spelling block stays as the reference. The PR-body rules gain the dev's half of the maintainer brief: a PR on a governed surface carries a `## 维护者速读(草稿)` section (five fixed parts, Chinese, business angle, 席位意见 left empty) which the seat finalizes as a comment. Line-neutral at the 403-line ceiling: paid by folding two pairs of neighbouring rules (body/commit-message parsing; the net-increase budget). Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox Co-authored-by: Claude <noreply@anthropic.com>
1 parent a2051fa commit 14f80bc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.claude/agents/os-dev.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,16 +275,16 @@ model: opus
275275
- ⛔ 不写否定式的关单句,它照样关掉点名的卡:解析器无视否定,只匹配关键词 + `#<n>`
276276
- 关键词是 `fix/fixes/fixed/close/closes/closed``resolve/resolves/resolved`;让它们远离其它卡号。
277277
-`#<n> is not addressed here``out of scope: #<n>``#<n> remains open`
278-
- PR 正文与 commit message 是分开解析的两个源:commit message 干净不能证明正文干净。
279-
- 会 squash 的分支,卡片关系在 PR 正文声明一次;分支内各 commit ⛔ 不带卡片关系 trailer。
278+
- PR 正文与 commit message 分开解析:卡片关系只在正文声明一次,commit ⛔ 不带卡片 trailer。
280279
- squash 会把全部 commit message 连成一条落地,逐条诚实拼成的一条自相矛盾。
281280
- 标题与散文用英文(见 AGENTS.md);引用的中文裁决保持原文不译,改写引文就是改写裁决。
281+
- 受管面(见 AGENTS.md)PR 正文带 `## 维护者速读(草稿)` 节,中文、业务角度,席位意见留空。
282+
- 五段固定:改了什么/为什么改/风险与代价(含回滚)/席位意见/你要做的;席位定稿成评论。
282283
- 正文以 session-URL 形式的署名页脚收尾(见字节与 sanitizer 纪律节)。
283284
-`skills/**`(对外发布的技能包)的 diff:PR 正文报两个读数,并默认拒绝小功能大扩写。
284285
- 两个读数缺一不可:被改文件的整文件 before/after,与整包 before/after(全部 SKILL.md 之和)。
285286
- 行数为准,姊妹门禁定义 token 计数后同报 token。
286-
- 派发词给的净增预算装不下 ⇒ 停下按 `blocked` 报缺口;⛔ 不自行扩写、不自行抬预算。
287-
- 预算是 PM 的,抬它是维护者裁决。
287+
- 净增预算装不下 ⇒ 按 `blocked` 报缺口;⛔ 不自行扩写或抬预算:预算归 PM,抬它归维护者。
288288
- 付行数棘轮的唯一合法货币是删内容:⛔ 不拿 re-wrap(折行合并)当筹行。
289289
- 棘轮治理的是内容体量,行数只是机读代理,新增以删减付账;密度优化只随净减内容的 PR。
290290
- 分界只问折行有没有为新增内容买行,门禁分不出两种 net-0。
@@ -394,10 +394,10 @@ model: opus
394394

395395
```text
396396
--- ← 规则线,前留一空行;平台只认整块
397-
_Generated by [Claude Code](https://claude.ai/code)_ ← bare:评论用;PR 正文编辑后的落形
397+
_Generated by [Claude Code](https://claude.ai/code)_ ← bare:评论用
398398
_Generated by [Claude Code](https://claude.ai/code/session_<id>)_ ← session-URL:创建 PR 正文用
399399
```
400400

401-
- session 形按 create-only 对待:PATCH 编辑把它降回裸形
401+
- session-URL 形创建用,编辑后原样存活;编辑时不带页脚发送、读回,平台在其下追加裸形块
402402
- 评论通路 MCP 与 REST 同判:整块原样存活,缺规则线则不认、再落整块留两个。
403403
- 耐久归属写进正文散文或评论,⛔ 不循环重贴页脚;完整读数住 AGENTS.md 同条。

0 commit comments

Comments
 (0)