Skip to content

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

Closed

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Filing gate: ② a maintainer's direct order, given in the triage session on 2026-11-17 at about 03:50Z. Verbatim: 「hotlong 从批准账户中去掉,只保留 os-zhuang」.

维护者速读

  • 改什么:能批准受管改动(AGENTS.md、workflow、CODEOWNERS 和治理脚本这类 Tier H 面)的账号,从 os-zhuang 加 hotlong 两个,减成只有 os-zhuang。
  • 为什么:规则写明「批准账号永不跑席位或作其关联用户」(SKILL.md「用户账号仅三用」那一行)。现在分诊席、cloud 5 号席和本机的专题协调都用 hotlong 在跑,正好违规。拿掉 hotlong 的批准权,这些席位就合规了。
  • 需要你做的:这张卡本身改的是受管面,落地要 os-zhuang 批准。之后每个受管 PR 都只认 os-zhuang 的批准。

Where the approver set lives (origin/main 97defd6)

  • scripts/pm/check-governed-queue-guard.mjs:782, export const GOVERNED_APPROVERS = Object.freeze(['os-zhuang', 'hotlong']). This is the single source. Its docblocks at :82, :99, :153, :776 and :1956 quote the old ruling 「os-zhuang hotlong 批准算数」 (2026-08-27).
  • scripts/pm/check-governed-merges.mjs:11046 holds a literal ['os-zhuang', 'hotlong']. Read it from GOVERNED_APPROVERS, or pin it equal. Its tests at ~9678–9684 use hotlong as an authorizing login and must move to os-zhuang. Keep one negative case asserting that a hotlong approval no longer authorizes.
  • .github/CODEOWNERS:51–68: every governed path lists @os-zhuang @hotlong. Drop @hotlong. The header comment at :13 and :39–40 records the old ruling: add the new one with its date, and do not rewrite the history.
  • Any rule text that names the approver pair. git grep -n "os-zhuang hotlong\|os-zhuang 或 hotlong" origin/main lists them.

Done looks like

  1. GOVERNED_APPROVERS is ['os-zhuang'], and the docblocks cite this order with its date. The 2026-08-27 ruling is kept as history, marked superseded.
  2. No second literal approver list remains, or a pin test keeps it equal to GOVERNED_APPROVERS.
  3. CODEOWNERS governed rows name @os-zhuang only.
  4. The guard tests pass. A head approved only by hotlong reads as unapproved.

Effects to note in the PR

Tier H: CODEOWNERS and the guard scripts are governed. The change lands only with an os-zhuang approval, which is the last approval under the old set that matters.

Dedupe: GOVERNED_APPROVERS hotlong returns no card.

Activity

  1. added
    priority:p1
    pm:queue
    domain:skills
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3

    Claim: PM loop round 1 · 2026-11-17T05:10Z
    Session: session_01ADHkmSXPDB46NVRepWVrL3 (area o2-S session); a card thread of this account's project is the dev and reports its own session id
    Account: os-steve
    Branch: pending — the card thread's designated branch; a follow-up Claim: from this session names it before the first push
    Worktree: objectstack-issue-34626
    Domain: domain:skills
    Seat: repo:objectstack#2
    File surface: scripts/pm/check-governed-queue-guard.mjs (GOVERNED_APPROVERS, its docblocks and self-test pins), scripts/pm/check-governed-merges.mjs (the literal approver list near line 11046 and the self-test rows near 9678–9684 that use hotlong as an authorizing login), .github/CODEOWNERS (governed rows and header), ui/scripts/check-governed-queue-guard.mjs (its own GOVERNED_APPROVERS at :349 and pin at :1480, not named on the card); scripts/pm/check-half-states.mjs comment lines only if the overlap check with #34110 allows
    Container & model: M, mode:thread (p1, governed enforcement chain), model: TIER_DEFAULT — --tier: no path-derived mandate for the four paths, effort: high; the at-tier L2 review of the governed scripts goes to the L2 seat
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Ruling-ref: the maintainer's order given in the triage session at 2026-11-17T03:50Z, verbatim on the card: 「hotlong 从批准账户中去掉,只保留 os-zhuang」. It supersedes the approver half of the 2026-08-27 ruling 「os-zhuang hotlong 批准算数」, which the docblocks keep as history.
    Premise: holds at origin/main 62d9d0d for every location the card names (check-governed-queue-guard.mjs:782 and docblocks :82, :99, :153, :776, :1956, :2005, :3868, pin :3873; check-governed-merges.mjs:11046 and self-test rows :9678–9684, :11061–11065; CODEOWNERS :13, :39–40, :51–68). Wider than the card: ui/scripts/check-governed-queue-guard.mjs:349 holds a second GOVERNED_APPROVERS with its own pin at :1480, and check-half-states.mjs names the pair in comments (:9960, :16430) and a test fixture (APP43, :33174). Rule text in .claude/**, AGENTS.md and skills names no approver pair. Card's PR #33011 does not resolve in this repo.
    Serial constraints cleared: open PR #34110 also touches scripts/pm/check-half-states.mjs; the card thread runs overlap-check.mjs before its first push and leaves that file out if it queues.
    Pre-claim lane: domain:skills per triage; paths are scripts/pm/**, .github/CODEOWNERS and ui/scripts/** (governed, Tier H).
    Pre-claim deps: none named on the card.
    Prior rulings read: check-prior-rulings.mjs --card 34626 → 30 hits; ADR-0115 Decision §2, ADR-0005 Decision §5, ADR-0029 D9.7, ADR-0030 Decision §1, ADR-0032 Decision §1 and §4, ADR-0045 Decision §3, ADR-0049 Decision §2, ADR-0050 Decision §2; thread: none. None names the approver set; the governing ruling is the 03:50Z order above, superseding 2026-08-27's approver pair.
    Lease: lease:o2-S. Order: /mnt/project-files/objectstack-seat2/34626-order.md with the seat's standard order beside it (project share).

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 17, 2026
  4. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3

    Claim: PM loop round 1 · branch named · 2026-11-17T05:12Z
    Follow-up to claim 6939162186 (same seat, same claim).
    Thread session: session_01ADHkmQ6PjSaHTK32B2RjNT
    Account: os-steve
    Branch: claude/project-thread-npeyo5
    Seat: repo:objectstack#2

  5. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQ6PjSaHTK32B2RjNT
    os-dev-report

    {
      "issue": 34626,
      "status": "done",
      "branch": "claude/project-thread-npeyo5",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34671",
      "session": "session_01ADHkmQ6PjSaHTK32B2RjNT",
      "premise_still_valid": true,
      "summary": "GOVERNED_APPROVERS is ['os-zhuang'] in the root guard and its ui/ copy; CODEOWNERS governed rows name @os-zhuang only; docblocks cite the 2026-11-17 order and keep 2026-08-27 as superseded history. check-governed-merges reads the approver list from the guard instead of a second literal. A hotlong-only approval, enqueue or hand close is pinned as not counting. Forced: the relay execute.mjs battery assumed two approvers (16 red) and gained an approvers deps seam; one half-states pin asked for >= 2.",
      "tests": "Self-tests on head fd6c64c745: queue guard 581 pass, ui guard 183, check-governed-merges 911, fleet-write/execute 426, check-half-states 5313, check-owed-reviews 91, label-write 277, record-recognisers 451; eslint on the five edited scripts exit 0. No ablation: scripts/config change (os-dev.md).",
      "gates": "dispatch-gates --commands: 82; 80 exit 0 first pass; check:i18n-coverage exit 3 and ui scripts vitest exit 1 before a full build (lock VERDICT command-exit 0), both exit 0 after; --ran: 82 run, 0 NOT-MEASURED. CI on fd6c64c745: all required contexts success incl. Governed Surface Queue Guard, Lint & Repo Gates, Test Core, Test UI, Dogfood Regression Gate.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "3 — mcp__github__issue_read x3 (card 34626 get + comments, #33011 get)",
      "api_writes": "3 — relay pr_create (#34671), relay issue_patch (#34671 body), this comment",
      "files_changed": [
        ".github/CODEOWNERS",
        "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"
      ],
      "line_budget": "n/a — no skills/** file",
      "deviations": [
        "scripts/pm/fleet-write/execute.mjs is outside the claim's File surface: its self-test went red on the one-account set (forced), fixed with a default-preserving deps seam; named in the PR body.",
        "Session-context asked for a review request to os-steve via an MCP write; skipped, the standard order forbids MCP writes and Tier H review requests are the seat's (os-zhuang only)."
      ],
      "open_questions": [
        {
          "question": "Tier H: lands only on an os-zhuang APPROVED review; needs the seat's L1 and at-tier L2 on head fd6c64c745 before the hand-off.",
          "options": [
            "A seat routes L1/L2 then requests os-zhuang"
          ],
          "recommendation": "A"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — GOVERNED_APPROVERS also drives recordTrustedAuthors / mailbox knock authors / audit ruling closes, so hotlong-authored GitHub comments stop counting as trusted (PR Acceptance notes)",
        "carrier: none · noted — CODEOWNERS enforcement chain lists the root guard but not ui/scripts/check-governed-queue-guard.mjs"
      ]
    }

    Stamped 2026-11-17T06:10Z.


    Generated by Claude Code

  6. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3

    Claim amendment (claim 6939162186): file surface widens to scripts/pm/fleet-write/execute.mjs, whose self-tests hard-coded the two-account approver set (16 red after the change). The card thread added an approvers injection point with an unchanged default; PR #34671 names it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

domain:skillspm:dispatchedpriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions