Skip to content

Commit 1ad833b

Browse files
committed
docs(qa): seed-mode-matrix scores the three live seed modes; retired insert/replace are refused at the draft save
The seed-mode-matrix enumSource pinned SeedMode at 5, but SeedMode is now enumWithRetiredValues(SEED_MODE_VALUES, SEED_MODE_RETIRED) with no list of its own, so the extractor read 0 and check:platform-checklist went red on main. The pin now counts SEED_MODE_VALUES (3), and the item's steps, clauses, variants and knownGaps are revised to the live modes, with insert and replace scored as refused at the draft save (422 INVALID_METADATA at mode, measured in-process at b65488a). The agent-ceiling seed step is rekeyed off mode insert, and FOLLOW-UPS K6 is marked resolved. Claude-Session: https://claude.ai/code/session_01L6bhgTvfMcASUnKeoEVUo7 Co-authored-by: Claude <noreply@anthropic.com>
1 parent b65488a commit 1ad833b

3 files changed

Lines changed: 34 additions & 25 deletions

File tree

‎docs/qa/platform-checklist/FOLLOW-UPS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ records actual behavior instead of ticking green.
446446
| K3 | **`fieldGroups[].visibleWhen` is inert in the console one day after landing.** #13030 (2026-08-29) shipped the key with "declared = enforced on day one", but BOTH objectui fieldGroups adapters drop it, so the object-level section predicate never reaches the renderer; a separate fail-direction drift exists between the spec (fail-closed) and the view-section renderer (fail-open). | spec commit 53dc739 vs objectui `plugin-form/src/fieldGroups.ts`, `plugin-detail/src/synth/buildDefaultPageSchema.ts`; `object.zod.ts` vs `TabbedForm.tsx` | records-forms.field-group-visible-when (console clause expected-fail at the exact adapter sites) | correctness — safe to file |
447447
| K4 | **objectui external-datasource error UX drifted from the server.** The Setup federation UI's 503-detector matches the retired pre-#3843 string body while the server answers the sendError envelope (its own test pins the stale shape); and ValidationPanel's `DIFF_LABEL` covers 9 of 10 `SchemaDiffEntryKind`s — `'unreachable'` (emitted at `external-datasource-service.ts`) has no label. The #4115 class recurring until the next objectui spec-pin bump. | objectui `metadata-admin/external/api.ts` + `api.test.ts`; framework `external-datasource-routes.ts` | integration-system.external-schema-browser-ui (expected-fail + knownGaps) | correctness — safe to file |
448448
| K5 | **Three raw-`getRawApp` route registrars remain unledgered** (D6/D22 class, and structurally invisible to the #7526 reverse-parity gate): the `/auth/me/permissions` + `/auth/me/localization` + `/me/apps` trio, `/api/v1/approvals/act`, and `/api/v1/webhooks/redeliver`. The trigger-api/metadata precedent (#11863/#11882) gives each such registrar a per-package ledger + conformance guard; these three never got one. (D22's `/automation/:name/clone` re-verified still unledgered at head.) | `plugin-hono-server/src/current-user-endpoints.ts,877,902`; `plugin-approvals/src/approvals-plugin.ts`; `plugin-webhooks/src/webhook-outbox-plugin.ts` | items now cover the routes' semantics (access-security.me-permissions-aggregation-parity, approvals.email-action-token-door, webhook-lifecycle rev 5); the ledger gap itself is this row | low — internal discipline |
449-
| K6 | **Seed mode `replace` is declared≠implemented.** The spec sells it as "Delete ALL records, then insert" but the write arm is a bare insert whose comment says "caller should have cleared the table" — and no clearing caller exists anywhere. An ADR-0049 shape on the most dangerous member of the enum. | `packages/spec/src/data/seed.zod.ts` vs `packages/metadata-protocol/src/seed-loader.ts,2106` | platform-core.seed-mode-matrix (expected-posture clause — a run must not tick "deletion correctly scoped") | correctness — safe to file |
449+
| K6 | **Seed mode `replace` is declared≠implemented.** The spec sells it as "Delete ALL records, then insert" but the write arm is a bare insert whose comment says "caller should have cleared the table" — and no clearing caller exists anywhere. An ADR-0049 shape on the most dangerous member of the enum. | `packages/spec/src/data/seed.zod.ts` vs `packages/metadata-protocol/src/seed-loader.ts,2106` | platform-core.seed-mode-matrix (expected-posture clause — a run must not tick "deletion correctly scoped") | correctness — safe to file · **RESOLVED by #34791 (#34613):** `replace` and `insert` are retired at the schema — a parse refuses both with a prescription, and a load refuses a stored dataset carrying one alone; seed-mode-matrix rev 9 scores the refusal |
450450

451451
Two design postures recorded inside items rather than as defect rows: scheduled-report
452452
dispatch is wired **fail-closed** at head (`reports-plugin.ts` passes

‎docs/qa/platform-checklist/areas/access-security.json‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5313,7 +5313,7 @@
53135313
"title": "The MCP agent ceiling sets (mcp_agent_data_read, mcp_agent_data_write, mcp_agent_restricted) reach no person through any door: a direct grant, a position definition saved at the metadata door (active or draft), a position assignment, a seed and the deployment baseline are each refused 400 VALIDATION_FAILED at the field that named the set, and an ordinary set passes every one of them",
53145314
"since": "v18.4",
53155315
"status": "active",
5316-
"revision": 2,
5316+
"revision": 3,
53175317
"priority": "P1",
53185318
"surface": "api",
53195319
"personas": [
@@ -5338,7 +5338,7 @@
53385338
"PUT /api/v1/meta/position/qa_ceiling_pos {\"name\": \"qa_ceiling_pos\", \"label\": \"QA ceiling\", \"permissionSets\": [\"showcase_auditor\", \"mcp_agent_data_read\"]}; then PUT /api/v1/meta/position/qa_ceiling_pos?mode=draft&package=com.qa.ceil with the same body; then GET /api/v1/meta/position/qa_ceiling_pos",
53395339
"control: PUT /api/v1/meta/position/qa_person_pos {\"name\": \"qa_person_pos\", \"label\": \"QA person\", \"permissionSets\": [\"showcase_auditor\"]}, then POST /api/v1/data/sys_user_position {\"user_id\": P, \"position\": \"qa_person_pos\"}",
53405340
"POST /api/v1/data/sys_user_position {\"user_id\": P, \"position\": \"qa_declared_ceiling\"}; read P's sys_user_position rows",
5341-
"seed: PUT /api/v1/meta/seed/qa_ceiling_seed?mode=draft&package=com.qa.ceil {\"object\": \"sys_user_permission_set\", \"mode\": \"insert\", \"records\": [{\"user_id\": P, \"permission_set\": \"mcp_agent_restricted\"}]} and PUT /api/v1/meta/seed/qa_person_seed?mode=draft&package=com.qa.ceil with permission_set showcase_ops; POST /api/v1/packages/com.qa.ceil/publish-drafts {}; read P's sys_user_permission_set rows",
5341+
"seed: PUT /api/v1/meta/seed/qa_ceiling_seed?mode=draft&package=com.qa.ceil {\"object\": \"sys_user_permission_set\", \"externalId\": [\"user_id\", \"permission_set\"], \"records\": [{\"user_id\": P, \"permission_set\": \"mcp_agent_restricted\"}]} and PUT /api/v1/meta/seed/qa_person_seed?mode=draft&package=com.qa.ceil with permission_set showcase_ops; POST /api/v1/packages/com.qa.ceil/publish-drafts {}; read P's sys_user_permission_set rows",
53425342
"as P: GET /api/v1/auth/me/permissions"
53435343
],
53445344
"acceptance": [
@@ -5409,6 +5409,12 @@
54095409
"date": "2026-11-14",
54105410
"change": "fixtures.knownGaps[0] re-pointed (card #33332; QA run #33081 comment 6850173588): the gap worried that installing qa_decl might itself be refused, leaving the assignment leg no position. The run built and installed it without a refusal, and source agrees: no lint or build rule judges a position's permissionSets against the MCP agent ceiling (mcp_agent_data_read is only named in packages/spec/src/ai/mcp.zod.ts and judged at grant time). The gap now states the measured admit and keeps the blocked(fixture) fallback for a future refusal. No clause changed. Read from source at base fca5f89c",
54115411
"ref": "#33332"
5412+
},
5413+
{
5414+
"revision": 3,
5415+
"date": "2026-11-19",
5416+
"change": "steps[4] rekeyed: the seed drafts declared `mode: 'insert'`, which #34791 (#34613) retired, so their save is refused 422 INVALID_METADATA before the ceiling rule this leg scores could run. They now take the default mode (ignore) and `externalId: ['user_id', 'permission_set']`, the junction's natural key, as the retirement's prescription says. No clause changed",
5417+
"ref": "#34975"
54125418
}
54135419
]
54145420
},

0 commit comments

Comments
 (0)