Found during #6002(PR #7033)爆炸半径普查,pre-existing 非该 PR 增量;filed unassigned 供分诊。无严重度断言。 ## The shape `packages/plugin-dashboard/README.md` fence 8 的 dashboard 示例中,widget 使用 `type: 'card'` 且带嵌套 `body` 键——`'card'` 不在 #4600 收口后的闭集 widget 类型枚举里,该示例**今天就被拒**(实测于 #6002 预检,与 strict 化无关、先于其存在)。 ## 修复方向 把示例改写到合法 widget 形状(组件节点或图表族之一);属 docs-drift 类。 ## Refs - #6002 / PR #7033 — 发现现场(其 PR 正文 Step 1 第 1 条记录了实测) - #4600 — 闭集类型枚举的来源 - 另:`apps/console/src/preview-samples.ts` 的 dashboard 样例已在 `preview-samples-spec-valid.test.ts` 的 KNOWN_STALE 台账内,**不需要**新卡(同一次普查触及,记录于此防重复发现)。
Found during #6002(PR #7033)爆炸半径普查,pre-existing 非该 PR 增量;filed unassigned 供分诊。无严重度断言。
The shape
packages/plugin-dashboard/README.mdfence 8 的 dashboard 示例中,widget 使用type: 'card'且带嵌套body键——'card'不在 #4600 收口后的闭集 widget 类型枚举里,该示例今天就被拒(实测于 #6002 预检,与 strict 化无关、先于其存在)。修复方向
把示例改写到合法 widget 形状(组件节点或图表族之一);属 docs-drift 类。
Refs
DashboardWidgetSchemaSILENTLY DROPS every undeclared widget key — the file's own docstring names this failure mode, and it still applies to the keys nothing declares #6002 / PR feat(types)!: DashboardWidgetSchema refuses undeclared keys (.strict()) #7033 — 发现现场(其 PR 正文 Step 1 第 1 条记录了实测)plugin-dashboardexamples are refused by the spec'sDashboardSchema— the AI few-shot corpus teaches the pre-ADR-0021 widget shape #4600 — 闭集类型枚举的来源apps/console/src/preview-samples.ts的 dashboard 样例已在preview-samples-spec-valid.test.ts的 KNOWN_STALE 台账内,不需要新卡(同一次普查触及,记录于此防重复发现)。