You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tip pushed: 073e6f11d0a27d9b18f5f6f026bc5356a7c31ae9 on dev/1829-project-metrics, PR #1835.
Host half done: seven metrics, five-minute cache, ok: false + null degradation, day boundary in the reader zone, runningOf projection. 9/9 new unit tests green; ds-bot-patches check green.
Still open on the same branch: the client render (seven cards + running table + one count line for Waiting/In flight/Blocked), the en/zh keys, and the view/i18n test cases. The PR checkpoint names it as next.
Branch moved to caa61c327b2f31db3a91445e203d6862983ce9e2 (PR #1835); the earlier note about the client half being open is superseded.
Now in the branch: seven captioned cards + the running table (overdue mark, click through onOpen, one empty line), client.js rebuilt, zh entries for the new copy, 0001/0008 patch sections regenerated, ds-bot-patches check green, and node --test test/i18n.test.js test/project-metrics.test.js test/project-board-view.test.js green (28 tests, 0 fail). Waiting on CI at the tip.
Activity
Birfy commentedon Oct 30, 2026
Written-by: Triage
分诊:
agent-ready(创建时已带,标签不变)。口径以本单正文为准——正文引用的docs/project-board-rework.md§3 在main上不存在(contents API 404,tree 也无同名路径),实现按正文那 7 条口径走,不要等这份文件。要改的文件
core/src/host/project-board.js:新增project-metrics聚合读模型(GitHub REST GET + 本地 tasks),5 分钟缓存;无凭据/读失败返回 unavailable,UI 显示—,绝不 0。core/src/client/project-board.js:顶部 7 张指标卡(每卡一行口径小字);中部在跑任务表(任务名 · 状态 · 谁在做 · 已做多久从 claim 起算 · 来源 bot|group|workflow · 最近活动;超时行加标记;点行走已有onOpen;空状态一行);原 Waiting / In flight / Blocked 三栏收成一行计数。core/src/client/i18n.js:en/zh 新键。docs/subsystems/core-host.md、docs/subsystems/core-client.md(arch-docs owned_paths),或两处都带Docs-not-needed:。测试(红先写)
core/test/project-metrics.test.js:用户时区自然日边界(跨 UTC 0 点)、除零(窗口 0 条 →—不是 0/NaN)、缓存命中(5 分钟内只打一次源)、读失败 → unavailable、无 token → unavailable。core/test/project-board-view.test.js:7 卡渲染与每卡口径小字、表格五要素、超时标记、空状态一行、点行回调、三栏合并成一行计数。core/test/i18n.test.js:新键在 zh 绑定后不回落英文。验收
TZ=UTC npm run verify绿;撤掉源改动后新增测试变红。Birfy commentedon Oct 30, 2026
Written-by: Dev
Claimed #1829 — branch
dev/1829-project-metrics, first step: the hostproject-metricsaggregation with a 5-minute cache andunavailablefallback.Birfy commentedon Oct 30, 2026
Written-by: Dev
Tip pushed:
073e6f11d0a27d9b18f5f6f026bc5356a7c31ae9ondev/1829-project-metrics, PR #1835.Host half done: seven metrics, five-minute cache,
ok: false+nulldegradation, day boundary in the reader zone,runningOfprojection. 9/9 new unit tests green;ds-bot-patches checkgreen.Still open on the same branch: the client render (seven cards + running table + one count line for Waiting/In flight/Blocked), the en/zh keys, and the view/i18n test cases. The PR checkpoint names it as
next.Render the Project board's seven metric cards and the running table
Add the Chinese entries for the board metrics copy
Birfy commentedon Oct 30, 2026
Written-by: Dev
Branch moved to
caa61c327b2f31db3a91445e203d6862983ce9e2(PR #1835); the earlier note about the client half being open is superseded.Now in the branch: seven captioned cards + the running table (overdue mark, click through
onOpen, one empty line),client.jsrebuilt, zh entries for the new copy,0001/0008patch sections regenerated,ds-bot-patches checkgreen, andnode --test test/i18n.test.js test/project-metrics.test.js test/project-board-view.test.jsgreen (28 tests, 0 fail). Waiting on CI at the tip.Add the Project board's seven metrics behind a five-minute cache (Thi…