Skip to content

Commit a2fec85

Browse files
committed
feat(pm): the governed register gains the six nested ui/ workspace rows
objectui's own register, carried under ui/ now that its tree is this repository's ui/ workspace: ui/docs/adr/**, ui/.claude/**, ui/skills/**, ui/AGENTS.md, ui/CLAUDE.md and ui/.github/workflows/**, all Tier H, scoped to objectstack. What the register forces comes with them: six CODEOWNERS lines, the six globs named in AGENTS.md Prime Directive #14 and in the pm-dispatch ACCEPT path fork (both at their line ceiling, paid in place), and the self-test fixture rows become pins on the live rows. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A6SEitNngAMugGbuJHWsDS
1 parent e2aaaf1 commit a2fec85

5 files changed

Lines changed: 73 additions & 60 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,8 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → 复核 → 报
135135
- `Blocked-by:` 行是机器可 grep 的反向索引,一遍读喂三个职责,⛔ 只做第一件。
136136
- 三职责:上游关单放回解锁卡;按解锁扇出排序;在合并后的 ref 上重验回队卡文件面。
137137
- 一个标签存在当且仅当有具名读者;`pm:blocking` 即其推导缓存,读者以词表脚本注为权威。
138-
- 跨仓解锁判据是消费方可安装,⛔ 不是上游已合并。
138+
- 跨仓解锁判据是消费方可安装,⛔ 不是上游已合并;探针:装上的包是否接受新键/新行为。
139139
- 以发布包消费上游的仓,解锁放回前先验修复已进可安装的发行版。
140-
- 安装面探针:装上的包是否接受新键/新行为。
141140
- 未发版 ⇒ 转 `pm:on-hold` + `Restart-when:` 加消费方安装面判据,⛔ 不回 `pm:queue`。
142141
- 该 hold 评论预写唤醒后的派发形状;pin 消费的仓不适用:pin 移动即可安装,走 pin 滞后读数。
143142
- 状态变更不过夜:标签无评论、assignee 无认领评论、结论只在 chat,都是半状态。
@@ -183,6 +182,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → 复核 → 报
183182
- 路径面用 `get_files` 取,⛔ 不看报告自述;动手之前先分,不是事后对照。
184183
- governed 面统一定义:`docs/adr/**`+`.claude/**`(全量)+`skills/**`+`docs/NORTH-STAR.md`+`.github/workflows/**`。
185184
- governed 面同含 `AGENTS.md`+`CLAUDE.md`;`GOVERNED_REPOS` 同治理、行可限仓,执行席恒随落地仓车道。
185+
- 另含 `ui/docs/adr/**`+`ui/.claude/**`+`ui/skills/**`+`ui/AGENTS.md`+`ui/CLAUDE.md`+`ui/.github/workflows/**`。
186186
- 路径面命中 Tier H ⇒ ACCEPT 换终局四件套,混合 diff ⛔ 不按比例判;要拆让 dev 单独开 PR。
187187
- 改动 >3000 行(含生成物)同换终局四件套,⛔ 无 Tier S 例外;读数 = PR additions+deletions。
188188
- ① 席位记录一条落 PR,两层同欠:Tier H 置顶速读五段,其下 `## 席位核对`;卡只留指针行。

‎.github/CODEOWNERS‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@
4646
/docs/NORTH-STAR.md @os-zhuang @hotlong
4747
/.github/workflows/ @os-zhuang @hotlong
4848

49+
# Tier H governed surfaces of the nested `ui/` workspace (#25712) — the same
50+
# register rows, under `ui/`; `ui/.claude/` is Tier H, unlike the root tree
51+
/ui/docs/adr/ @os-zhuang @hotlong
52+
/ui/.claude/ @os-zhuang @hotlong
53+
/ui/skills/ @os-zhuang @hotlong
54+
/ui/AGENTS.md @os-zhuang @hotlong
55+
/ui/CLAUDE.md @os-zhuang @hotlong
56+
/ui/.github/workflows/ @os-zhuang @hotlong
57+
4958
# The enforcement chain
5059
/.github/CODEOWNERS @os-zhuang @hotlong
5160
/scripts/pm/check-governed-merges.mjs @os-zhuang @hotlong

‎AGENTS.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,12 @@ localStorage / auth gotchas.
265265
approval, Tier S by the owning seat on a contract-tier review of record; before that record no AI seat merges,
266266
queues, or arms auto-merge on a PR whose diff touches one.** The governed surfaces are `docs/adr/**`,
267267
`docs/NORTH-STAR.md`, `.claude/**` (agents, hooks and settings — not only skills), `skills/**`, `AGENTS.md`,
268-
`CLAUDE.md` — this file is one — and `.github/workflows/**`; a mixed diff is governed whole on one path hit.
269-
The register is the `GOVERNED_SURFACES` table in `scripts/pm/check-governed-merges.mjs`, each row carrying its tier;
270-
adding a surface is an edit *there*, never here, and `pnpm check:pm-governed-prose` reds per-PR when this
271-
paragraph names fewer surfaces than the register — or more. When it reds, name the surface here. A fork PR
272-
(head repo ≠ base repo) is a proposal, never a delivery, whatever its paths: no AI seat readies, queues, arms
273-
auto-merge on or approves it; the owning seat adopts the diff onto an internal branch and lands that.
268+
`CLAUDE.md` and `.github/workflows/**`, and under `ui/` `ui/docs/adr/**`, `ui/.claude/**`, `ui/skills/**`,
269+
`ui/AGENTS.md`, `ui/CLAUDE.md` and `ui/.github/workflows/**`, all Tier H. The register is `GOVERNED_SURFACES` in
270+
`scripts/pm/check-governed-merges.mjs`, each row carrying its tier; adding a surface is an edit *there*, never here,
271+
and `pnpm check:pm-governed-prose` reds per-PR when this paragraph names fewer surfaces than the register — or
272+
more. A fork PR (head repo ≠ base repo) is a proposal, never a delivery, whatever its paths: no AI seat readies,
273+
queues, arms auto-merge on or approves it; the owning seat adopts the diff onto an internal branch and lands that.
274274

275275
**Authoring stays open to every seat** — drafting, pushing, opening and revising the PR. What is reserved is the
276276
**landing**: on a PR whose diff touches a governed surface ⛔ never merge, ⛔ never queue, ⛔ never arm

0 commit comments

Comments
 (0)