Skip to content

Commit 27eea3e

Browse files
docs(skills): area claims carry an Area: line instead of a per-area lease label (#35363)
<!-- claude-projects-attribution: {"github_login":"os-bill"} --> _Requested by **Bill** · [project thread](https://claude.ai/code/project/chan_016iMXWSZDzqWRWvWzdNo8wg?thread=cmsg_016iMXWSZDzqWRWvWzdNo8wgXFRsfSS1tQB1kBxAZ86579)_ Part of #35350 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:用户无感;派发规则不再让各区给卡挂「lease:区名」标签,区名改写在认领评论的 Area 行里。 - 为什么做:你说每开一个区就多一个标签,仓库会乱,同意改成写在认领评论里并更新技能文本。 - 出错会怎样:只是派发记账方式变了,别的区仍能从认领评论和指派人看出卡已有人做;撤回本次改动即恢复旧写法。 - 要你做什么:无,席位审核后落地;旧标签的删除在本次合并之后另做。 ## What changes Ruling-ref: the maintainer, 2026-11-19, seat 5 project thread, verbatim: 「派发是需要加上 lease 标签吗?仓库中会搞出一堆混乱的标签」 (05:56Z); after seat 5 proposed dropping the per-area label in favour of the claim comment, the assignee and the seat's area table: 「同意,立卡更新skills」 (05:57Z). Quoted on the card body. This PR is the card's item 1 (skill text) only. Item 2 (deleting the existing per-area labels) runs after this merges and is not in this diff, which is why the card stays open. 1. `.claude/skills/pm-dispatch/references/area-lease.md` (line count unchanged, 71): - Pre-claim re-read: the "leave it alone" signal for another area is now another area's `Area:` line (in a `Claim:`), beside the existing other-assignee and other-`Claim:` checks; it no longer names a label. - Claim: the dispatch pair no longer adds a per-area label in the same write; the `Claim:` comment carries an `Area: AREA` line. - Post-claim read-back checks `pm:dispatched` and the assignee only. 2. `.claude/skills/pm-dispatch/references/lanes/objectstack.md` (line count unchanged, 35): area names stay lane-unique and seat-prefixed; the sentence that the label follows the area name is replaced by "the area name lives only in the lease table and the claim comment's `Area:` line". No script reads the per-area label family: `git grep` of `lease:` over `scripts/pm/**` and `.github/workflows/**` at base 3819afe matches only `Release:`-family lines, a prose comment in `fleet-token.mjs` about the write lease, and the label seeder in `ensure-pm-labels.sh` (a creator, not a reader; see Acceptance notes). ## Tests Text-only diff under `.claude/**`; no package is touched, so no build or package test is owed. Gates below. ## Acceptance notes - `scripts/pm/ensure-pm-labels.sh` still seeds eight per-area labels (the server lane's pilot areas A1 to A5, E1, E2, E2b) in a loop, and its header comment still describes an area session hanging the label at claim time. Once card item 2 deletes those labels, any rerun of the vocabulary script (default or reconcile mode) recreates them. That block is left untouched here (outside this PR's skill-text scope); it should be removed together with the item-2 deletions, or in a follow-up on the same card. `check:pm-label-desc-cap` has a floor of 12 descriptions against 52 today, so dropping the loop does not trip it. - The SKILL.md `Claim:` template has no `Area:` row; area sessions get the line from `area-lease.md`'s claim rule. Not changed here (the card names only the area-lease and lane lines). ## Verification <details><summary>Local gates at head 37684a5</summary> - `node scripts/pm/check-skill-line-ratchet.mjs` → exit 0; `area-lease.md is 71 lines (ceiling 71; headroom 0)`, `lanes/objectstack.md is 35 lines (ceiling 35; headroom 0)`. Every edited line is within the 120-byte line budget (120, 114, 116, 107 bytes). - `pnpm check:pm-skill-id-lint` → exit 0; `self-test: 23 cases pass`, `120 file(s) clean`. - `node scripts/pm/overlap-check.mjs` → `VERDICT clean exit 0`: merges cleanly with origin/main (3819afe) and with the one open PR sharing a file, #35337 (`area-lease.md`). - `node scripts/pm/dispatch-gates.mjs --commands` derived 19 families from this diff; all 19 run locally, each exit 0; `--ran` reconciliation: `19 run, 0 NOT-MEASURED (a DERIVED zero)`. </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Utp6CaAqjP52wVTzs99H5G <!-- signed: repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 37e7fdf commit 27eea3e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.claude/skills/pm-dispatch/references/area-lease.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
## 区内规则
2828

2929
- 区会话署本席签名,签名第三位与 `Session:` 皆填区会话 ID;开轮互斥读法照 `seat-lifecycle.md`。
30-
- 认领前重读标签、assignee 与末条评论:他人 assignee、他人 `Claim:` 或他区 `lease:*` ⇒ 不碰。
30+
- 认领前重读标签、assignee 与末条评论:他人 assignee、他人 `Claim:` 或他区 `Area:` 行 ⇒ 不碰。
3131
- 认领前三查必过,各写认领评论一行;任一不过或遇大卡 ⇒ 不认领、不派 dev,当即交席位:
3232
- `Pre-claim lane:` 修复所改路径属哪条车道,点名依据路径(碰他道路径照下文留道行)。
3333
- `Pre-claim deps:` 卡点名的 `Blocked-by:`、「after #N」逐个已合;热文件照下文重叠检查。
3434
- `Prior rulings read:` 照 `decision-analysis.md`;grep `docs/adr/**`、链卡(⛔ 行在内)与反向 pin
3535
测试;记录冲突,或路线改门的可见行为超出本卡裁决,同作不过。
3636
- 重叠检查:认领前与每次推前跑 `scripts/pm/overlap-check.mjs`;exit 1 排所列 PR 后,3 补前提重跑。
37-
- 认领照 `execution-duties.md` 派发原子对,同笔加 `lease:<区>`;`Branch:` 照 AGENTS.md 命名。
38-
- 认领后回读标签(SKILL.md 标签写四步):缺 `lease:` 或 `pm:dispatched` 即重挂;首推即开 draft PR。
37+
- 认领照 `execution-duties.md` 派发原子对,`Claim:` 带 `Area: <区>` 行;`Branch:` 照 AGENTS.md 命名。
38+
- 认领后回读(SKILL.md 标签写四步)只查 `pm:dispatched` 与 assignee,缺即重挂;首推即开 draft PR。
3939
- 认领前照 `dispatch-runbook.md` 派发前置核前提;开线程请求交席位攒批(`coordinator.md` 三)。
4040
- 写码与开发期读码全经 `os-dev` 等子代理(一卡或一组耦合卡,文件面不相交)。
4141
- 同系列卡可从前卡分支起步(AGENTS.md §2 主干形,⛔ 不叠 PR);新测试建按卡命名的新文件,

‎.claude/skills/pm-dispatch/references/lanes/objectstack.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
## 多席分工
2121

2222
- 区是全车道互斥单位:一区一时只归一席;各席租约表住本席座位贴,合即全车道租约。
23-
- 区名全车道唯一,带席号前缀(如 `o2-A3`);`lease:` 标签随区名。
23+
- 区名全车道唯一,带席号前缀(如 `o2-A3`);区名只记租约表与认领评论的 `Area:` 行。
2424
- 开区、拆并或接区前,读本车道各在座席的租约表;路径相交 ⇒ 不开,写信协商。
2525
- 区名与路径根只住租约表;定区同轮写本席表,`Notify: split` 照其模板只列卡号。
2626
- 本车道以区租约代替 `execution-duties.md` 多席奇偶交替;认领戳仲裁不变。

0 commit comments

Comments
 (0)