Skip to content

Commit 3045b6f

Browse files
yinlianghuiclaude
andauthored
docs(pm-dispatch): the single-writer set is what SINGLE_CLAIM_PATHS enumerates, said where the seat reads batch independence (#17089)
Two lines in the 候选与批次 block, paid in place at 812/812 and ≤120 B per line: the declared single-writer set is the enumeration in SINGLE_CLAIM_PATHS, sharing any other path between open PRs is ordinary concurrent work whose cost is one merge resolution paid by whichever lands second, and batch independence is not read off a package or a check's name. Paid by three deletions in the same five lines: the `priority:p0` 可超 `batch` clause that duplicated the line three below it verbatim; 读数带 UTC 写进认领, which the UTC-reading rule earlier in the file already states for claims; and the depth-table provenance of LOCK_DEPTH_HOLD, which now lives in the PR that landed it (git history), per the file's own one-line-provenance charter. Claude-Session: https://claude.ai/code/session_01HxLw5aKDPR5RJgyUR7Exkd Co-authored-by: Claude <noreply@anthropic.com>
1 parent f63e3eb commit 3045b6f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,11 +435,11 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → 复核 → 报
435435
- 引用读到的现状,⛔ 不引用裁决写作时的描述。
436436
- 工作项面:卡片与分诊评论列的每条工作项逐条对树核验是否仍未完成,⛔ 不对卡核验。
437437
- 每条工作项写进派发令时都是 dev 首先证伪的前提。
438-
- 并行度以 `batch` 封顶;同批独立性按文件面不相交判,⛔ 不按包;`priority:p0` 可超 `batch`
438+
- 并行度以 `batch` 封顶,等待不填槽;同批独立按文件面不相交判,⛔ 不按包、不按 check 名。
439+
- single-writer 路径 = `SINGLE_CLAIM_PATHS` 所枚举;共享其它路径是普通并发,后落地方解冲突。
439440
- 第 N 单派发前读 `scripts/pm/os-verify-lock.sh --status`:到达深度 ≥ `LOCK_DEPTH_HOLD`(= 2)即等。
440441
- 到达深度 = `queue N:` 行数 + 1(待派 dev 的运行算作到达);`state:` holder 与 `parked` 行不计。
441442
- 有效上限是锁宽的函数,⛔ 不是第二个 `batch`;`priority:p0` 可超 `batch`,⛔ 不越过深度等待。
442-
- 阈值出处是深度表:深度 1/2/3/4 的 exit 99 率 1%/23%/36%/56%;等待不填槽,读数带 UTC 写进认领。
443443
- 同文件单跨轮硬串行;延后不是搁置,被延后那一刻就把已知的坑记到该 issue 上。
444444
- 家族派发是范围澄清不是豁免:一个 dev 有意覆盖 N 张同区域已裁卡,可折叠为一次派发。
445445
- 折叠准入五门全过才可折:① 同缺陷形态同修法(⛔ 不是同关键词/同子系统)。

0 commit comments

Comments
 (0)