You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ADR-0021 analytics endpoint. DashboardWidgetSchema now rejects any
undeclared top-level key instead of silently stripping it, moving a class of
author error (a hallucinated or legacy key that renders as a silent no-op) from
fallible human review to deterministic CI. options: z.unknown() stays the
escape hatch for renderer-specific extras.
- A custom error map names the offending key(s) and, when a key is a removed
pre-ADR-0021 inline-analytics key (object/categoryField/valueField/aggregate,
pivot rowField/columnField) or an objectui-internal prop (component, inline
data), points the author at the dataset shape (dataset + dimensions + values).
- Recorded as protocol-16 migration step16 (dashboard-widget-strict-unknown-keys),
mirroring protocol-15 step15's strict flip on the form/page schemas
(ADR-0089 D3a). PROTOCOL_VERSION is NOT bumped here — the release train's
Version-Packages PR sets it to 16.0.0; until then step16 is inert
(composeMigrationChain caps at PROTOCOL_MAJOR).
- lint: the widget-legacy-analytics-* rules are kept as the friendly bridge on
the raw-config lint/doctor paths (strict preempts them on parsed paths);
doc comment updated.
Shipped as minor per the launch-window policy, riding the pending 16.0.0 train.
Claude-Session: https://claude.ai/code/session_01T4qmiXd4wjnJMLt18Cir1Y
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments