From b3c74beeb90d994f90760464ed24eed033bed7bd Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 25 Sep 2026 05:09:36 +0000 Subject: [PATCH] skills(pm-dispatch): the Claim template carries an Account: line beside Session:, paid by the seat-lifecycle pointer line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The claim comment now records the seat's GitHub account (the seat's linked user as GET /user answers it, always equal to the card's assignee) next to the session id, so a thread reader can tell which account handles a card without leaving the thread. Ownership stays the session id; the Account: line is a derived view of the assignee, and a mismatch on a live claim is a half-state the owning seat corrects at its next write. Takeover step 3 carries the new account in the same stroke as step 2 swaps the assignee. SKILL.md pays the +1 template line by deleting the 入口与角色 pointer to references/seat-lifecycle.md 〈开轮互斥〉, whose content lives there and whose routing the 阶段细则索引 row already carries. execution-duties.md is rewritten in place (net 0, every line within 120 bytes). Co-authored-by: Claude Claude-Session: https://claude.ai/code/session_0148fenvVvyQV9HYxgVDQ33q --- .claude/skills/pm-dispatch/SKILL.md | 2 +- .claude/skills/pm-dispatch/references/execution-duties.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.claude/skills/pm-dispatch/SKILL.md b/.claude/skills/pm-dispatch/SKILL.md index 40189b9396c..29505114da9 100644 --- a/.claude/skills/pm-dispatch/SKILL.md +++ b/.claude/skills/pm-dispatch/SKILL.md @@ -73,7 +73,6 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → 复核 → 报 - 队列空 + 无在飞 + 无待复核 + 决策箱无新答复 ⇒ 自退。 - 分诊席跑普通直连会话、默认判断档;裁决不在本席,归维护者召唤的总监席。 - 子代理裁决逐份过转录核验采信。 -- 开轮互斥的四读数、开轮标记与章程触碰核对见 `references/seat-lifecycle.md` 〈开轮互斥〉。 ## 阶段细则索引 @@ -307,6 +306,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → 复核 → 报 ```text Claim: PM loop round N Session: `session_` +Account: `` (the seat's linked user as `GET /user` answers it; always the card's assignee) Branch: `claude/issue--` Worktree: `-issue-` Domain: `domain:` diff --git a/.claude/skills/pm-dispatch/references/execution-duties.md b/.claude/skills/pm-dispatch/references/execution-duties.md index c72e372c50a..0005a7a36ca 100644 --- a/.claude/skills/pm-dispatch/references/execution-duties.md +++ b/.claude/skills/pm-dispatch/references/execution-duties.md @@ -52,7 +52,7 @@ ## 认领(先认领后动工) -- 共享身份下 assignee 只答有无认领;身份只认正文 session ID,⛔ 不认作者字段,接管同此。 +- 归属 = session ID,⛔ 不认作者字段;`Account:` 派生自 assignee,不等即半态、持卡席下笔补正。 - 卡 assignee 归 PM,dev 恒不写;PR assignee = 卡的,接管 ② 同笔换;读者 `is:pr is:open assignee:LOGIN`。 - dev `pr_create` 同轮 `label-write.mjs --issue PR_NUMBER --assign LOGIN`;席位自有 PR 指派自己。 - 释放是显式动作:让卡离手者同笔清 assignee + `Release:` 行(会话/因/去向);下一任重新认领。 @@ -75,7 +75,7 @@ - 让行是交接不是退场:连同让行评论交出已诊断的一切与已取的板面读数,赢家不必重扫。 - 认领人不可达(token 耗尽/会话结束/身份退役)⇒ 接管:一条评论四件齐,⛔ 不判死活。 - ① 跨账号 `Release:` 点名被撤认领的 id 与 session ID,带出处三件(谁的指令/原话/在哪说)。 -- ② assignee 同笔换人(`--unassign 旧 --assign 新`);③ 新 `Claim:`:新 session、续用分支与远程 sha。 +- ② assignee 同笔换人(`--unassign`+`--assign`);③ 新 `Claim:`:新 session 与 `Account:`,续用分支与 sha。 - ④ 交接记录:旧分支最后已 push 的 sha + 一句状态;读者只验①③形状,缺一件即非撤销。 - C9 只剩一种红:无任何 `Release:` 的跨账号 `Claim:`(真抢卡);线程上每条活认领都要点名。 - 误伤活席位 ⇒ 令其追加式更正,落 PR 正文不落分支历史。