chore(backlog): 记录 g252 完成

This commit is contained in:
HIsheR
2026-10-26 22:09:57 +08:00
parent 80ffee54d7
commit d489a3d9c3
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -2654,6 +2654,15 @@
"status": "done", "status": "done",
"domain": "tooling", "domain": "tooling",
"notes": "首版只扫 ui.css 把 highlight 误报为闲置(实际被 --ua-shadow-highlight 引用),补上 tokens.css 作为消费面后剩 3 个真闲置:surface-3 / text-secondary / font-size-xl;text-secondary 仍被 audit:contrast 配对表引用,故只报不删" "notes": "首版只扫 ui.css 把 highlight 误报为闲置(实际被 --ua-shadow-highlight 引用),补上 tokens.css 作为消费面后剩 3 个真闲置:surface-3 / text-secondary / font-size-xl;text-secondary 仍被 audit:contrast 配对表引用,故只报不删"
},
{
"id": "g252",
"title": "MCP get_component 支持 format: md",
"motivation": "g246 给 CLI 加了 --md,但 Agent 侧主力入口是 MCP:get_component 仍只回一大坨 JSON,Agent 拿到要自己拼参数表才能贴给人看。",
"acceptance": "MCP get_component 入参增加 format 枚举 json|md(缺省 json 行为不变);md 时返回与 ua info --md 同款 Markdown 片段(标题 + 参数表 + 用法 + 示例 + 配方指路);字符串结果在 tools/call 层原样作为 text 返回(不再 JSON 转义);npm run check 全绿。",
"status": "done",
"domain": "tooling",
"notes": "实测 stdio 往返:text 字段直接是可读 Markdown;json 分支未变(老客户端无感)"
} }
] ]
} }
+1
View File
@@ -296,3 +296,4 @@
{"ts": "2026-10-26T22:05:40+08:00", "id": "g249", "result": "done", "commit": "2c34870", "summary": "doctor 升到 11 项:usage↔dispatch 双向覆盖、check 链覆盖全部门禁步骤、CLI 清单声明命令都有实现;当场抓到 usage 漏 recipes 的真问题"} {"ts": "2026-10-26T22:05:40+08:00", "id": "g249", "result": "done", "commit": "2c34870", "summary": "doctor 升到 11 项:usage↔dispatch 双向覆盖、check 链覆盖全部门禁步骤、CLI 清单声明命令都有实现;当场抓到 usage 漏 recipes 的真问题"}
{"ts": "2026-10-26T22:07:53+08:00", "id": "g250", "result": "done", "commit": "b6229e2", "summary": "新增 ua audit:motion 动效兜底门禁(扫描 infinite 动画是否被 reduced-motion 关掉),当场补掉转圈与不确定态进度两处漏网,门禁链升到 11 步"} {"ts": "2026-10-26T22:07:53+08:00", "id": "g250", "result": "done", "commit": "b6229e2", "summary": "新增 ua audit:motion 动效兜底门禁(扫描 infinite 动画是否被 reduced-motion 关掉),当场补掉转圈与不确定态进度两处漏网,门禁链升到 11 步"}
{"ts": "2026-10-26T22:08:59+08:00", "id": "g251", "result": "done", "commit": "4b57f11", "summary": "ua tokens 增加 --unused:按「皮肤样式表 + 令牌自身派生」算消费面,列出闲置令牌(当前 3 个:surface-3 / text-secondary / font-size-xl),只报不删"} {"ts": "2026-10-26T22:08:59+08:00", "id": "g251", "result": "done", "commit": "4b57f11", "summary": "ua tokens 增加 --unused:按「皮肤样式表 + 令牌自身派生」算消费面,列出闲置令牌(当前 3 个:surface-3 / text-secondary / font-size-xl),只报不删"}
{"ts": "2026-10-26T22:09:57+08:00", "id": "g252", "result": "done", "commit": "80ffee5", "summary": "MCP get_component 增加 format:md,与 ua info --md 共用渲染;tools/call 对字符串结果原样返回,Agent 直接拿到可粘贴 Markdown"}