feat(rendered-views): fail a page source that hardcodes palette or type tokens
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 52/100
Rechercherichtung
Read scripts/README.md, scripts/check-affected.sh, and scripts/shared-copies.txt, then inspect the CI wiring in pr-require-checks.yml and ADR 0133, Decision 7. The issue specifies a check script, an explicit allowlist for unmigrated pages, CI and affected-check integration, and a test that injects a literal palette value. Done means the check reports the file and line, fails on that literal, and passes after it is removed; work is blocked by #19170.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
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.mdand is wired into CI andscripts/check-affected.sh. - A test proves the check fails on an injected literal palette value and passes once it is removed.
Related
- Refs: #16412 (design and decisions)
- Blocked by: #19170
- Vorherrschende Sprache
- Shell
- Sterne
- 22
- Forks
- 2
- Ø Merge
- 2 Std. 1 Min.
- Gemergte PRs (30 T.)
- 972
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus melodic-software/claude-code-plugins
-
session-owned
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
melodic-software/claude-code-plugins#19371 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
melodic-software/claude-code-plugins#19225 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100
melodic-software/claude-code-plugins#17779 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
melodic-software/claude-code-plugins#19380 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
melodic-software/claude-code-plugins#19379 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in melodic-software/claude-code-plugins
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
The-AIOS/aios#405 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
dracut-ng/dracut#2843 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
severity: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
luainkernel/lunatik#2752 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
omacom/omarchy#20366 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
DaoCloud/public-image-mirror#46361 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag