Skip to content

Commit d0b642a

Browse files
committed
feat(agents): pm-dispatch shard ownership registry — caretaker mode is explicit, never assumed
A registry issue in the main backlog records which session owns which shard; taking over or handing off a shard is a comment there. Unowned shards may be caretaken by the main-backlog PM, but a registered shard ends caretaking immediately — in-flight claimed tasks finish under their claimant, everything else belongs to the new owner. Claim comments state the mode so registry and claims never disagree silently. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012C2cd7tL8QDoZ2QKN3djJ5
1 parent 27b62d5 commit d0b642a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,18 @@ shared files, and the merge queue is one lane regardless. Scaling order:
117117
shard in every claim comment and **never claims outside it**.
118118
3. Multiple PMs on the SAME queue: prohibited — all cost, no throughput.
119119

120+
**Shard ownership is registered, never assumed.** A registry issue in the
121+
main backlog (`[PM] 分片分工登记表`) records which session owns which
122+
shard; a PM taking over a shard comments there as its FIRST action, and
123+
comments again when handing off. An unowned shard may be **caretaken** by
124+
the main-backlog PM (triage + dispatch), but the moment a shard is
125+
registered to another session, the caretaker stops dispatching into it —
126+
in-flight claimed tasks finish under whoever claimed them (the claim
127+
protocol makes the handoff collision-free), and everything else belongs to
128+
the new owner. State the mode in claim comments (「cloud 分片,主 PM 代管」
129+
vs a registered shard PM's own tag) so the registry and the claims never
130+
disagree silently.
131+
120132
**Cross-shard transfer protocol — work crosses shard lines, PMs never
121133
do.** When a sharded PM's task (or a sub-task of its parent issue) needs a
122134
change in another shard's repo:

0 commit comments

Comments
 (0)