Skip to content

Commit 5416315

Browse files
committed
docs(pm): name the workflows row's split in AGENTS.md and pm-dispatch
AGENTS.md section 14 and the pm-dispatch 受管面两层 line name the content-read tier of objectstack's .github/workflows/** row; the header of check-governed-merges gains the split's section. No line added: the SKILL.md line is paid by deleting the GOVERNED_APPROVERS approval line that AGENTS.md line 288 states. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jU8C3iu8fsXdU4Rm8o
1 parent 0c5d675 commit 5416315

3 files changed

Lines changed: 36 additions & 5 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,15 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → 复核 → 报
192192
- 草稿归 dev:PR 正文带 `## 维护者速读` 六行(见 os-dev.md),中文、业务角度,不写席位意见。
193193
- 终稿 = 席位对照自己读的 diff 校正六行、加席位意见行,置顶席位记录;维护者只读评论。
194194
- `pm:awaiting-merge` 只挂 PR、不入六态,与请审同为等人批清单,随获批或撤回判决离开。
195-
- 批准判定单源 = 队列守卫常量 `GOVERNED_APPROVERS`:授权账户 APPROVED 即算,⛔ 不卡 `commit_id`。
196195
- 批准后再推亦不过期;席位落地 = 过落地前检、清标、ready、auto-merge,踢出/变基同法。
197196
- ③ 请审 = 席位交棒:ACCEPT 与现 head 同形 PASS 俱在案,同轮中继 `pr_request_reviewers` 请审批人。
198197
- 作者是审批人 ⇒ `assign` 它、请其余(请它必 422);⛔ 永不请席位自身账号;Tier S 不交人。
199198
- `pr_create` 派不请;`pr_ready` 只补交棒漏;非例外 head 移 ⇒ 撤挂回等;脱中继 PR 自读请/派。
200199
- 速读「需要你做的」求批点名 PASS 评论 id+`Head-sha`;无 PASS ⇒ 写 contract review owed 不求批。
201200
- ④ 轮报单列 awaiting a human merge 并现读请审人;⛔ 未请审不在 chat 报「等你批」,先补请。
202201
- skills 车道自有 PR:纯代码面如 `scripts/pm/` 由本席按达档自审(清单不减)后落地。
203-
- 受管面两层:Tier S = `.claude/**` 全树,余皆 Tier H 等人批;S 经达档复核 PASS 后 ready → 入队。
202+
- 受管面两层:Tier S = `.claude/**`+下行 S 面,余皆 Tier H 等人批;S 经达档 PASS 后 ready → 入队。
203+
- 本仓 `.github/workflows/**` 按 diff 定档:发布路径、C2 触发或读不出 ⇒ H,余 S(`readWorkflowDiff`)。
204204
- 入队资格:每 check 绿或预期 skip,⛔ 非必查子集;名单 check-expected-skips.mjs 只判 objectstack。
205205
- 非必查红是真缺陷或坏门,归 PM 入队前处置;第三种按设计而红,三条全立才可带红入队:
206206
- 源码自述 pushed 分支上按设计而红、不跑 `merge_group`、PR 评论记明门与因,缺一即否。

‎AGENTS.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,10 @@ See `ui/AGENTS.md` for the app-id / localStorage / auth gotchas.
284284
auto-merge, ⛔ never flip it out of draft to make any of those possible — judged on the PR's **file list**, not
285285
its description; a **mixed diff is not a proportion question**, one path hit is enough; to land the rest, split off
286286
the governed files. **The landing is tiered by the register; one Tier H path makes the whole PR Tier H.** **Tier H**
287-
(人合: every register row except `.claude/**`): those four lift only for an
287+
(人合: every register row except `.claude/**` and Tier S workflow edits): those four lift only for an
288288
authorized APPROVED review by an account in `GOVERNED_APPROVERS`, on ANY commit and not dismissed; that word is
289289
spent once per PR — the OWNING seat then lands it, later pushes included; the click stays the maintainer's.
290-
**Tier S** (席内达档复核落地: all of
290+
**Tier S** (席内达档复核落地: objectstack workflow edits `readWorkflowDiff` reads as Tier S, and all of
291291
`.claude/**`): those four lift once the PR thread or its card carries a `## Contract review` record for the PR's
292292
current head with `Served-tier: CONTRACT_REVIEW_TIER` and a PASS verdict and every check is green — the owning
293293
seat then lands it through the queue; the post-merge audit is the compensating control. A PR whose only governed

‎scripts/pm/check-governed-merges.mjs‎

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,9 @@
424424
* H 人合 — every register row except objectstack's `.claude/**` (today: `docs/adr/**`,
425425
* `docs/NORTH-STAR.md`, `skills/**`, `AGENTS.md`, `CLAUDE.md`, and since
426426
* the B2 ruling of 2026-10-13 the `workflows` row, `.github/workflows/**`,
427-
* scoped to objectstack, objectui and cloud): the maintainer's hand, or
427+
* scoped to objectstack, objectui and cloud — in objectstack split by
428+
* content since ruling record 6722205630, "The workflows row's split"
429+
* below): the maintainer's hand, or
428430
* an authorized APPROVED review by `GOVERNED_APPROVERS` and then the
429431
* owning seat lands it. The tier ruling left this landing as it was; the
430432
* list itself grew by one row on 2026-10-13. The `.claude/**` row of every
@@ -461,6 +463,35 @@
461463
* the instruction prose names — the tier is an attribute the prose states in
462464
* words, which that gate deliberately does not parse.
463465
*
466+
* ## The workflows row's split (#31538, ruling record 6722205630, letter C)
467+
*
468+
* In objectstack the `workflows` row's tier is read off the DIFF, not the
469+
* path (`split` on the row; objectui and cloud stay Tier H by path):
470+
*
471+
* H by PATH — the release, publish and deploy files in
472+
* `WORKFLOW_TIER_H_FILES`, each with its reason, any edit at all.
473+
* H by DIFF (C2) — an added or changed `permissions:`; a `secrets.*` or
474+
* `github.token` line added, changed or moved; `pull_request_target`;
475+
* a `uses:` (or image) not already used at the base; a deleted job, a
476+
* changed literal check-run name or a lost `needs:`; a new
477+
* `continue-on-error`; an `if:` new or changed on an existing job or step.
478+
* S otherwise — a contract-review PASS on the current head, every check
479+
* green, and the owning seat lands it (the Tier S landing above).
480+
*
481+
* ⛔ Biased to H, because this surface can switch the other gates off: a
482+
* changed job, step or workflow that holds a secret or a write token; an
483+
* added `|| true`, `set +e`, `exit 0` or `OS_SKIP_`/`OS_DISABLE_`/`OS_ALLOW_`;
484+
* a gate invocation or a `uses:` dropped; a changed trigger set or workflow
485+
* name; a new job with a computed or colliding name; a new, deleted or
486+
* non-YAML file. ⛔ Fail closed: a copy the line reader cannot parse (anchors,
487+
* tags, tabs, flow spanning lines…), an unreadable commit, a missing base or
488+
* no reading at all is H — so `--test`, which has paths only, always says H,
489+
* and `--pr` reads the diff only on a checkout holding both commits.
490+
*
491+
* `readWorkflowDiff` is the one reader; the queue guard calls it per queued
492+
* commit and `--branch` / `--pr` per PR. The reader is dependency-free on
493+
* purpose: the guard's `pull_request` leg runs before any install.
494+
*
464495
* ### The generator co-edit fence (#11084) — a NARROWING, not a widening
465496
*
466497
* A recompute has to run the tree under test's OWN generator (it must — the

0 commit comments

Comments
 (0)