feat(rendered-views): fail a page source that hardcodes palette or type tokens
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Shell
- Star
- 22
- Fork
- 2
- Merge trung bình
- 2 giờ 1 phút
- Pull request đã merge (30 ngày)
- 972
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của melodic-software/claude-code-plugins
-
session-owned
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
melodic-software/claude-code-plugins#19371 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
melodic-software/claude-code-plugins#19225 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
melodic-software/claude-code-plugins#17779 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
melodic-software/claude-code-plugins#19380 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
melodic-software/claude-code-plugins#19379 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của melodic-software/claude-code-plugins
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
The-AIOS/aios#405 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
dracut-ng/dracut#2843 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
luainkernel/lunatik#2752 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
omacom/omarchy#20366 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
DaoCloud/public-image-mirror#46361 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày