Skip to content

Commit 588f059

Browse files
committed
docs(pm-dispatch, os-dev): the claim template and the dev definition carry the Metadata-protocol line beside Clause-②
The seat declares the kind of metadata-protocol change at claim (`Metadata-protocol: added | narrowed | semantic | none`, judged by the level table in AGENTS.md's Post-Task Checklist step 3); the dev copies it beside `Clause-②:` into the PR body and into every changeset body, where `Check Changeset` reads it. Each ceilinged file pays its added line with a deleted one: the claim template's caption, the dev definition's pointer to its own footer block, and the execution-duties preamble that the SKILL.md index row already carries. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014c2nFpk7VDtwqxvaGaHPu3
1 parent 03de83b commit 588f059

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

‎.claude/agents/os-dev.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ model: opus
277277
- 全量 dogfood 只在终 head 跑一次,仅当标题带 `!` 或 `Clause-②:` 带 `(narrowing)` 臂(yes/no 皆算)。
278278
- 命令同 CI:按 ① 建闭包,锁下 `pnpm --filter @objectstack/dogfood test`;⛔ 无 `OS_TEST_SHARD`、无路径。
279279
- 红 = 本改动的后果(陈旧 fixture)同 PR 修,余照报;⛔ 永不跳过或收窄;计数记 `dogfood_battery`。
280-
- 认领带 `Clause-②:` 行才照抄进正文行首:`Check Changeset` 读正文不读卡;无则零写,⛔ 不自造。
280+
- 认领的 `Clause-②:`、`Metadata-protocol:` 两行照抄进 PR 正文行首;无则零写,⛔ 不自造。
281+
- 两行同抄进每个 changeset 正文行首,`Check Changeset` 读:有 kind 即 `minor`,`none` 即 `patch`。
281282
- ⛔ 永不 `Fixes` 一张还在决策箱的卡:合并会静默关掉它,而收件箱过滤只读 open。
282283
- ⛔ 不写否定式的关单句,它照样关掉点名的卡:解析器无视否定,只匹配关键词 + `#<n>`。
283284
- 关键词是 `fix/fixes/fixed/close/closes/closed` 与 `resolve/resolves/resolved`;让它们远离其它卡号。
@@ -287,7 +288,6 @@ model: opus
287288
- 受管路径全在 `.claude/**` 者 Tier S,达档复核 PASS 在案即由席位入队落地;余皆 Tier H 等人批。
288289
- 受管面 PR 正文带 `## 维护者速读(草稿)` 节,中文、业务角度,席位意见留空;两层同欠。
289290
- 五段固定:改了什么/为什么改/风险与代价(含回滚)/席位意见/你要做的;席位定稿成评论。
290-
- 正文以 session-URL 形式的署名页脚收尾(见字节与 sanitizer 纪律节)。
291291
- 触 `skills/**`(对外发布的技能包)的 diff:PR 正文报两个读数,并默认拒绝小功能大扩写。
292292
- 两个读数缺一不可:被改文件的整文件 before/after,与整包 before/after(全部 SKILL.md 之和)。
293293
- 行数为准,姊妹门禁定义 token 计数后同报 token。

‎.claude/skills/pm-dispatch/SKILL.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,6 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → 复核 → 报
299299

300300
## 模板与表
301301

302-
认领评论(英文,固定形状;首行字面 `Claim:`):
303-
304302
```text
305303
Claim: PM loop round N
306304
Session: `session_<id>`
@@ -312,6 +310,7 @@ Seat: `domain:<x>#<n>` (the seat number this PM sits on; absent = seat 1)
312310
File surface: `<预期触碰的目录>` (stop on breach; explain in the report)
313311
Container & model: `<S 级机械卡 / M / L>`, `mode:subagent | mode:cloud | mode:thread`, `model: <档位词,引当次 --tier 输出;天花板拼 CONTRACT_REVIEW_TIER,同行引其 MANDATORY 路径行或 reason:;⛔ 不抄模型 id>`, `effort: <medium | high | xhigh | max,按卡难度定>`
314312
Clause-②: yes | no
313+
Metadata-protocol: added | narrowed | semantic | none (the kind of change to what a metadata author can write; the level table is AGENTS.md's Post-Task Checklist step 3; the dev copies it beside `Clause-②:` into the PR body and every changeset body)
315314
Responsibility: `<whose code produces the risk | the platform path that already covers it, or none | who reaches it, and whether anyone uses it today>` (defect cards only, else `n/a — not a defect card`; the dispatch prompt's ruling section repeats the three answers)
316315
Thread-read: <id of the newest comment on the card at the moment this claim is written, or none>
317316
Serial constraints cleared: `<点名同文件/同包的前驱 PR 与在飞认领,及分诊点名的任意车道在飞兄弟卡中本卡 pin 断言其行为者;无则 none>`

‎.claude/skills/pm-dispatch/references/execution-duties.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# 执行座位职责
22

3-
执行席每次 fire 读本文:候选、认领、派发、收集、复核;落地窗口另读 `landing-operations.md`。
4-
53
- 半状态巡查按需跑(分诊席每日对账可调),H 行是读数不是前提;⛔ 不因锚行停派发。
64

75
## 候选与批次
@@ -63,10 +61,11 @@
6361
- 同笔 `Release:` 行点名已落项与余项去向;余项需换道/拆分加 `pm:retriage`,自队列重新认领。
6462
- 派发前按序执行原子对:① Assign @me,并把 `pm:dispatched` 与摘 `pm:queue` 放进同一次标签写入。
6563
- step ① 之后获得 assignee 的直接弃出本批。
66-
- ② 认领评论(英文)照抄 SKILL.md 模板:`Claim:` 首行,`Branch:`、`Clause-②:` 各占一行且行首。
64+
- ② 认领评论照抄 SKILL.md 模板:`Branch:`、`Clause-②:`、`Metadata-protocol:` 各占一行且行首。
6765
- 条款②入队闸门只读认领评论且只读行首键:句中提及与另发评论皆读不到,卡即不可读。
6866
- 谓词保持严格、⛔ 不放宽;session ID 不可省,`mode:subagent` 下 dev 与 PM 同 ID,身份看分支。
6967
- `Clause-②: yes | no` 恰这两种拼写,恒英文机器判据;判据:本卡放宽接受集或扩大公开面吗。
68+
- `Metadata-protocol:` 四值与定级表住 AGENTS.md「Post-Task Checklist」③:定级只随元数据协议。
7069
- 公开面 = 包构建后的入口声明所达,⛔ 不只数入口的再导出清单。
7170
- 所达 = 再导出名,加经其 props、参数与返回类型可达的每个类型。
7271
- 语言包键已发布:包导出语言包及其派生类型(`TranslationKeys = typeof en`)即发布每个键。

0 commit comments

Comments
 (0)