Skip to content

Commit 9958e02

Browse files
committed
docs(pm-dispatch): a card that touches cloud goes whole to the cloud PM
Triage routes any card that needs cloud code, a cloud producer, a cloud fact or carries a cloud half to the repo:cloud seat as one card (domain:cloud + repo:cloud, a live state, never status:parked), instead of splitting it by repository and leaving the objectstack half waiting in a lane that cannot read cloud. Execution seats skip such cards at candidate time, and a card found to touch cloud mid-flight is released with pm:retriage so triage re-routes it. Every edited file stays at its line ceiling. Claude-Session: https://claude.ai/code/session_01QsR2jTTwA6zymWJpVN94wd Co-authored-by: Claude <noreply@anthropic.com>
1 parent da1e09f commit 9958e02

5 files changed

Lines changed: 21 additions & 18 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → 复核 → 报
162162
| `domain:skills` | governed 面全量(含本文件;统一定义见「governed 面统一定义」行);非门禁的 `scripts/pm/**`(PM 循环工具);governed 面的治理执行文件:`.github/CODEOWNERS` + SUBJECT 是 governed 面本身的门禁/审计(现为 `scripts/pm/check-governed-merges.mjs`) |
163163
| `domain:spec` | `packages/spec` 整包:schema 形状、`contracts/**`、退役行为半边、strictness 台账;describe/JSDoc/墓碑散文/错误 guidance 与 alias 表;`packages/spec/scripts/**`、`packages/spec/docs/**` 及按锚定规则的例外归本域的工具链(域边界枚举与席内分派见 `references/lanes/spec.md`) |
164164
| `domain:ui` | `ui/**` 全部代码:`@object-ui/*` 库与 `ui/apps/*`、`ui/packages/types` 与 schema 语料、`ui/scripts` 与门禁工具、文档随所记录的面走;`packages/console`(dist 由 `pnpm console:build` 生成 ⛔ 不手改);协议恒归 `domain:spec`,受管面归 `domain:skills`;详见 `references/lanes/ui.md` |
165-
| `domain:cloud` | 云服务旅程,停放(加 `status:parked`,sweep 免扫)待 cloud PM 迁移,本仓不派 |
165+
| `domain:cloud` | 涉 cloud 即整卡归 cloud PM(`repo:cloud` 席,同挂 `repo:cloud`):读或改 cloud 代码、生产方、事实或带 cloud 半边;本仓车道 ⛔ 不认领;判据见 `references/cross-repo-coordination.md` |
166166
| (无固定归属,按落点分诊) | `packages/apps/*`、`examples/*`(归它演练的子系统)、`docs/audits/**` |
167167

168168
- 表未覆盖的包首次分诊时归类并走 PR 更新本表;新增或退役 `domain:*` 必须同批改本表。

‎.claude/skills/pm-dispatch/references/cross-repo-coordination.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- 车道可分席(席号 `· seat N`,或域×仓):忙时一车道开多席,闲时收归一席;每席独立座位贴。
1414
- 认领评论带 `Seat: domain:X#N` 行申报席号(缺省席 1);同席认领互斥,他席认领不触发自退。
1515
- 拆分触发预登记:单轮逼近 fire 周期,或某仓在全序下持续断粮 ⇒ 按仓拆回多席。
16-
- seam 卡单一归属:归修复落地仓的席,双仓皆动 objectstack 侧主导。
16+
- seam 卡单一归属:归修复落地仓的席,双仓皆动 objectstack 侧主导;涉 cloud 者归 cloud PM(下文)。
1717
- `scripts/pm/**` 等住 objectstack 的全板工具链单写手恒为 objectstack 侧席,他侧上游立卡回链。
1818
- 工装只答被告知的仓,缺 `--repo`/`PM_SWEEP_REPO` 即答 objectstack;⛔ 不答手上那张卡的仓。
1919
- 规则 1:issue 住在修复落地的仓,分诊时按判据严格执行。
@@ -41,7 +41,7 @@
4141
- 转移落对方队列:目标仓立单带 `pm:queue`、出处行与一行可执行判据,依赖用 `Blocked-by:`。
4242
- 跨座位请求骑在它所关的既有卡上:请求席在自卡写 `Blocked-by:`,并在目标卡留一条评论。
4343
- 该评论点名席位与步骤;无既有卡承载且请求自身即立卡门 ①②④ 时才立新卡。
44-
- 跨不可达仓的卡立卡或首触按仓拆:该仓部分由可达席立卡,或挂 `domain:cloud`+`status:parked`。
45-
- 本卡只留本仓活,不读他仓;拆不开先立该仓前置卡;依赖即 `pm:blocked`+`Blocked-by: owner/repo#N`。
46-
- 开发中涉 cloud 车道者由席位同拆:报告 `open_questions`/`out_of_scope_findings`、复核/落地所见。
47-
- ⛔ 不记而弃、不并入本仓 PR、不留 `carrier: none`;停放卡加 `repo:cloud`,出处行与一行判据。
44+
- 涉 cloud 即整卡归 cloud PM(`repo:cloud` 席):要读或改 cloud 代码、cloud 生产方、cloud 事实,或带 cloud 半边。
45+
- 本仓卡挂 `domain:cloud`+`repo:cloud`+活态,摘车道 `domain:*`,⛔ 不挂 `status:parked`;他仓卡能转即转 cloud 仓,否则在本仓立 `repo:cloud` 承接卡写全所求、源卡 `Blocked-by:` 它。
46+
- ⛔ 不拆半边、不留本仓车道等 cloud 读数;在飞卡见涉 cloud 即 `Release:`+`pm:retriage` 交分诊转 cloud 车道,报告与已测读点留卡。
47+
- cloud PM 跟到关卡,余下纯本仓活由它立新卡写明 cloud 事实;其他不可达仓照旧按仓拆:可达席立该仓前置卡,本卡 `pm:blocked`+`Blocked-by:`。

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## 候选与批次
66

77
- 整车道一次读全,本地求交:`list_issues` 带 `labels: [domain:X]` + 最小字段拿回全车道 open 集。
8-
- 候选 = open、未 assign、无 `needs-user-decision`、无 `pm:retriage`;⛔ 排除三门皆无的 `tooling` 卡。
8+
- 候选 = open、未 assign、无 `needs-user-decision`、无 `pm:retriage`、不涉 cloud;⛔ 排除三门皆无的 `tooling` 卡。
99
- 席改标:卡余项实测路径整落本席包树 ⇒ 本席改 `domain:*`,审计评论列路径与新旧标同笔。
1010
- 席改标限未派发卡;带 `needs-user-decision`、open `Blocked-by:` 或 `security` 的 ⛔ 不改,仍问分诊。
1111
- 无分诊审计评论即非候选;例外:sub-issue 承父卡首触,main-red 锚卡见 `landing-operations.md`。
@@ -175,7 +175,7 @@
175175

176176
- 你是记录在案的复核人:对 GitHub 核验,⛔ 不对报告的自述核验。
177177
- 逐项判据展开在 `references/review-checklist.md`,每份报告对着它过。
178-
- 报告 `open_questions`/`out_of_scope_findings` 涉 cloud 车道者,按 `cross-repo-coordination.md` 立 cloud 卡。
178+
- 报告或复核所见涉 cloud ⇒ 整卡 `Release:` 加 `pm:retriage` 请分诊转 cloud 车道,已测读点留卡;⛔ 不拆半边、不停放等读数。
179179
- 改到已有 `.changeset/*.md` 的 PR ⛔ 不打 `skip-changeset`;确认取同 head 达档 PASS 或维护者原话。
180180
- 报告在草稿 PR 时点到达,CI 收敛读数只属于复核侧:gate `in_progress` 是诚实读数。
181181
- 绿色输出≠ 该绿证明了被测风险:拒收断言、全绿方向与时序、pin 翻转、边界后收益。

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
- 「无则关」= 首触即关 not_planned,带理由与入队三门,⛔ 不定 p3、不 hold;下行同此。
5353
- 所入车道队列 P0/P1 开着(= 未派发,在飞不算)时,三门皆无的 p2/p3 `tooling` 卡同样关。
5454
- 只报告仪器(放宽 tell、半状态巡查)的修复卡首触即关 not_planned,引裁决 208;在途只有删除。
55-
- 路由是分诊的技术判断,⛔ 永不升级哪个仓的问题;父单是协调节点,永不派发。
55+
- 路由是分诊的技术判断,⛔ 永不升级哪个仓的问题;涉 cloud 恒整卡路由 cloud 车道(判据见 `cross-repo-coordination.md`);父单永不派发。
5656
- 父单已有子结构的:父单队列标签即可,分诊逐个展开路由、补 `Blocked-by:` 排序。
5757
- 跨层功能点(≥2 层)立父单带 `area:*`+`pm:epic`+清单项级,逐层子单按 `Blocked-by:` 排。
5858
- 每张留一条英文审计评论(`Triage: lands in …; rationale: …`),可选带 `Size/model suggestion:` 行。

‎scripts/pm/ensure-pm-labels.sh‎

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -471,15 +471,18 @@ gh label create domain:engine -R objectstack-ai/objectstack -c bfd4f2 -d "Reti
471471
gh label create domain:services -R objectstack-ai/objectstack -c bfd4f2 -d "Retired 2026-10-22, alias of domain:server (services surface); in-flight cards keep it until landed" 2>/dev/null || true
472472
gh label create domain:cli -R objectstack-ai/objectstack -c bfd4f2 -d "Retired 2026-10-22, alias of domain:server (cli surface); in-flight cards keep it until they land" 2>/dev/null || true
473473

474-
# domain:cloud is a PARKING label, not a lane: no seat, never dispatched in this
475-
# repo. Cloud-service journeys found in objectstack / objectui keep it until the
476-
# cloud PM migrates them — maintainer ruling 2026-09-18, verbatim: 「云服务旅程
477-
# 混在 objectstack / objectui 里的 ⇒保留 domain:cloud 标签 等 cloud 项目经理迁移」.
478-
# The object already exists in objectstack (auto-created, so `--reconcile` is
479-
# what aligns it) and is absent in objectui; the roster makes both. SKILL.md's
480-
# domain table carries the matching row (北极星「现在不做」).
481-
gh label create domain:cloud -R objectstack-ai/objectstack -c bfd4f2 -d "Cloud-service journey parked for the cloud PM to migrate — not dispatched in this repo (云服务旅程,本仓不派)" 2>/dev/null || true
482-
gh label create domain:cloud -R objectstack-ai/objectui -c bfd4f2 -d "Cloud-service journey parked for the cloud PM to migrate — not dispatched from objectui (云服务旅程,本仓不派)" 2>/dev/null || true
474+
# domain:cloud routes a WHOLE card to the cloud PM (the `repo:cloud` seat): any
475+
# card that needs cloud code, a cloud producer, a cloud fact or carries a cloud
476+
# half. No objectstack lane claims it; it rides with `repo:cloud`, the label the
477+
# cloud seat's scope reads. Maintainer ruling 2026-10-27, verbatim: 「一个issue只要
478+
# 涉及 cloud ,就归 cloud pm 处理」, superseding the 2026-09-18 parking ruling
479+
# (「云服务旅程混在 objectstack / objectui 里的 ⇒保留 domain:cloud 标签 等 cloud 项目经理
480+
# 迁移」): parked journeys are the cloud PM's too. The object already exists in
481+
# objectstack (auto-created, so `--reconcile` is what aligns it) and is absent in
482+
# objectui; the roster makes both. SKILL.md's domain table carries the matching
483+
# row, and references/cross-repo-coordination.md the routing rule.
484+
gh label create domain:cloud -R objectstack-ai/objectstack -c bfd4f2 -d "Touches cloud: the whole card is the cloud PM's (repo:cloud seat); no objectstack lane claims it" 2>/dev/null || true
485+
gh label create domain:cloud -R objectstack-ai/objectui -c bfd4f2 -d "Touches cloud: the whole card is the cloud PM's (repo:cloud seat); objectui lanes never claim it" 2>/dev/null || true
483486
# status:parked is the other half of parking: the backlog sweep's disjunct ③
484487
# (有 domain:* 无 pm-state) and check-half-states.mjs's H13 read it as the
485488
# exemption (H13_EXEMPT_LABELS; SKILL.md 排除 `status:parked`), so a card that

0 commit comments

Comments
 (0)