chore(backlog): 记录 g309 完成

This commit is contained in:
HIsheR
2026-10-27 00:39:09 +08:00
parent ae105b6e44
commit 57d3520f82
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -3171,7 +3171,7 @@
{
"id": "g309",
"domain": "tooling",
"status": "open",
"status": "done",
"title": "把每轮迭代的手工留痕脚本收成 ua iter done / add",
"motivation": "每轮收尾都要临时写 node 脚本改 backlog、手拼 iterations.log 的 JSON——历史踩过 ts 手写缺时区、字段顺序自创、状态忘记改、哈希抄错,lint-iterations 事后才拦。这条流程本该由 CLI 保证,不该每轮靠人记。",
"acceptance": "① 新增 ua iter done <id> <commit> <summary> [notes]:backlog 置 done、追加 {ts,id,result,commit,summary} 固定字段行,ts 由本机时钟生成带 +08:00 偏移,commit 校验 7-40 位哈希,条目不存在直接报错;② ua iter add <json>:五字段齐全 + id 唯一校验后追加;③ usage 串、dispatch、CLI 清单三处同步(doctor 通过);④ 临时脚本 .ua/log-one.mjs 与 .ua/add-entry.mjs 删除;⑤ npm run check 全绿。",