技能 2026-04-20 07:49 UTC
claude-code-design
由提交人 bluzir 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix(pipeline): cache-bust, smarter deck audit filter, headroom warnings。解决了已知运行时异常与边界错误,提升系统稳定性。
Commit提交信息原文
fix(pipeline): cache-bust, smarter deck audit filter, headroom warnings Three systemic gaps caught while shipping a real deck: 1. /preview and /done now append ?v=<epoch> cache-bust and hard-reload with ignoreCache. Browsers were serving stale CSS after Edit, so screenshots and measurements disagreed with on-disk HTML. 2. Deck overflow audit no longer filters ALL position:absolute elements — meaningful content (save-cta, footer-row, inter-card arrows) is often absolute. Replaced blanket filter with an isDecorative() predicate that only skips glows, chrome, and low-opacity no-text elements. 3. Audit now reports headroom thresholds: FAIL on overflow>0, WARN on headroom<40 (font-metric variance can still clip), OK at ≥40. Aim for ≥60 in writing. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>