Skip to content

fix(qa): approver-resolution-matrix gains the platform_admin variant (main red since #34300) - #34435

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/main-red-approver-matrix-platform-admin
Nov 16, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/main-red-approver-matrix-platform-admin

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Clause-②: no
Metadata-protocol: none

No card: this is a main-red stopgap ordered by the objectstack PM seat (seat post #34366), not a card dispatch, so this PR closes no issue.

维护者速读

  • 改了什么:平台测试清单 approvals.approver-resolution-matrix 补上 platform_admin 审批人类型这一行,条目修订号 9→10,枚举计数 10→11,并补一条历史记录。
  • 为什么改:上一个合入的 PR 给 ApproverType 新增了 platform_admin,清单没跟上,pnpm check:platform-checklist 在 main 上报 VARIANTS STALE 退出 1,挡住所有 PR 的 Lint & Repo Gates。
  • 风险与回滚:只改一个 QA 清单 JSON 文件,不发布任何包、不改运行时;回滚即撤这个 PR。
  • 先看:docs/qa/platform-checklist/areas/approvals.json 中该条目的 variants、enumSource.expect 和最后一条 history。
  • 两分钟验证:pnpm check:platform-checklist,预期退出 0,末行为 check-platform-checklist: OK。
  • 需要你做的:无,席位落地。

What changes

ApproverType (packages/spec/src/automation/approval.zod.ts) gained an 11th member, platform_admin, in commit 27c0b20. The checklist item approvals.approver-resolution-matrix pins that enum with enumSource, so the gate went red on main with VARIANTS STALE. This PR does what the gate prescribes, and nothing else:

  • variants gains platform_admin, described from the merged spec docblock only: the deployment's platform administrators, asked per caller and never enumerated; it takes no value; it is accepted only in a flow shipped by a code-registered package; and designers never offer it.
  • revision 9 to 10, with a history row saying what changed and that no clause changed.
  • enumSource.expect 10 to 11.
  • source[0] recounts the enum at 11 members (it said 10).

One file, +10 / -4. coverage.json needs no change: the item is already mapped there and the gate does not ask for a row.

Tests

No code or test changed; the evidence is the gate itself. skip-changeset: the diff touches only docs/qa/**, which no package's files[] ships.

Acceptance notes

  • The matrix is brought level with the enum only. No step or acceptance leg for platform_admin is authored in this revision, so acceptance[0]'s per-variant clause has no driven leg for the new variant yet. Authoring that leg is a checklist-author pass, outside a main-red stopgap.

Verification

Read at head 5c101f9 (base 2becfd6).

check:platform-checklist before (origin/main 2becfd6): exit 1
check-platform-checklist: 1 problem(s)

  ✗ approvals.json · approvals.approver-resolution-matrix: VARIANTS STALE — ApproverType in packages/spec/src/automation/approval.zod.ts now has 11 members but this item's variants were authored against 10. The platform grew/shrank this surface: revise the variants matrix, bump the item revision, and set enumSource.expect to 11.
 ELIFECYCLE  Command failed with exit code 1.
check:platform-checklist after (5c101f9): exit 0
✓ checklist-select self-test: 45 cases pass.
✓ qa-rollup --self-test: 82 assertions over 5 canonical shapes and 16 retired ones
✓ retest-owed --self-test: 57 assertions in 9 batteries.
✓ check-platform-checklist --self-test: 265 assertions — (long line elided)
check-platform-checklist: OK — 16 areas, 433 items (425 active, 3 planned); coverage: 40 kinds mapped, 4 waived; traps: 19 documented, 19 in use; provisioning: 10 area recipes, 18 item references resolved (5 area-qualified), 10/10 recipes referenced
Derived gate families (dispatch-gates --commands, 17 families): all exit 0
node scripts/check-adr-links.mjs :: exit 0
node scripts/check-adr-links.mjs --self-test :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0 (first run exit 3, PREREQUISITE NOT MET; re-run after building formula + lint)
pnpm check:adr-anchors :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:platform-checklist :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:watch-hint-literal :: exit 0

dispatch-gates --ran: 17 derived famil(ies) accounted for — 17 run, 0 NOT-MEASURED (a DERIVED zero — all 17 recorded an exit code and none of them is 3).

Every family CI runs beyond these is read from this PR's check-runs, not re-run locally.


Generated by Claude Code

ApproverType grew an 11th member, platform_admin, so the item's
enumSource pin went VARIANTS STALE and check:platform-checklist exited 1
on main. Add the variant, bump the item to revision 10 with its history
row, set enumSource.expect to 11, and recount source[0].

Claude-Session: https://claude.ai/code/session_01FEkQ5pmEYLVFDcQ1Z1CS8H
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 16, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5pmEYLVFDcQ1Z1CS8H

L1: ACCEPT (seat self-review) · head 5c101f9 · 2026-11-16T17:36Z

Main-red stopgap ordered by the seat; no card. A self-review is allowed for this size and kind: 14 lines in one docs/qa file, no code and no tests touched, Clause-②: no, Metadata-protocol: none (area-lease.md, the review-routing line for small PRs).

  • Red reproduced on origin/main 2becfd6: check:platform-checklist exits 1, VARIANTS STALE on approvals.approver-resolution-matrix (ApproverType has 11 members since feat(approvals): platform_admin approver type for a deployment's own packaged flows #34300; the item expected 10). At 5c101f9 it exits 0 (dev report: 16 areas, 433 items).
  • Diff read line by line. variants gains platform_admin, worded from the merged spec docblock only. revision goes 9 → 10 with a history row naming feat(approvals): platform_admin approver type for a deployment's own packaged flows #34300 and stating no clause changed. enumSource.expect goes 10 → 11, and the member count in source[0] is updated. Nothing else moves.
  • check-governed-merges --branch origin/claude/main-red-approver-matrix-platform-admin: NOT governed, +10/−4.
  • Body order and footer follow os-dev.md and AGENTS.md (declarations first; the AGENTS.md footer). Accepted as sent.
  • Open, outside this PR: no step or acceptance leg drives the new variant yet. The history row notes this for a checklist-author pass.

Landing: ready and auto-merge on this head. The required checks decide.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 16, 2026 17:36
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit a121e29 Nov 16, 2026
52 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/main-red-approver-matrix-platform-admin branch November 16, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s 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.

1 participant