Repository navigation
Commit a121e29
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).
<details>
<summary>check:platform-checklist before (origin/main 2becfd6): exit
1</summary>
```text
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.
```
</details>
<details>
<summary>check:platform-checklist after (5c101f9): exit 0</summary>
```text
✓ 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
```
</details>
<details>
<summary>Derived gate families (dispatch-gates --commands, 17 families):
all exit 0</summary>
```text
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).
```
</details>
Every family CI runs beyond these is read from this PR's check-runs, not
re-run locally.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01FEkQ5pmEYLVFDcQ1Z1CS8H)_
Co-authored-by: Claude <noreply@anthropic.com>
1 parent fe19c97 commit a121e29
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1516 | 1516 | | |
1517 | 1517 | | |
1518 | 1518 | | |
1519 | | - | |
| 1519 | + | |
1520 | 1520 | | |
1521 | 1521 | | |
1522 | 1522 | | |
| |||
1533 | 1533 | | |
1534 | 1534 | | |
1535 | 1535 | | |
1536 | | - | |
1537 | | - | |
| 1536 | + | |
| 1537 | + | |
1538 | 1538 | | |
1539 | 1539 | | |
1540 | 1540 | | |
| |||
1593 | 1593 | | |
1594 | 1594 | | |
1595 | 1595 | | |
1596 | | - | |
| 1596 | + | |
1597 | 1597 | | |
1598 | 1598 | | |
1599 | 1599 | | |
| |||
1645 | 1645 | | |
1646 | 1646 | | |
1647 | 1647 | | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
1648 | 1654 | | |
1649 | 1655 | | |
1650 | 1656 | | |
| |||
0 commit comments