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
{{ message }}
Repository navigation
feat(rendered-views): fail a page source that hardcodes palette or type tokens #19171
ADR 0133 (docs/adr/0133-let-a-consumer-brand-rendered-pages-through-one-shared-token-layer.md,
Decision 7) needs two drift checks. The first already exists: the token layer's per-plugin copies
join scripts/sync-shared-copies.sh --check (CI, pr-require-checks.yml:2909-2911) once they are
registered in scripts/shared-copies.txt. The second does not: nothing stops a migrated page, or a
new one, from defining a palette role or a type stack with a literal value of its own, which would
silently ignore the consumer's branding.
Done when
A check fails a page source under plugins/ that defines a palette role or a type-stack custom property with a literal value outside the token layer copy, and names the file and line.
Pages not yet migrated are listed in an explicit allowlist the check reads, so the list shrinks as each migration slice lands and the check never passes a new page silently.
The check follows the check-script contract in scripts/README.md and is wired into CI and scripts/check-affected.sh.
A test proves the check fails on an injected literal palette value and passes once it is removed.
Activity