Repository navigation
Commit e35cf03
docs(qa): seed-mode-matrix scores the three live seed modes; retired insert and replace are refused at the draft save (#35580)
Fixes #35297
repo:objectstack#1 · os-sales · session_01L6bhgTvfMcASUnKeoEVUo7
Refs #34975 (items 1, 2)
Clause-②: no
Metadata-protocol: none
## 维护者速读
1. 用户能看到什么变化:用户无感;只改内部质检清单里"示例数据写入方式"这条测试项,以及另一条测试项里的一步。
2. 为什么做:示例数据的两种旧写入方式已经下线,清单仍按旧的五种方式写,每日质检巡检因此在主干上报红。
3. 出错会怎样:写错只会让质检人员按错误步骤测试,不影响产品;只动文档,可直接撤回。
4. 要你做什么:无。
## What changes
- `docs/qa/platform-checklist/areas/platform-core.json` ·
`platform-core.seed-mode-matrix` rev 8 → 9. `SeedMode` is now
`enumWithRetiredValues(SEED_MODE_VALUES, SEED_MODE_RETIRED)` with no
bracket list of its own, so the `enumSource` pin read 0 members against
5. The pin now names `SEED_MODE_VALUES` (expect 3). Title, steps[4] to
[6], acceptance[3] to [5], variants, knownGaps, fixtures.requires[1] and
source[0] to [1] are revised to the three live modes; the INSERT and
REPLACE probes become "refused at the draft save" steps and clauses
(#34975 item 1's remedy text). The two knownGaps about insert-mode
duplication are dropped with the mode; one gap records that the
stored-dataset refusal (refused alone at load) is scored from its unit
pin, because the draft save refuses both modes first.
- `docs/qa/platform-checklist/areas/access-security.json` ·
`access-security.agent-ceiling-set-assignment-refusal` rev 2 → 3. Its
seed step declared `mode: 'insert'`; it is rekeyed to the default mode
plus `externalId: ['user_id', 'permission_set']` (the junction's natural
key, the shape the retirement's prescription names).
- `docs/qa/platform-checklist/FOLLOW-UPS.md` · K6 marked done in its
last cell, pointing at #34791 and #34613 (append, the row text kept).
The checklist data is revised because the platform surface changed (two
modes retired), not to green the gate: every live-mode clause and
verdict is unchanged.
## Tests
The expected answer for the retired modes was measured, not assumed: at
base `b65488a8`, the save door's own suite
(`packages/metadata-protocol/src/protocol.seed-external-id-refusal.test.ts`,
the retired-mode case) was run with a temporary log line (restored, `git
diff HEAD` empty, blob hash equal to HEAD). Both a draft with mode
insert and one with mode replace answer code `INVALID_METADATA`, status
422, one issue `{path: mode, code: invalid_value}` whose message is the
mode's prescription. That is an in-process reading of the protocol call,
not an HTTP run.
<details><summary>Gate readings at head 1ad833b</summary>
- `pnpm check:platform-checklist` (full chain, self-tests included) exit
0: `check-platform-checklist: OK — 16 areas, 433 items (425 active, 3
planned)`. At base it exited 1 with the one VARIANTS STALE problem.
- The 17 families `node scripts/pm/dispatch-gates.mjs --commands`
derives for this diff, each exit 0; `--ran` reconciliation: `17 run, 0
NOT-MEASURED (a DERIVED zero)`.
- `node scripts/pm/overlap-check.mjs`: origin/main merges cleanly;
#34223 shares platform-core.json, but its hunks sit at lines 640 to 1000
(this diff is at 3208 to 3350) and GitHub already reports it `mergeable:
false` against main.
</details>
## Acceptance notes
- The suggested extractor guard (refuse a declaration with no bracket
list of its own) is not in this PR. `extractEnumMembers` has no
self-test battery, so the guard and its row would need a new battery, a
roster entry, the floor bump and both dispatch legs, which is more than
the diff it would guard. The failure it prevents was already loud (red),
just badly worded ("0 members").
- No changeset: the diff touches only `docs/qa/**`, which no package's
`files[]` ships; `skip-changeset` is set with this create.
## Verification
Read first: the seed-mode-matrix item's steps[4] and [5] and
acceptance[3] and [4] (the new refusal wording), then the
access-security seed step.
Two-minute check: `pnpm check:platform-checklist` prints
`check-platform-checklist: OK` and exits 0.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01L6bhgTvfMcASUnKeoEVUo7)_
Co-authored-by: Claude <noreply@anthropic.com>1 parent 3957126 commit e35cf03
3 files changed
Lines changed: 34 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
| 449 | + | |
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5313 | 5313 | | |
5314 | 5314 | | |
5315 | 5315 | | |
5316 | | - | |
| 5316 | + | |
5317 | 5317 | | |
5318 | 5318 | | |
5319 | 5319 | | |
| |||
5338 | 5338 | | |
5339 | 5339 | | |
5340 | 5340 | | |
5341 | | - | |
| 5341 | + | |
5342 | 5342 | | |
5343 | 5343 | | |
5344 | 5344 | | |
| |||
5409 | 5409 | | |
5410 | 5410 | | |
5411 | 5411 | | |
| 5412 | + | |
| 5413 | + | |
| 5414 | + | |
| 5415 | + | |
| 5416 | + | |
| 5417 | + | |
5412 | 5418 | | |
5413 | 5419 | | |
5414 | 5420 | | |
| |||
0 commit comments