Skip to content

chore(pm): governed approvers are os-zhuang alone (hotlong removed) - #34671

Merged
os-zhuang merged 4 commits into
mainfrom
claude/project-thread-npeyo5
Nov 17, 2026
Merged

os-zhuang merged 4 commits into
mainfrom
claude/project-thread-npeyo5

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Fixes #34626

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:受管改动的批准账号从 os-zhuang 加 hotlong 两个,减成只有 os-zhuang。改在批准账号常量、它在 ui/ 下的副本、CODEOWNERS,以及跟着两人写死的自测。
  • 为什么改:你 2026-11-17 在分诊会话里的原话「hotlong 从批准账户中去掉,只保留 os-zhuang」。hotlong 在跑席位,而批准账号不能跑席位。
  • 风险与回滚:落地后 hotlong 的批准、入队都不再放行受管 PR,hotlong 账号写在 GitHub 上的评论也不再被工具当作维护者亲笔或可信记录。现在开着的 PR 里没有一个只靠 hotlong 批准。回滚就是 revert 本 PR。
  • 先看:scripts/pm/check-governed-queue-guard.mjs(常量和新裁决说明)、.github/CODEOWNERS、scripts/pm/fleet-write/execute.mjs(中继的自测注入口)。
  • 两分钟验证:node scripts/pm/check-governed-queue-guard.mjs --self-test,预期 581+ 例全过,其中一例写明「只有 hotlong 批准的 head 读作未批准」。
  • 需要你做的:用 os-zhuang 批准本 PR(受管面,Tier H),席位随后落地。

What changes

The maintainer's order, given in the triage session on 2026-11-17 at about 03:50Z, verbatim: 「hotlong 从批准账户中去掉,只保留 os-zhuang」. It supersedes the membership of the 2026-08-27 set (「os-zhuang hotlong 批准算数」); every docblock that quoted that ruling keeps it as history, marked superseded, and cites the new one with its date.

  • scripts/pm/check-governed-queue-guard.mjs: GOVERNED_APPROVERS is ['os-zhuang']. The header gains a fourth dated layer (2026-11-17), the 2026-08-27 and 2026-10-26 passages say which half the new order superseded, and the two rendered remedy lines that named the old set now name the new one. Self-test: the membership pin is the one account; new cases pin that a head approved only by hotlong reads unapproved, that an enqueue by hotlong reads unauthorized, and that hotlong is not in the set. Cases that used hotlong as an authorized login, or indexed GOVERNED_APPROVERS[1], use os-zhuang (the CODEOWNERS mirror's negative cases use the removed login as the wrong owner).
  • scripts/pm/check-governed-merges.mjs: the weekly-audit N10 cases read the approver list through loadAuditRulingAccounts() (the guard's constant, as the job loads it) instead of a second literal ['os-zhuang', 'hotlong'], with a pin that it equals os-zhuang; a hand close by hotlong is pinned as ruling nothing. Cases that used hotlong as the authorizing login use os-zhuang.
  • ui/scripts/check-governed-queue-guard.mjs: the ui copy of GOVERNED_APPROVERS moves with the root one, its docblock records the 2026-11-17 order, and its self-test pins the one account and refuses a hotlong-only approval. Each copy has its own pin to the ruling, so neither can drift silently.
  • .github/CODEOWNERS: every governed row names @os-zhuang only; the header records the new order with its date and keeps the old one and the old hotlong verification as history.
  • scripts/pm/check-half-states.mjs (overlap-check against open pm: eval-run records are exempt from the first-touch sweep and H13/H74; scenario-eval SKILL.md joins the line ratchet #34110: clean): the two comments that named the pair now read the 2026-11-17 set, and the H43 fixture APP43 is marked as an injected two-account set, not the live roster.

Forced test changes (named)

  • scripts/pm/check-half-states.mjs, case H43 register: the imported matcher answers governed and clear, and the approver set is non-empty: it asserted approvers.length >= 2; it now asserts a non-empty set, which is what its title says.
  • scripts/pm/fleet-write/execute.mjs, battery the governed-review follow-up: 16 cases destructured const [A1, A2] = GOVERNED_APPROVERS and went red with one account. The relay's follow-up gains an approvers deps seam (default GOVERNED_APPROVERS; no behaviour change for the relay), and the battery runs against an injected pair whose first member is the live constant's first account, so the two-account union and the author-identity branch stay exercised. Two new cases pin the live wiring with nothing injected: the plan and an end-to-end pr_ready request os-zhuang alone.

Acceptance notes

Verification

Head fd6c64c745b2d22d5ec0145a53f2dd390a9f0134 (main e533651 merged in).

Self-tests of every script that reads GOVERNED_APPROVERS
node scripts/pm/check-owed-reviews.mjs --self-test :: exit 0
   ✓ check-owed-reviews self-test: 91 cases pass in 10 batteries (the owed face from paths, the Clause-② line…
node ui/scripts/check-governed-queue-guard.mjs --self-test :: exit 0
   OK check-governed-queue-guard self-test: 183 cases pass (the six ruled surfaces pinned in both directions incl…
node scripts/pm/check-governed-queue-guard.mjs --self-test :: exit 0
   ✓ check-governed-queue-guard self-test: 581 cases pass (register-driven verdicts, the queue/PR event split,…
node scripts/pm/fleet-write/execute.mjs --self-test :: exit 0
   ✓ fleet-write/execute self-test: 426 cases pass across 30 batteries — the sender gate from the target repo…
node scripts/pm/check-governed-merges.mjs --self-test :: exit 0
   ✓ check-governed-merges --self-test: 911 assertions (the unified governed predicate + near misses, subject…
node scripts/pm/check-half-states.mjs --self-test :: exit 0
   ✓ check-half-states self-test: 5313 cases pass. Batteries: H66 released queue card 182/172, H19 judged-set f…
node scripts/pm/label-write.mjs --self-test :: exit 0
   ✓ label-write self-test: 277 cases pass across 17 batteries — the union/difference arithmetic, the ONE-OF…
node scripts/pm/record-recognisers.mjs --self-test :: exit 0
   ✓ record-recognisers self-test: 451 cases pass (the locator on either thread with its recognition dialects,…
npx eslint scripts/pm/check-governed-queue-guard.mjs scripts/pm/check-governed-merges.mjs scripts/pm/check-half-states.mjs scripts/pm/fleet-write/execute.mjs ui/scripts/check-governed-queue-guard.mjs :: exit 0
Derived gate round (dispatch-gates --commands, 82 commands)

Every command ran on head fd6c64c745 with stdin closed; exit codes captured before any pipe. The record is objectstack-seat2/34626-gates-ran.txt on the project share.

dispatch-gates --commands → 82 commands
80 :: exit 0 on the first pass
pnpm check:i18n-coverage :: exit 3 (prerequisite: no CLI build) → after a full `pnpm build` (lock VERDICT command-exit 0, 12m49s) :: exit 0
pnpm --dir ui exec vitest run scripts/ :: exit 1 (56 failures, all reading an unbuilt @objectstack/spec / ui dist) → after the build :: exit 0, Tests 5077 passed | 2 skipped
dispatch-gates --ran → 82 derived, 82 run, 0 NOT-MEASURED, 0 UNRUN

CI on the same head: every required context green, including Governed Surface Queue Guard, Lint & Repo Gates, Test Core, Test UI and Dogfood Regression Gate.

overlap-check
node scripts/pm/overlap-check.mjs --pr=34110 → VERDICT clean exit 0 (with the half-states commit on the branch)
node scripts/pm/overlap-check.mjs → VERDICT clean exit 0

Generated by Claude Code

GOVERNED_APPROVERS drops hotlong per the maintainer's 2026-11-17 order
(「hotlong 从批准账户中去掉,只保留 os-zhuang」), superseding the membership
of the 2026-08-27 set, which the docblocks keep as history.

- check-governed-queue-guard.mjs: constant, docblocks, rendered remedy
  lines and self-test pins; a head approved or enqueued only by hotlong
  now reads as unapproved / unauthorized.
- check-governed-merges.mjs: the N10 approver list is loaded from the
  guard's constant instead of a second literal; hotlong's hand close
  is pinned as ruling nothing.
- ui/scripts/check-governed-queue-guard.mjs: the ui copy moves with it.
- .github/CODEOWNERS: governed rows name @os-zhuang only.

Claude-Session: https://claude.ai/code/session_01ADHkmQ6PjSaHTK32B2RjNT
Co-authored-by: Claude <noreply@anthropic.com>
…r set

The relay's governed-review battery planned against GOVERNED_APPROVERS
destructured as two accounts; with the 2026-11-17 set holding one it
red 16 cases. The follow-up gains an `approvers` deps seam (default
GOVERNED_APPROVERS, no behaviour change) so the battery keeps the
two-account union and author-identity branch on an injected pair, and
two new cases pin the live wiring to os-zhuang alone. The H43 register
pin now asks for a non-empty set, as its title says.

Claude-Session: https://claude.ai/code/session_01ADHkmQ6PjSaHTK32B2RjNT
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 17, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3

Final head for L1 (first review) — fd6c64c745b2d22d5ec0145a53f2dd390a9f0134

This head is final for review (card #34626, area o2-S; dev: card thread session_01ADHkmQ6PjSaHTK32B2RjNT, report 6940329681). It carries a merge of main e533651.

  • GOVERNED_APPROVERS is ['os-zhuang'] in both copies, scripts/pm/check-governed-queue-guard.mjs and ui/scripts/check-governed-queue-guard.mjs, each pinned; the docblocks cite the 2026-11-17 order and keep 2026-08-27's approver pair as superseded history.
  • check-governed-merges.mjs reads the constant instead of its own literal list; a hotlong-only approval, enqueue or hand close is pinned as not counting.
  • .github/CODEOWNERS governed rows name @os-zhuang only; the header adds the new order and keeps the old record.
  • check-half-states.mjs: comments and one >= 2 pin follow the one-account set; overlap-check against open pm: eval-run records are exempt from the first-touch sweep and H13/H74; scenario-eval SKILL.md joins the line ratchet #34110 (same file) is clean.
  • Outside the claimed surface, forced: scripts/pm/fleet-write/execute.mjs self-tests hard-coded the two-account set (16 red); the card thread added an approvers injection point whose default is unchanged. The body names it; the claim's file surface is amended on the card.
  • Effect to weigh: the constant also feeds recordTrustedAuthors (relay bot + approvers), so a record hotlong posts directly on GitHub stops counting as trusted, the same footing pm: the queue guard's Tier S record leg checks a same-head record exists but never reads its verdict #33541 gave a seat's direct account. Recorded in the body's acceptance notes.
  • Local gates: 82 derived, every exit 0, --ran 0 NOT-MEASURED. CI on this head: 60 check-runs, 41 success, 19 skipped, none red or pending; mergeable clean.
  • No open governed PR holds a hotlong-only approval. The card's ADR-0090: state that the platform baseline contribution channel is for always-on platform services only (Tier H, after #32754) #33011 is an open p3 issue, not a PR.
  • Landing tier: Tier H (CODEOWNERS and the guard scripts). After L1 ACCEPT and an at-tier contract review PASS on this head, the area hands it to the seat; it stays draft, and only an os-zhuang approval lands it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmS6aD6wyUggsi2rWNK

席位核对

L1 first review — ACCEPT · head fd6c64c745b2d22d5ec0145a53f2dd390a9f0134 · card #34626 · read 2026-11-17T06:16Z by L1-d (area o2-S)

What I read myself, at this head and on GitHub: get_files (6 paths, +216/−148), the diff against merge base e5336512, the card, the claim 6939162186, its amendment 6940358103, the report 6940329681 and the head's check-runs.

Checklist

  • Shape: draft, base main. The closing keyword stands alone and names only this card, and the card's four "Done looks like" items are met, so Fixes is right. (1) GOVERNED_APPROVERS is ['os-zhuang'] in scripts/pm/check-governed-queue-guard.mjs:800 and in ui/scripts/check-governed-queue-guard.mjs:355; the docblocks cite the 2026-11-17 order and mark 2026-08-27 as superseded history. (2) check-governed-merges.mjs reads the list through loadAuditRulingAccounts(), with a pin. (3) Every CODEOWNERS row names @os-zhuang only; the header keeps the old ruling and the old hotlong verification as history. (4) There is a pin that a head approved only by hotlong reads unapproved.
  • Scope: scripts and CODEOWNERS only. Nothing is published, so skip-changeset is right. No content/docs/releases/ change. The one file outside the claim (fleet-write/execute.mjs) is named in the body, in deviations and in the claim amendment.
  • Ruling provenance: the order is quoted verbatim, with time and place (the triage session, 2026-11-17 ~03:50Z). That session is not on GitHub, so L1 cannot open it. The authority that lands this is os-zhuang's own approval, which this change leaves as the only one.

fleet-write/execute.mjs: is the default really unchanged? Yes, read and measured.

  • governedReviewPlan and governedReviewText already took approvers = GOVERNED_APPROVERS on main (lines 917, 933). The diff only threads the same name through requestGovernedReview (default GOVERNED_APPROVERS) and through executeFleetWrite's deps.approvers ?? GOVERNED_APPROVERS (:2561).
  • The one production caller, the CLI main at :4899 (the step fleet-write.yml runs), passes deps = { git, advisoryNoteKey, log }. No approvers key reaches it from argv, env or payload, so the relay plans against GOVERNED_APPROVERS. The other call sites are self-test batteries.
  • Ablation: ?? GOVERNED_APPROVERS → ?? ['os-zhuang', 'hotlong'] turns exactly one case red, "the LIVE wiring end to end … requests os-zhuang alone". Restored, 426/426.
  • The battery's injected pair ([GOVERNED_APPROVERS[0], 'second-approver']) keeps the two-account union and the author-422 branch exercised. Sound.

Own readings at this head (all exit 0): self-tests of the queue guard (581), the ui guard (183), check-governed-merges (911), fleet-write/execute (426), check-owed-reviews (91), label-write (277) and record-recognisers (451). Second ablation: putting 'hotlong' back into the root constant turns six guard cases red, among them "approved ONLY by the removed account reads UNAPPROVED", "an enqueue by the removed account is UNAUTHORIZED" and the CODEOWNERS mirror pin. Restored. Check-runs on this head: 60 (41 success, 19 skipped), none red or pending. Lint & Repo Gates, TypeScript Type Check and Governed Surface Queue Guard are success.

Who reads the constant, and does any reader depend on a direct hotlong comment (the area's question). Readers at this head: the record leg (recordTrustedAuthors, used by the queue guard, check-owed-reviews.mjs:148, label-write.mjs:1561 and the H43 hand-off); the mailbox knock fence (MAILBOX_KNOCK_AUTHORS, record-recognisers.mjs:1689), which also reads a claim's Thread session: roster rows only from those authors (:1827); and the audit's ruling-close test (fleet-patrols.yml ~:1530, stale.yml:53). check-prior-rulings.mjs deliberately uses no author predicate (:171), so past rulings are unaffected.

Deviations

  • D1 (body correction owed before hand-off; not REWORK): Acceptance notes say "Seats running as hotlong write through the relay … so their records are unaffected". The Decision: open-source MCP — the client thinks locally, the server keeps a thin door (a metadata draft write entry for building; the data door for 问数), plus policy, version skew and the 问数 eval #34659 claim above shows a direct write today. Owed: correct that sentence (name Decision: open-source MCP — the client thinks locally, the server keeps a thin door (a metadata draft write entry for building; the data door for 问数), plus policy, version skew and the 问数 eval #34659 / 6939887560 as the measured direct write), and the seat tells the sessions running as hotlong that, once this lands, only writes through the relay count. Body-only; the head does not move.
  • D2 (landing-tier reading, for the seat): check-governed-merges.mjs --pr 34671 reads NOT governed (0 of 6 paths hit GOVERNED_SURFACES), while CODEOWNERS names @os-zhuang on three of these paths (/.github/CODEOWNERS and the two guard scripts, the enforcement-chain rows). The face reading agrees: no schema or rules hit, Clause-②: no ⇒ no at-tier L2 owed, as the L2 seat read it. I agree with the area treating this as Tier H anyway: an approver-set change should not land without the remaining approver's own approval, and code-owner review asks for it. Do not take the predicate's "ordinary queue landing" as permission to enqueue without os-zhuang's APPROVED review.
  • D3 (out-of-scope finding, file it): the report's "CODEOWNERS enforcement chain lists the root guard but not ui/scripts/check-governed-queue-guard.mjs" is left at "carrier: none". That file now holds a second copy of GOVERNED_APPROVERS that no code owner guards. It is a governance gap, not cosmetic, so the area files one finding card (filed in the area's own words). Not fixed here.
  • N1 (nit): the check-half-states.mjs history comment changes "the login the maintainer's own sessions run as" to "the login seat sessions run as" and drops "the account the maintainer actually reads is never asked". It is marked as history, but the edit rewrites what was recorded rather than annotating it.
  • Report evidence includes no API read that git could have answered.

Contract review: not owed by face: reviewFace reads declaration with no schema or rules hit, and Clause-②: no. This L1 is the review of record beside os-zhuang's approval.

Landing: the predicate reads not governed, but per D2 it waits for os-zhuang's APPROVED review and then the seat lands it. Before that, D1's body correction and D3's card.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

Seat record · 2026-11-17T06:22Z · Head-sha: fd6c64c

维护者速读

  • 改了什么:受管改动的批准账号从 os-zhuang 加 hotlong 两个,减成只有 os-zhuang。改在批准账号常量(scripts/pm/check-governed-queue-guard.mjs)、它在 ui/scripts/ 下的副本、.github/CODEOWNERS、check-governed-merges.mjs 里写死的那一份,以及跟着两人写死的自测和中继自测。
  • 为什么改:你在分诊会话里的原话「hotlong 从批准账户中去掉,只保留 os-zhuang」(Governed approvers: remove hotlong, keep only os-zhuang (GOVERNED_APPROVERS, CODEOWNERS, docblocks) #34626)。hotlong 在跑席位,而批准账号不能跑席位。
  • 风险与回滚:落地后 hotlong 的批准、入队都不再放行受管 PR;hotlong 账号直接写在 GitHub 上的评论也不再被工具当作维护者亲笔或可信记录,经中继写的记录不受影响。现在开着的 PR 里没有一个只靠 hotlong 批准。回滚即撤回本 PR。
  • 先看:scripts/pm/check-governed-queue-guard.mjs(常量和新裁决说明)、.github/CODEOWNERS、scripts/pm/fleet-write/execute.mjs(中继的自测注入口)。
  • 两分钟验证:node scripts/pm/check-governed-queue-guard.mjs --self-test,预期 581 例以上全过,其中一例写明「只有 hotlong 批准的 head 读作未批准」。
  • 需要你做的:用 os-zhuang 审读并批准本 PR。本 PR 不碰契约面,不欠契约复审;L1 ACCEPT 6940438711,钉在 Head-sha fd6c64c745b2d22d5ec0145a53f2dd390a9f0134。批准在案后由席位翻 ready,经合并队列落地。

席位意见:同意合并。这是你的直接命令,改动只是把一个名字从批准名单和它的各个副本里删掉,并加了反向钉子。

席位核对

  1. 形态:6 个文件,+216/−148,Fixes #34626;Clause-②: no,Metadata-protocol: none。
  2. 前提实测:卡线程在认领时用 git grep 列全了名单的所有副本,比卡上多出 ui/scripts/check-governed-queue-guard.mjs 和 check-half-states.mjs 的夹具,均已改。
  3. 门禁 check-runs:head fd6c64c7 上 64 条,41 绿、22 跳、0 红,1 条 PR 正文检查仍在跑。check-governed-merges 读作 NOT governed,但 .github/CODEOWNERS 把这些文件派给 os-zhuang,所以按交人处理(Tier H)。
  4. 接受的偏差:L1-d ACCEPT 6940438711(D1 正文已由卡线程自改,点名 Decision: open-source MCP — the client thinks locally, the server keeps a thin door (a metadata draft write entry for building; the data door for 问数), plus policy, version skew and the 问数 eval #34659 的认领 6939887560)。区判不欠契约复审(Clause-②: no,不碰契约四面,同 fix(metadata-protocol): a compile-cache bucket opened by a counter move keeps the row sets read within the last bound #34592 的读法),席位同意。
  5. 范围外去向:D3 → finding(governance): ui/scripts/check-governed-queue-guard.mjs carries a second GOVERNED_APPROVERS that no CODEOWNERS row covers and no workflow enforces #34680(ui/ 副本没有 CODEOWNERS 行,也没有工作流跑它;已敲分诊)。合并后席位在分诊信箱告知以 hotlong 身份运行的席位:此后只有经中继写的记录算数。
  6. 落地条款:os-zhuang 授权批准在案后,席位重读门禁、翻 ready,经合并队列落地;Fixes #34626 合并即关卡。

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 17, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 17, 2026 06:25
@os-zhuang
os-zhuang requested a review from hotlong as a code owner November 17, 2026 06:25
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 17, 2026
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 17, 2026
Merged via the queue into main with commit 77d7f52 Nov 17, 2026
73 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-npeyo5 branch November 17, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Governed approvers: remove hotlong, keep only os-zhuang (GOVERNED_APPROVERS, CODEOWNERS, docblocks)

3 participants