chore(backlog): 记录 g251 完成
This commit is contained in:
@@ -2645,6 +2645,15 @@
|
||||
"status": "done",
|
||||
"domain": "visual",
|
||||
"notes": "扫描器两版写错才收敛:①前导注释混进选择器 ②子块字符归属父块导致选择器为空;最终用「尾缓冲在 ; / } 处清空」方案,936 条规则、49 条降级规则全部正确识别;负向自检(删 spinner 兜底)确认报「缺兜底 1 处」"
|
||||
},
|
||||
{
|
||||
"id": "g251",
|
||||
"title": "ua tokens --unused 反向收口令牌面",
|
||||
"motivation": "令牌只增不减:112 个变量里没人知道哪几个其实没组件在用,加令牌时也不敢删旧的。正向查询(按名找)解决不了「谁没用」,需要一个反向视图。",
|
||||
"acceptance": "ua tokens --unused 列出皮肤样式表与 tokens.css 自身都没引用的令牌(自身派生引用算消费,否则 --ua-color-highlight 会被误报),--json 出 total + unused 数组;用法串与清单文档同步;npm run check 全绿。",
|
||||
"status": "done",
|
||||
"domain": "tooling",
|
||||
"notes": "首版只扫 ui.css 把 highlight 误报为闲置(实际被 --ua-shadow-highlight 引用),补上 tokens.css 作为消费面后剩 3 个真闲置:surface-3 / text-secondary / font-size-xl;text-secondary 仍被 audit:contrast 配对表引用,故只报不删"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user