Skip to content

Commit b17cdea

Browse files
os-steveclaude
andauthored
docs(pm): point the governed repo set prose at GOVERNED_REPOS instead of mirroring it (#15031)
Two prose statements of the governed repo set lived outside the register and went stale when the register grew: the pm-dispatch ACCEPT path-fork enumerated the sibling repos by name, and the enqueue guard's header carried a count. Both now defer to `GOVERNED_REPOS` in `scripts/pm/check-governed-merges.mjs` — no repo name and no count outside the register, so there is nothing left to drift and nothing to parse. Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox Co-authored-by: Claude <noreply@anthropic.com>
1 parent 627ea51 commit b17cdea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.claude/hooks/guard-governed-enqueue.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
# 1. "is this diff governed?" → `check-governed-merges.mjs --test --json`,
5252
# the very predicate a seat runs before flipping ready. Exit 3 = governed,
5353
# exit 0 = clear. Its register (`GOVERNED_SURFACES`) is repo-agnostic, so
54-
# the same call answers for all four governed repos.
54+
# the same call answers for every repo configured in `GOVERNED_REPOS`.
5555
# 2. "is it approved, pinned?" → `pinnedApprovalVerdict` +
5656
# `GOVERNED_APPROVERS` imported from `check-governed-queue-guard.mjs` —
5757
# the same function the queue build decides on, applied to the same review

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ dev**:先试 SendMessage 复活,不可用才走接手协议(四条增量见 runb
720720
**ACCEPT 之后的路径分叉(动手之前先分,不是事后对照)。** 翻 ready / 挂 auto-merge / 入队前,
721721
先取一次 PR 的路径面(`get_files`,⛔ 不看报告自述)。governed 面统一定义(2026-08-18 裁定):
722722
`docs/adr/**` + `.claude/**`(全量,含 agents/hooks/settings)+ `skills/**` + `AGENTS.md` +
723-
`CLAUDE.md`;agent 指令文件按此跨仓同判 —— objectui、cloud、objectos 一并在内(2026-08-18 裁定)
723+
`CLAUDE.md`;agent 指令文件按此跨仓同判 —— 仓集读 `GOVERNED_REPOS`,此处不列(2026-08-18 裁定)
724724
(objectos 指令面 PR 照样 draft/人工合并)。路径面**一条命中** ⇒ ACCEPT 换终局四件套:
725725
① 复核结论照常写在 issue
726726
上(不能合 ≠ 不复核;技能面 PR 的复核席须跑在契约复审档位,档位单源见条款②闸门);② PR

0 commit comments

Comments
 (0)