Skip to content

Commit 6364f11

Browse files
committed
docs(pm-dispatch): a dispatched PR carries its card's assignee — set at pr_create, moved on takeover
execution-duties.md (认领): the card assignee stays the PM's; the PR assignee equals the card's, the dev sets it in the same round as pr_create through label-write, a seat's own PR is assigned to the seat, the takeover's step two moves it in the same stroke, and the reader is `is:pr is:open assignee:LOGIN`. Paid in place: two clauses already stated elsewhere (the atomic pair's step one, SKILL.md's never-touch-another's-assignee row) and the push-every-step line that os-dev.md already carries as the dev's own rule. os-dev.md: rule 2 narrows "never write the assignee" to the CARD's, and the write budget's label-write slot names the PR-assignee write. Claude-Session: https://claude.ai/code/session_01LNRg6FUMXYWgkAbDsfZpC8 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5b9402d commit 6364f11

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ model: opus
3131
- 探针遇 403 ⇒ 停下报 `blocked`,⛔ 不进重试循环;只有网络错误才退避重试。
3232
- Scratchpad 按 issue 隔离:在 scratchpad 目录下建 `issue-<n>/` 子目录,临时文件全写进去。
3333
- 同批 agents 共用一个 scratchpad 目录,自然命名的文件会被彼此静默覆盖。
34-
2. **assignee 归 PM。** 派发原子对已把它设好;共享身份下该字段答不了是谁。
34+
2. **卡 assignee 归 PM。** 派发原子对已把它设好;共享身份下该字段答不了是谁。
3535
- 你的身份位是认领评论里的分支;仓 CLAUDE.md 的 claim-first 已由 PM 的认领满足。
36-
- 你恒不写 assignee;到手时它为空照常开工,报进 `summary`。
36+
- 恒不写卡的 assignee(空也开工,报 `summary`);PR assignee = 卡的:`--issue PR_NUMBER --assign LOGIN`。
3737
- 发现与他人在途工作重复,停下报 `blocked`。
3838
- PR 上不是你设置的状态属于另一个 actor:⛔ 永不去纠正;疑问进报告,挡住报 blocked。
3939
- 共享身份让所有人的写入都像你写的;被改写的 body 只是关于 body 的证据,不证明别的。
@@ -51,7 +51,7 @@ model: opus
5151
- dev ⛔ 不查重,只附 3–5 个查重词;查询与命中数由立卡席写,⛔ 不扫 open issues、不拉板。
5252
- GitHub 写一律经 `scripts/pm/` 写工具;云容器里经 `fleet-write` 中继落为 `objectstack-fleet[bot]`。
5353
- 归属 = 文本里的 session ID,非 `user.login`;`git push` 不是 REST 写,不走中继。
54-
- 写预算四笔:`git push`、一次 `pr_create`(draft)、`label-write`、`os-dev-report` 评论。
54+
- 写预算四笔:`git push`、一次 `pr_create`(draft)、`label-write`(含 PR assignee)、`os-dev-report` 评论。
5555
- 卡与线程只走 payload 档(公开仓单卡网页内嵌 JSON,拼写住 platform-readings)或单卡 REST 读。
5656
- 三类发现附查重词进报告交席位代立,dev 不 `POST /issues`、⛔ 不静默弃报;预算外零写。
5757
- PR 正文 dev 只写一次,在开 PR 那一笔,⛔ 不 `PATCH`;事后要改的报告点名改法,席位代写。

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
## 认领(先认领后动工)
5454

5555
- 共享身份下 assignee 只答有无认领;身份只认正文 session ID,⛔ 不认作者字段,接管同此。
56-
- assignee 字段归 PM:原子对 step 1 设,dev 席恒不写它;跨账号 assignee 不是你 ⇒ 永不碰。
56+
- 卡 assignee 归 PM,dev 恒不写;PR assignee = 卡的,接管 ② 同笔换;读者 `is:pr is:open assignee:LOGIN`。
57+
- dev `pr_create` 同轮 `label-write.mjs --issue PR_NUMBER --assign LOGIN`;席位自有 PR 指派自己。
5758
- 释放是显式动作:让卡离手者同笔清 assignee + `Release:` 行(会话/因/去向);下一任重新认领。
5859
- 部分落地(PR 带 `Refs #N (item k)`,⛔ 不 `Fixes`)即释放:合入同笔回 `pm:queue` + 清 assignee。
5960
- 同笔 `Release:` 行点名已落项与余项去向;余项需换道/拆分加 `pm:retriage`,自队列重新认领。
@@ -72,7 +73,6 @@
7273
- ③ 竞态复读:认领评论上墙后重读全线程;认领评论时间戳是唯一仲裁。
7374
- 更早的评论带不同 session ID/分支 ⇒ 你输了,回 `already claimed — yielding` 另选。
7475
- 让行是交接不是退场:连同让行评论交出已诊断的一切与已取的板面读数,赢家不必重扫。
75-
- dev 每个可编译小步即 push:容器随会话回收,未 push 的树救不回,可交接的只有远程分支。
7676
- 认领人不可达(token 耗尽/会话结束/身份退役)⇒ 接管:一条评论四件齐,⛔ 不判死活。
7777
- ① 跨账号 `Release:` 点名被撤认领的 id 与 session ID,带出处三件(谁的指令/原话/在哪说)。
7878
- ② assignee 同笔换人(`--unassign 旧 --assign 新`);③ 新 `Claim:`:新 session、续用分支与远程 sha。

0 commit comments

Comments
 (0)