You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
finding(governance): ui/scripts/check-governed-queue-guard.mjs carries a second GOVERNED_APPROVERS that no CODEOWNERS row covers and no workflow enforces #34680
area:fleetdomain:devxDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p3toolingFix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface
Found while reviewing PR #34671 (card #34626): L1 record 6940438711, D3. Not fixed there; that PR only aligns the copy's value.
Suggested-grade: p2 (an unguarded copy of the governed approver set; no live enforcement reads it today)
Suggested-domain: domain:devx (ui/scripts/**, .github/CODEOWNERS)
ui/scripts/check-governed-queue-guard.mjs:349 declares its own export const GOVERNED_APPROVERS, with a self-test pin at :1480. It is the nested ui/ workspace's copy of the root guard scripts/pm/check-governed-queue-guard.mjs.
.github/CODEOWNERS covers the root guard (/scripts/pm/check-governed-queue-guard.mjs) but has no row for ui/scripts/check-governed-queue-guard.mjs; its ui/ block (lines 56–63) lists ui/docs/adr/, ui/.claude/, ui/AGENTS.md, ui/CLAUDE.md and ui/.github/workflows/ only.
No workflow runs the copy: .github/workflows/governed-surface-guard.yml runs the root script; the copy is reached only through ui/package.json scripts check:governed-queue-guard (--self-test) and governed (--test).
So the approver set lives in two files, one of them editable without an approver's review and enforced by nothing. PR #34671 sets both to ['os-zhuang'] and pins each, but nothing keeps them equal after that.
Fix direction (one of)
Retire the copy: point the two ui/package.json scripts at the root guard (or drop them) and delete ui/scripts/check-governed-queue-guard.mjs, if no reader needs a ui/-local copy.
Keep it, import GOVERNED_APPROVERS from the root guard instead of declaring it, and add a CODEOWNERS row for the file.
Acceptance
Exactly one declaration of the approver set in the repo, or a pin test that fails when the two differ.
Any file that declares or reads the approver set is under a governed CODEOWNERS row.
A second, ungoverned declaration of GOVERNED_APPROVERS can drift from the root guard without an approver's review. No live enforcement reads it today, so there is no direct effect → p2.
Domain, corrected from the suggested domain:devx:
The fix lands in ui/scripts/** and ui/package.json. The SKILL.md domain table gives ui/scripts and its gate tools to domain:ui.
If route 2 is chosen, the .github/CODEOWNERS row is the domain:skills / Tier H half: declare it at claim time, and it needs an os-zhuang approval.
Prefer route 1 (retire the copy). One declaration is the acceptance, and no ui/-local reader was named.
Lane correction (22:4xZ): domain:ui → domain:devx. This card is about ui/scripts/check-governed-queue-guard.mjs and .github/CODEOWNERS, which is governance tooling, not console UI. Its own filing suggested devx. p2 is unchanged.
Regraded p2 → p3 by the maintainer's grading principle of 2026-11-18, accepted in triage's session (「刚才你建议的分级调整,我全部接受」).
The principle, in order:
What a new user or a prospect meets first (looks and the main flow), the cloud core (Turso, hosted sign-up and onboarding, hosted install and upgrade, plans) and a developer's first contact come first.
Data loss or a permission breach in normal use stays first.
Details and rare configurations are improved over time.
Internal items are frozen.
Why this card: internal: a duplicate governance list with no user effect (frozen).
Ruled: not planned · maintainer 2026-11-20T01:2xZ, verbatim: 「以上都关」 (on triage's list of ten no-user-effect p3 cards, under his standard: close what users cannot feel).
2026-11-20T01:09Z · Closed as not planned. The second copy of the governed approver set is read by nothing today, as the card itself states; no enforcement depends on it.
area:fleetdomain:devxDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p3toolingFix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface
Activity
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch → p2 ·
domain:ui·pm:queue· 2026-11-17T06:20Z⛔ Not a claim.
GOVERNED_APPROVERScan drift from the root guard without an approver's review. No live enforcement reads it today, so there is no direct effect → p2.domain:devx:ui/scripts/**andui/package.json. The SKILL.md domain table givesui/scriptsand its gate tools todomain:ui..github/CODEOWNERSrow is thedomain:skills/ Tier H half: declare it at claim time, and it needs anos-zhuangapproval.ui/-local reader was named.objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Lane correction (22:4xZ):
domain:ui→domain:devx. This card is aboutui/scripts/check-governed-queue-guard.mjsand.github/CODEOWNERS, which is governance tooling, not console UI. Its own filing suggested devx. p2 is unchanged.objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Regraded p2 → p3 by the maintainer's grading principle of 2026-11-18, accepted in triage's session (「刚才你建议的分级调整,我全部接受」).
The principle, in order:
Why this card: internal: a duplicate governance list with no user effect (frozen).
objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Ruled: not planned · maintainer 2026-11-20T01:2xZ, verbatim: 「以上都关」 (on triage's list of ten no-user-effect p3 cards, under his standard: close what users cannot feel).
2026-11-20T01:09Z · Closed as not planned. The second copy of the governed approver set is read by nothing today, as the card itself states; no enforcement depends on it.