fde-console 0.0.0-stage → 2.9.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +128 -2
  3. package/README.zh-CN.md +130 -0
  4. package/assets/icon.svg +9 -0
  5. package/cordis.patch.yml +7 -0
  6. package/lib/agentActivity.js +1180 -0
  7. package/lib/agentContext.js +146 -0
  8. package/lib/agentTranscript.js +1398 -0
  9. package/lib/analyze.js +625 -0
  10. package/lib/attribute.js +205 -0
  11. package/lib/backup.js +366 -0
  12. package/lib/desktopAgents.js +123 -0
  13. package/lib/diary.js +333 -0
  14. package/lib/dingtalk.js +412 -0
  15. package/lib/feishu.js +580 -0
  16. package/lib/giteaClient.js +810 -0
  17. package/lib/giteeClient.js +372 -0
  18. package/lib/githubClient.js +361 -0
  19. package/lib/heatmap.js +99 -0
  20. package/lib/imNotify.js +378 -0
  21. package/lib/inbox.js +438 -0
  22. package/lib/instanceLock.js +122 -0
  23. package/lib/jobs.js +56 -0
  24. package/lib/learn.js +1388 -0
  25. package/lib/learnImport.js +283 -0
  26. package/lib/learnSeeds.js +97 -0
  27. package/lib/learnSeedsAiEng.js +77 -0
  28. package/lib/mcpCore.js +135 -0
  29. package/lib/members.js +160 -0
  30. package/lib/migration.js +403 -0
  31. package/lib/overview.js +376 -0
  32. package/lib/postmortem.js +148 -0
  33. package/lib/radarIgnore.js +134 -0
  34. package/lib/redact.js +76 -0
  35. package/lib/router.js +246 -0
  36. package/lib/routes-gitea.js +262 -0
  37. package/lib/routes-setup.js +40 -0
  38. package/lib/scorecard.js +111 -0
  39. package/lib/sessionRef.js +227 -0
  40. package/lib/sessionSnapshot.js +67 -0
  41. package/lib/sessionSuggest.js +186 -0
  42. package/lib/settings.js +783 -0
  43. package/lib/setupCheck.js +330 -0
  44. package/lib/ssrfGuard.js +145 -0
  45. package/lib/store.js +564 -0
  46. package/lib/storeDb.js +418 -0
  47. package/lib/taskEvents.js +243 -0
  48. package/lib/webhookOut.js +125 -0
  49. package/lib/weekly.js +439 -0
  50. package/lib/workSearch.js +220 -0
  51. package/locale/en.json +6 -0
  52. package/locale/zh.json +6 -0
  53. package/package.json +46 -4
  54. package/plugin/adapter.js +157 -0
  55. package/plugin/client.js +282 -0
  56. package/plugin/index.mjs +116 -0
  57. package/plugin/static.js +99 -0
  58. package/scripts/backup-data.js +41 -0
  59. package/scripts/mcp-server.mjs +68 -0
  60. package/scripts/migrate-data.js +301 -0
  61. package/scripts/migrate-storage.js +47 -0
  62. package/scripts/seed-demo.js +200 -0
  63. package/scripts/write-agent-context.js +43 -0
  64. package/test/helpers/appAssembler.js +1078 -0
  65. package/web/client/fde-client.js +292 -0
  66. package/web/css/app.css +1510 -0
  67. package/web/index.html +69 -0
  68. package/web/js/api.js +72 -0
  69. package/web/js/app.js +313 -0
  70. package/web/js/icons.js +48 -0
  71. package/web/js/mock.js +1150 -0
  72. package/web/js/state.js +7 -0
  73. package/web/js/ui.js +276 -0
  74. package/web/js/views/activity.js +410 -0
  75. package/web/js/views/agents.js +892 -0
  76. package/web/js/views/board.js +1656 -0
  77. package/web/js/views/learn.js +530 -0
  78. package/web/js/views/members.js +344 -0
  79. package/web/js/views/onboarding.js +103 -0
  80. package/web/js/views/overview.js +508 -0
  81. package/web/js/views/radar.js +1359 -0
  82. package/web/js/views/search.js +149 -0
  83. package/web/js/views/settings.js +1351 -0
  84. package/web/js/views/topology.js +471 -0
  85. package/web/mock.json +2363 -0
package/web/mock.json ADDED
@@ -0,0 +1,2363 @@
1
+ {
2
+ "overview": {
3
+ "tasks": {
4
+ "todo": 2,
5
+ "doing": 4,
6
+ "review": 1,
7
+ "done": 3,
8
+ "overdue": 1
9
+ },
10
+ "agents": 9,
11
+ "sessionsRunning": 2,
12
+ "gatewayExternalRunning": 1,
13
+ "activities24h": 6,
14
+ "gitea": {
15
+ "ok": true,
16
+ "lastPollAt": "2026-10-16T08:00:00Z",
17
+ "lastError": null
18
+ }
19
+ },
20
+ "dueAnchor": "2026-10-16",
21
+ "diaryAnchor": "2026-10-16",
22
+ "columns": [
23
+ {
24
+ "id": "todo",
25
+ "name": "待分配",
26
+ "order": 1
27
+ },
28
+ {
29
+ "id": "doing",
30
+ "name": "进行中",
31
+ "order": 2
32
+ },
33
+ {
34
+ "id": "review",
35
+ "name": "待验证",
36
+ "order": 3
37
+ },
38
+ {
39
+ "id": "done",
40
+ "name": "已完成",
41
+ "order": 4
42
+ }
43
+ ],
44
+ "tasks": [
45
+ {
46
+ "id": "t-m4ek9a-3f21",
47
+ "title": "接入 SSO 登录",
48
+ "status": "doing",
49
+ "priority": "high",
50
+ "dueDate": "2026-10-13",
51
+ "desc": "对接企业 IdP 的 SAML 元数据配置,完成单点登录跳转\n验收标准:测试账号免密登录成功,登出后会话立即失效",
52
+ "agentId": "claude",
53
+ "memberId": "qianqi",
54
+ "acceptorId": "qianqi",
55
+ "repo": "example-org/fde-api",
56
+ "branch": "feat/sso",
57
+ "prUrl": "https://gitea.example.com/example-org/fde-api/pulls/12",
58
+ "notes": "优先级高,参考 docs/auth.md",
59
+ "completedAt": null,
60
+ "createdAt": "2026-10-16T01:00:00Z",
61
+ "updatedAt": "2026-10-16T07:30:00Z",
62
+ "events": [
63
+ {
64
+ "type": "created",
65
+ "from": null,
66
+ "to": "todo",
67
+ "detail": "",
68
+ "at": "2026-10-16T01:00:00Z"
69
+ },
70
+ {
71
+ "type": "assign",
72
+ "from": null,
73
+ "to": "Claude Code",
74
+ "detail": "负责智能体:Claude Code",
75
+ "at": "2026-10-16T01:05:00Z"
76
+ },
77
+ {
78
+ "type": "assign",
79
+ "from": null,
80
+ "to": "张伟",
81
+ "detail": "负责成员:张伟",
82
+ "at": "2026-10-16T01:06:00Z"
83
+ },
84
+ {
85
+ "type": "priority",
86
+ "from": "medium",
87
+ "to": "high",
88
+ "at": "2026-10-16T02:00:00Z"
89
+ },
90
+ {
91
+ "type": "due",
92
+ "from": null,
93
+ "to": "2026-10-13",
94
+ "at": "2026-10-16T02:01:00Z"
95
+ },
96
+ {
97
+ "type": "memo",
98
+ "from": null,
99
+ "to": null,
100
+ "detail": "SSO 技术评审:“SAML 断言的 NameID 要用 persistent 格式,别用 email。”",
101
+ "at": "2026-10-16T04:20:00Z"
102
+ },
103
+ {
104
+ "type": "status",
105
+ "from": "待分配",
106
+ "to": "进行中",
107
+ "at": "2026-10-16T06:00:00Z"
108
+ },
109
+ {
110
+ "type": "artifact",
111
+ "from": null,
112
+ "to": "https://gitea.example.com/example-org/fde-api/pulls/12",
113
+ "detail": "挂接成果:PR · example-org/fde-api",
114
+ "at": "2026-10-16T07:31:00Z"
115
+ },
116
+ {
117
+ "type": "artifact",
118
+ "from": null,
119
+ "to": "https://gitea.example.com/example-org/fde-api/commit/9f2c1ab",
120
+ "detail": "自动归因:commit · example-org/fde-api",
121
+ "at": "2026-10-16T07:42:00Z"
122
+ },
123
+ {
124
+ "type": "accept",
125
+ "from": null,
126
+ "to": "张伟",
127
+ "detail": "验收人:张伟",
128
+ "at": "2026-10-16T07:45:00Z"
129
+ }
130
+ ],
131
+ "artifacts": [
132
+ {
133
+ "url": "https://gitea.example.com/example-org/fde-api/pulls/12",
134
+ "kind": "pr",
135
+ "repo": "example-org/fde-api",
136
+ "ref": "12",
137
+ "at": "2026-10-16T07:31:00Z"
138
+ },
139
+ {
140
+ "url": "https://gitea.example.com/example-org/fde-api/commit/9f2c1ab",
141
+ "kind": "commit",
142
+ "repo": "example-org/fde-api",
143
+ "ref": "9f2c1ab",
144
+ "attributedBy": "auto",
145
+ "at": "2026-10-16T07:42:00Z"
146
+ }
147
+ ],
148
+ "origin": {
149
+ "type": "manual",
150
+ "relatedMemos": [
151
+ {
152
+ "quote": "SAML 断言的 NameID 要用 persistent 格式,别用 email。",
153
+ "note": "已按 persistent 实现,评审通过",
154
+ "at": "2026-10-16T03:20:00Z"
155
+ },
156
+ {
157
+ "quote": "登出之后会话要立即失效,不能沿用旧 token 直接进系统。",
158
+ "note": "待联调验证 token 吊销路径",
159
+ "at": "2026-10-16T07:10:00Z"
160
+ }
161
+ ]
162
+ }
163
+ },
164
+ {
165
+ "id": "t-m4ekb2-8c07",
166
+ "title": "修复会话存活 PID 复用误报",
167
+ "status": "doing",
168
+ "priority": "medium",
169
+ "dueDate": "2026-10-16",
170
+ "desc": "Windows 下 PID 复用导致 process.kill(pid,0) 把无关进程误判为存活会话\n验收标准:复现脚本连续 1000 次检测零误报",
171
+ "agentId": "opencode",
172
+ "memberId": "zhaoliu",
173
+ "acceptorId": null,
174
+ "repo": "example-org/fde-api",
175
+ "branch": "fix/session-alive",
176
+ "prUrl": null,
177
+ "notes": "sessions.js process.kill(pid,0)",
178
+ "completedAt": null,
179
+ "createdAt": "2026-10-16T06:40:00Z",
180
+ "updatedAt": "2026-10-16T07:40:00Z",
181
+ "events": [
182
+ {
183
+ "type": "created",
184
+ "from": null,
185
+ "to": "todo",
186
+ "detail": "",
187
+ "at": "2026-10-16T06:40:00Z"
188
+ },
189
+ {
190
+ "type": "assign",
191
+ "from": null,
192
+ "to": "OpenCode",
193
+ "detail": "负责智能体:OpenCode",
194
+ "at": "2026-10-16T06:41:00Z"
195
+ },
196
+ {
197
+ "type": "status",
198
+ "from": "待分配",
199
+ "to": "进行中",
200
+ "at": "2026-10-16T07:00:00Z"
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ "id": "t-m4ekc5-d4e9",
206
+ "title": "Gitea 动态流轮询缓存",
207
+ "status": "doing",
208
+ "priority": "low",
209
+ "dueDate": null,
210
+ "agentId": "mcode",
211
+ "acceptorId": null,
212
+ "repo": "example-org/fde-harness",
213
+ "branch": "feat/activity-cache",
214
+ "prUrl": null,
215
+ "notes": "分页拉取组织仓库最近 7 天",
216
+ "completedAt": null,
217
+ "createdAt": "2026-10-16T05:00:00Z",
218
+ "updatedAt": "2026-10-16T07:00:00Z",
219
+ "events": [
220
+ {
221
+ "type": "created",
222
+ "from": null,
223
+ "to": "todo",
224
+ "detail": "",
225
+ "at": "2026-10-16T05:00:00Z"
226
+ },
227
+ {
228
+ "type": "status",
229
+ "from": "待分配",
230
+ "to": "进行中",
231
+ "at": "2026-10-16T05:30:00Z"
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ "id": "t-m4d1x0-22b6",
237
+ "title": "动态匹配算法性能剖析",
238
+ "status": "doing",
239
+ "priority": "medium",
240
+ "dueDate": "2026-10-17",
241
+ "desc": "逐条 indexOf 改为预编译正则 + 关键词倒排\n验收标准:1000 任务规模下匹配耗时不高于 50ms",
242
+ "agentId": "codex",
243
+ "acceptorId": null,
244
+ "repo": "example-org/fde-harness",
245
+ "branch": "perf/match",
246
+ "prUrl": null,
247
+ "notes": "子串匹配改为预编译正则",
248
+ "completedAt": null,
249
+ "createdAt": "2026-10-15T06:00:00Z",
250
+ "updatedAt": "2026-10-15T06:00:00Z",
251
+ "events": []
252
+ },
253
+ {
254
+ "id": "t-m4ekd8-71aa",
255
+ "title": "agents.json 内置 9 个 CLI 注册表",
256
+ "status": "review",
257
+ "priority": "medium",
258
+ "dueDate": "2026-10-18",
259
+ "desc": "梳理 9 个内置 CLI 的命令模板差异,统一 {briefing} 占位约定,并补齐 Windows 路径转义与引号规则的差异说明文档和回归用例\n验收标准:SPEC 增补对应章节,全部既有用例通过",
260
+ "agentId": "kilo",
261
+ "acceptorId": "qianqi",
262
+ "repo": "example-org/fde-harness",
263
+ "branch": "feat/agent-registry",
264
+ "prUrl": null,
265
+ "notes": "commandTemplate 一律含 {briefing}",
266
+ "completedAt": null,
267
+ "createdAt": "2026-10-16T03:00:00Z",
268
+ "updatedAt": "2026-10-16T05:30:00Z",
269
+ "events": [
270
+ {
271
+ "type": "created",
272
+ "from": null,
273
+ "to": "todo",
274
+ "detail": "",
275
+ "at": "2026-10-16T03:00:00Z"
276
+ },
277
+ {
278
+ "type": "assign",
279
+ "from": null,
280
+ "to": "Kilo",
281
+ "detail": "负责智能体:Kilo",
282
+ "at": "2026-10-16T03:01:00Z"
283
+ },
284
+ {
285
+ "type": "status",
286
+ "from": "进行中",
287
+ "to": "待验证",
288
+ "at": "2026-10-16T05:30:00Z"
289
+ },
290
+ {
291
+ "type": "accept",
292
+ "from": null,
293
+ "to": "张伟",
294
+ "detail": "验收人:张伟",
295
+ "at": "2026-10-16T05:45:00Z"
296
+ }
297
+ ]
298
+ },
299
+ {
300
+ "id": "t-m4eke1-b902",
301
+ "title": "整理 demo-hub 技能目录结构",
302
+ "status": "todo",
303
+ "priority": "high",
304
+ "dueDate": "2026-10-23",
305
+ "agentId": null,
306
+ "acceptorId": null,
307
+ "repo": "example-org/demo-hub",
308
+ "branch": null,
309
+ "prUrl": null,
310
+ "notes": "清退重复的 SKILL.md 副本",
311
+ "completedAt": null,
312
+ "createdAt": "2026-10-16T02:00:00Z",
313
+ "updatedAt": "2026-10-16T02:00:00Z",
314
+ "events": [
315
+ {
316
+ "type": "created",
317
+ "from": null,
318
+ "to": "todo",
319
+ "detail": "",
320
+ "at": "2026-10-16T02:00:00Z"
321
+ }
322
+ ]
323
+ },
324
+ {
325
+ "id": "t-m4ekf4-5c3d",
326
+ "title": "编写 FDE 周报模板",
327
+ "status": "todo",
328
+ "priority": "low",
329
+ "dueDate": null,
330
+ "agentId": "kilo",
331
+ "acceptorId": null,
332
+ "repo": null,
333
+ "branch": null,
334
+ "prUrl": null,
335
+ "notes": "",
336
+ "completedAt": null,
337
+ "createdAt": "2026-10-15T09:00:00Z",
338
+ "updatedAt": "2026-10-15T11:20:00Z",
339
+ "events": [
340
+ {
341
+ "type": "artifact",
342
+ "from": null,
343
+ "to": "https://gitea.example.com/example-org/fde-harness/commit/c3d4e5f",
344
+ "detail": "自动归因:commit · example-org/fde-harness",
345
+ "at": "2026-10-15T11:20:00Z"
346
+ }
347
+ ],
348
+ "artifacts": [
349
+ {
350
+ "url": "https://gitea.example.com/example-org/fde-harness/commit/c3d4e5f",
351
+ "kind": "commit",
352
+ "repo": "example-org/fde-harness",
353
+ "ref": "c3d4e5f",
354
+ "attributedBy": "auto",
355
+ "at": "2026-10-15T11:20:00Z"
356
+ }
357
+ ]
358
+ },
359
+ {
360
+ "id": "t-m4ejz7-f108",
361
+ "title": "B3 SSRF 白名单与凭据红线",
362
+ "status": "done",
363
+ "priority": "low",
364
+ "dueDate": null,
365
+ "agentId": "goose",
366
+ "acceptorId": "zhaoliu",
367
+ "repo": "example-org/fde-harness",
368
+ "branch": "test/b3-ssrf",
369
+ "prUrl": "https://gitea.example.com/example-org/fde-api/pulls/9",
370
+ "notes": "含凭据落盘扫描用例",
371
+ "completedAt": "2026-10-15T09:30:00Z",
372
+ "createdAt": "2026-10-15T02:00:00Z",
373
+ "updatedAt": "2026-10-15T09:30:00Z",
374
+ "events": [
375
+ {
376
+ "type": "created",
377
+ "from": null,
378
+ "to": "todo",
379
+ "detail": "",
380
+ "at": "2026-10-15T02:00:00Z"
381
+ },
382
+ {
383
+ "type": "assign",
384
+ "from": null,
385
+ "to": "Goose",
386
+ "detail": "负责智能体:Goose",
387
+ "at": "2026-10-15T02:05:00Z"
388
+ },
389
+ {
390
+ "type": "status",
391
+ "from": "待分配",
392
+ "to": "进行中",
393
+ "at": "2026-10-15T03:30:00Z"
394
+ },
395
+ {
396
+ "type": "due",
397
+ "from": null,
398
+ "to": "2026-10-17",
399
+ "at": "2026-10-15T04:00:00Z"
400
+ },
401
+ {
402
+ "type": "priority",
403
+ "from": "medium",
404
+ "to": "low",
405
+ "at": "2026-10-15T06:00:00Z"
406
+ },
407
+ {
408
+ "type": "edit",
409
+ "from": null,
410
+ "to": null,
411
+ "detail": "更新了备注",
412
+ "at": "2026-10-15T08:00:00Z"
413
+ },
414
+ {
415
+ "type": "due",
416
+ "from": "2026-10-17",
417
+ "to": null,
418
+ "at": "2026-10-15T09:00:00Z"
419
+ },
420
+ {
421
+ "type": "accept",
422
+ "from": null,
423
+ "to": "赵六",
424
+ "detail": "验收人:赵六",
425
+ "at": "2026-10-15T09:10:00Z"
426
+ },
427
+ {
428
+ "type": "status",
429
+ "from": "进行中",
430
+ "to": "已完成",
431
+ "at": "2026-10-15T09:30:00Z"
432
+ },
433
+ {
434
+ "type": "completed",
435
+ "from": null,
436
+ "to": null,
437
+ "detail": "任务完成",
438
+ "at": "2026-10-15T09:30:00Z"
439
+ }
440
+ ]
441
+ },
442
+ {
443
+ "id": "t-m4ejy3-a645",
444
+ "title": "SPEC 架构规格 v1.1",
445
+ "status": "done",
446
+ "priority": "medium",
447
+ "dueDate": null,
448
+ "agentId": "claude",
449
+ "acceptorId": "lisi",
450
+ "repo": "example-org/fde-harness",
451
+ "branch": "docs/spec",
452
+ "prUrl": null,
453
+ "notes": "新增 F5 成员进度包",
454
+ "completedAt": "2026-10-15T12:00:00Z",
455
+ "createdAt": "2026-10-14T01:00:00Z",
456
+ "updatedAt": "2026-10-15T12:00:00Z",
457
+ "events": [
458
+ {
459
+ "type": "created",
460
+ "from": null,
461
+ "to": "todo",
462
+ "detail": "",
463
+ "at": "2026-10-14T01:00:00Z"
464
+ },
465
+ {
466
+ "type": "accept",
467
+ "from": null,
468
+ "to": "李四",
469
+ "detail": "验收人:李四",
470
+ "at": "2026-10-15T11:30:00Z"
471
+ },
472
+ {
473
+ "type": "status",
474
+ "from": "进行中",
475
+ "to": "已完成",
476
+ "at": "2026-10-15T12:00:00Z"
477
+ },
478
+ {
479
+ "type": "completed",
480
+ "from": null,
481
+ "to": null,
482
+ "detail": "任务完成",
483
+ "at": "2026-10-15T12:00:00Z"
484
+ }
485
+ ]
486
+ },
487
+ {
488
+ "id": "t-m4ejx9-0d73",
489
+ "title": "看板列管理(增删改名)",
490
+ "status": "done",
491
+ "priority": "medium",
492
+ "dueDate": null,
493
+ "agentId": "crush",
494
+ "acceptorId": null,
495
+ "repo": "example-org/fde-harness",
496
+ "branch": "feat/column-mgmt",
497
+ "prUrl": null,
498
+ "notes": "删非空列返回 409",
499
+ "completedAt": "2026-10-15T08:00:00Z",
500
+ "createdAt": "2026-10-15T03:00:00Z",
501
+ "updatedAt": "2026-10-15T08:00:00Z",
502
+ "events": []
503
+ },
504
+ {
505
+ "id": "t-demo-origin",
506
+ "title": "登录超时阈值调整评审",
507
+ "status": "todo",
508
+ "agentId": null,
509
+ "memberId": null,
510
+ "acceptorId": null,
511
+ "repo": null,
512
+ "branch": null,
513
+ "prUrl": null,
514
+ "notes": "",
515
+ "desc": "确认登录超时阈值定为 30 分钟",
516
+ "dueDate": null,
517
+ "priority": "medium",
518
+ "completedAt": null,
519
+ "createdAt": "2026-10-17T15:49:33.358Z",
520
+ "updatedAt": "2026-10-17T15:49:33.358Z",
521
+ "events": [],
522
+ "origin": {
523
+ "type": "inbox",
524
+ "refId": "cand-conf05",
525
+ "quote": "登录超时阈值定成 30 分钟,今天下班前出评审结论。"
526
+ }
527
+ },
528
+ {
529
+ "id": "t-topo-manual",
530
+ "title": "客户成功案例整理",
531
+ "status": "doing",
532
+ "agentId": null,
533
+ "memberId": "demo.user",
534
+ "acceptorId": "zhaoliu",
535
+ "repo": null,
536
+ "branch": null,
537
+ "prUrl": null,
538
+ "notes": "纯人工任务:无派生 AI 会话,交付物为共享文档不入 git",
539
+ "desc": "人工整理近一季客户成功案例,输出共享文档,供周报与复盘引用。",
540
+ "dueDate": null,
541
+ "priority": "low",
542
+ "completedAt": null,
543
+ "createdAt": "2026-10-15T10:00:00Z",
544
+ "updatedAt": "2026-10-16T03:20:00Z",
545
+ "events": [
546
+ {
547
+ "type": "created",
548
+ "from": null,
549
+ "to": "todo",
550
+ "detail": "",
551
+ "at": "2026-10-15T10:00:00Z"
552
+ },
553
+ {
554
+ "type": "status",
555
+ "from": "待分配",
556
+ "to": "进行中",
557
+ "detail": "",
558
+ "at": "2026-10-16T03:20:00Z"
559
+ }
560
+ ]
561
+ },
562
+ {
563
+ "id": "t-topo-report",
564
+ "title": "FDE 周报模板定稿",
565
+ "status": "done",
566
+ "agentId": null,
567
+ "memberId": "lisi",
568
+ "acceptorId": "zhangsan",
569
+ "repo": "example-org/fde-console",
570
+ "branch": "task/t-topo-report",
571
+ "prUrl": null,
572
+ "notes": "",
573
+ "desc": "定稿 FDE 周报模板并固化为生成脚本,交付物已合入主干。",
574
+ "dueDate": null,
575
+ "priority": "medium",
576
+ "completedAt": "2026-10-15T09:40:00Z",
577
+ "createdAt": "2026-10-14T08:00:00Z",
578
+ "updatedAt": "2026-10-15T09:40:00Z",
579
+ "artifacts": [
580
+ {
581
+ "url": "https://gitea.example.com/example-org/fde-console/commit/4ea7b21",
582
+ "kind": "commit",
583
+ "repo": "example-org/fde-console",
584
+ "ref": "4ea7b21",
585
+ "at": "2026-10-15T09:35:00Z"
586
+ }
587
+ ],
588
+ "events": [
589
+ {
590
+ "type": "created",
591
+ "from": null,
592
+ "to": "todo",
593
+ "detail": "",
594
+ "at": "2026-10-14T08:00:00Z"
595
+ },
596
+ {
597
+ "type": "artifact",
598
+ "from": null,
599
+ "to": "https://gitea.example.com/example-org/fde-console/commit/4ea7b21",
600
+ "detail": "挂接成果:commit · example-org/fde-console",
601
+ "at": "2026-10-15T09:35:00Z"
602
+ },
603
+ {
604
+ "type": "completed",
605
+ "from": null,
606
+ "to": null,
607
+ "detail": "任务完成",
608
+ "at": "2026-10-15T09:40:00Z"
609
+ }
610
+ ]
611
+ }
612
+ ],
613
+ "diaries": {
614
+ "t-m4ek9a-3f21": [
615
+ {
616
+ "date": "2026-10-16",
617
+ "content": "完成 SAML 回调地址编码修正,测试账号免密登录自测通过。\n卡点:网关侧白名单未放行测试环境域名,已提工单等处理。\n下一步:联调登出后会话失效(token 吊销路径)。",
618
+ "updatedAt": "2026-10-16T07:50:00Z"
619
+ },
620
+ {
621
+ "date": "2026-10-15",
622
+ "content": "通读 IdP 元数据文档,确定 NameID 用 persistent 格式。\n本地起 mock IdP 跑通登录跳转,尚未接真实元数据。",
623
+ "updatedAt": "2026-10-15T19:02:00Z"
624
+ },
625
+ {
626
+ "date": "2026-10-13",
627
+ "content": "评审结论同步:NameID 用 persistent 格式,弃用 email 方案。\n梳理登出失效两条路径(前端清理 + 后端 token 吊销),排期后者。",
628
+ "updatedAt": "2026-10-13T18:30:00Z"
629
+ }
630
+ ],
631
+ "t-m4ekb2-8c07": [
632
+ {
633
+ "date": "2026-10-15",
634
+ "content": "定位到 PID 复用来自短命进程快速回收,复现脚本 1000 次检测出现 3 次误报。\n开始加进程启动时间校验,预计明天出修复补丁。",
635
+ "updatedAt": "2026-10-15T20:10:00Z"
636
+ }
637
+ ],
638
+ "t-topo-manual": [
639
+ {
640
+ "date": "2026-10-14",
641
+ "content": "整理完成 6 个客户成功案例初稿,其中 2 个待客户授权确认。\n初稿已共享至团队空间,周报可先引用脱敏版。",
642
+ "updatedAt": "2026-10-14T17:40:00Z"
643
+ }
644
+ ]
645
+ },
646
+ "agents": [
647
+ {
648
+ "id": "claude",
649
+ "name": "Claude Code",
650
+ "command": "claude",
651
+ "commandTemplate": "claude \"{briefing}\"",
652
+ "builtin": true,
653
+ "enabled": true
654
+ },
655
+ {
656
+ "id": "opencode",
657
+ "name": "OpenCode",
658
+ "command": "opencode",
659
+ "commandTemplate": "opencode \"{briefing}\"",
660
+ "builtin": true,
661
+ "enabled": true
662
+ },
663
+ {
664
+ "id": "kilo",
665
+ "name": "Kilo",
666
+ "command": "kilo",
667
+ "commandTemplate": "kilo \"{briefing}\"",
668
+ "builtin": true,
669
+ "enabled": true
670
+ },
671
+ {
672
+ "id": "mcode",
673
+ "name": "Mcode",
674
+ "command": "mcode",
675
+ "commandTemplate": "mcode \"{briefing}\"",
676
+ "builtin": true,
677
+ "enabled": true
678
+ },
679
+ {
680
+ "id": "goose",
681
+ "name": "Goose",
682
+ "command": "goose",
683
+ "commandTemplate": "goose \"{briefing}\"",
684
+ "builtin": true,
685
+ "enabled": true
686
+ },
687
+ {
688
+ "id": "codex",
689
+ "name": "Codex",
690
+ "command": "codex",
691
+ "commandTemplate": "codex \"{briefing}\"",
692
+ "builtin": true,
693
+ "enabled": true
694
+ },
695
+ {
696
+ "id": "crush",
697
+ "name": "Crush",
698
+ "command": "crush",
699
+ "commandTemplate": "crush \"{briefing}\"",
700
+ "builtin": true,
701
+ "enabled": false
702
+ },
703
+ {
704
+ "id": "dsh",
705
+ "name": "DSH",
706
+ "command": "dsh",
707
+ "commandTemplate": "dsh \"{briefing}\"",
708
+ "builtin": true,
709
+ "enabled": false
710
+ },
711
+ {
712
+ "id": "demo-team",
713
+ "name": "DemoBot",
714
+ "command": "demo-team",
715
+ "commandTemplate": "demo-team \"{briefing}\"",
716
+ "builtin": true,
717
+ "enabled": true
718
+ }
719
+ ],
720
+ "activities": [
721
+ {
722
+ "id": "a-80",
723
+ "type": "commit_pushed",
724
+ "actor": "claude",
725
+ "repo": "example-org/fde-api",
726
+ "branch": "feat/sso",
727
+ "title": "fix(sso): 回调地址编码修正",
728
+ "sha": "9f2c1ab",
729
+ "messageBody": "回调地址 query 部分未做 URL 编码,IdP 校验失败;补 encodeURIComponent。",
730
+ "url": "https://gitea.example.com/example-org/fde-api/commit/9f2c1ab",
731
+ "occurredAt": "2026-10-16T07:42:00Z",
732
+ "fetchedAt": "2026-10-16T08:00:00Z",
733
+ "matchedTaskIds": ["t-m4ek9a-3f21"]
734
+ },
735
+ {
736
+ "id": "a-79",
737
+ "type": "commit_pushed",
738
+ "actor": "opencode",
739
+ "repo": "example-org/fde-api",
740
+ "branch": "task/t-m4ekb2-8c07",
741
+ "title": "[demo-team] chore: 同步会话进度心跳",
742
+ "sha": "b4d2f9e8",
743
+ "messageBody": "",
744
+ "url": "https://gitea.example.com/example-org/fde-api/commit/b4d2f9e8",
745
+ "occurredAt": "2026-10-16T07:54:30Z",
746
+ "fetchedAt": "2026-10-16T08:00:00Z",
747
+ "matchedTaskIds": [
748
+ "t-m4ekb2-8c07"
749
+ ]
750
+ },
751
+ {
752
+ "id": "a-78",
753
+ "type": "commit_pushed",
754
+ "actor": "opencode",
755
+ "repo": "example-org/fde-api",
756
+ "branch": "task/t-m4ekb2-8c07",
757
+ "title": "[demo-team] chore: 记录验收清单勾选项",
758
+ "sha": "c7e81aa4",
759
+ "messageBody": "",
760
+ "url": "https://gitea.example.com/example-org/fde-api/commit/c7e81aa4",
761
+ "occurredAt": "2026-10-16T07:54:02Z",
762
+ "fetchedAt": "2026-10-16T08:00:00Z",
763
+ "matchedTaskIds": [
764
+ "t-m4ekb2-8c07"
765
+ ]
766
+ },
767
+ {
768
+ "id": "a-77",
769
+ "type": "commit_pushed",
770
+ "actor": "opencode",
771
+ "repo": "example-org/fde-api",
772
+ "branch": "task/t-m4ekb2-8c07",
773
+ "title": "[demo-team] fix: 心跳写盘节流为 5s",
774
+ "sha": "d93f0172",
775
+ "messageBody": "去掉 1s 一次的写盘抖动,统一节流到 5s,与轮询周期对齐。",
776
+ "url": "https://gitea.example.com/example-org/fde-api/commit/d93f0172",
777
+ "occurredAt": "2026-10-16T07:53:40Z",
778
+ "fetchedAt": "2026-10-16T08:00:00Z",
779
+ "matchedTaskIds": [
780
+ "t-m4ekb2-8c07"
781
+ ]
782
+ },
783
+ {
784
+ "id": "a-76",
785
+ "type": "commit_pushed",
786
+ "actor": "opencode",
787
+ "repo": "example-org/fde-api",
788
+ "branch": "task/t-m4ekb2-8c07",
789
+ "title": "[demo-team] chore: 启动时拉取看板快照",
790
+ "sha": "e2a4b88c",
791
+ "messageBody": "",
792
+ "url": "https://gitea.example.com/example-org/fde-api/commit/e2a4b88c",
793
+ "occurredAt": "2026-10-16T07:53:15Z",
794
+ "fetchedAt": "2026-10-16T08:00:00Z",
795
+ "matchedTaskIds": [
796
+ "t-m4ekb2-8c07"
797
+ ]
798
+ },
799
+ {
800
+ "id": "a-75",
801
+ "type": "commit_pushed",
802
+ "actor": "opencode",
803
+ "repo": "example-org/fde-api",
804
+ "branch": "task/t-m4ekb2-8c07",
805
+ "title": "[demo-team] chore: 会话目录侦测初始化",
806
+ "sha": "f0b6c21a",
807
+ "messageBody": "",
808
+ "url": "https://gitea.example.com/example-org/fde-api/commit/f0b6c21a",
809
+ "occurredAt": "2026-10-16T07:52:48Z",
810
+ "fetchedAt": "2026-10-16T08:00:00Z",
811
+ "matchedTaskIds": [
812
+ "t-m4ekb2-8c07"
813
+ ]
814
+ },
815
+ {
816
+ "id": "a-74",
817
+ "type": "commit_pushed",
818
+ "actor": "qianqi",
819
+ "repo": "example-org/demo-hub",
820
+ "branch": "main",
821
+ "title": "docs: 派单模板补充验收人字段说明",
822
+ "sha": "77aa1c3",
823
+ "messageBody": "验收人字段 v2.0 起全链路生效:任务表单可指定,交付后徽标提示对应成员验收,避免做完没人认。",
824
+ "url": "https://gitea.example.com/example-org/demo-hub/commit/77aa1c3",
825
+ "occurredAt": "2026-10-16T07:48:00Z",
826
+ "fetchedAt": "2026-10-16T08:00:00Z",
827
+ "matchedTaskIds": []
828
+ },
829
+ {
830
+ "id": "a-73",
831
+ "type": "commit_pushed",
832
+ "actor": "qianqi",
833
+ "repo": "example-org/demo-hub",
834
+ "branch": "main",
835
+ "title": "fix: 修复周报脚本时区偏移",
836
+ "sha": "18cc9d0",
837
+ "messageBody": "",
838
+ "url": "https://gitea.example.com/example-org/demo-hub/commit/18cc9d0",
839
+ "occurredAt": "2026-10-16T07:46:30Z",
840
+ "fetchedAt": "2026-10-16T08:00:00Z",
841
+ "matchedTaskIds": []
842
+ },
843
+ {
844
+ "id": "a-72",
845
+ "type": "branch_deleted",
846
+ "actor": null,
847
+ "repo": "example-org/fde-api",
848
+ "branch": "feat/tmp-probe",
849
+ "title": "删除分支 feat/tmp-probe",
850
+ "url": null,
851
+ "occurredAt": "2026-10-16T07:44:00Z",
852
+ "fetchedAt": "2026-10-16T08:00:00Z",
853
+ "matchedTaskIds": []
854
+ },
855
+ {
856
+ "id": "a-71",
857
+ "type": "commit_pushed",
858
+ "actor": "opencode",
859
+ "repo": "example-org/fde-api",
860
+ "branch": "fix/session-alive",
861
+ "title": "fix: 会话存活检测去除 PID 复用误报",
862
+ "sha": "9f2c1ab8",
863
+ "messageBody": "PID 复用误报的根因是短命进程退出后 PID 被系统复用,process.kill(pid,0) 会把无关进程误判为存活。改为比对启动命令行指纹,复现脚本连续 1000 次检测零误报。",
864
+ "url": "https://gitea.example.com/example-org/fde-api/commit/9f2c1ab",
865
+ "occurredAt": "2026-10-16T07:40:00Z",
866
+ "fetchedAt": "2026-10-16T08:00:00Z",
867
+ "matchedTaskIds": [
868
+ "t-m4ekb2-8c07"
869
+ ]
870
+ },
871
+ {
872
+ "id": "a-70",
873
+ "type": "pr_opened",
874
+ "actor": "kilo",
875
+ "repo": "example-org/fde-api",
876
+ "branch": "feat/sso",
877
+ "title": "feat: SSO 登录",
878
+ "url": "https://gitea.example.com/example-org/fde-api/pulls/12",
879
+ "occurredAt": "2026-10-16T07:30:00Z",
880
+ "fetchedAt": "2026-10-16T08:00:00Z",
881
+ "matchedTaskIds": [
882
+ "t-m4ek9a-3f21"
883
+ ]
884
+ },
885
+ {
886
+ "id": "a-69",
887
+ "type": "commit_pushed",
888
+ "actor": "qianqi",
889
+ "repo": "example-org/demo-hub",
890
+ "branch": "main",
891
+ "title": "docs: 更新周报模板与派单说明",
892
+ "sha": "44b02de",
893
+ "messageBody": "",
894
+ "url": "https://gitea.example.com/example-org/demo-hub/commit/44b02de",
895
+ "occurredAt": "2026-10-16T07:20:00Z",
896
+ "fetchedAt": "2026-10-16T08:00:00Z",
897
+ "matchedTaskIds": []
898
+ },
899
+ {
900
+ "id": "a-68",
901
+ "type": "pr_merged",
902
+ "actor": "claude",
903
+ "repo": "example-org/demo-hub",
904
+ "branch": null,
905
+ "title": "docs: 派单模板补充验收命令规范",
906
+ "url": "https://gitea.example.com/example-org/demo-hub/pulls/28",
907
+ "occurredAt": "2026-10-16T06:30:00Z",
908
+ "fetchedAt": "2026-10-16T08:00:00Z",
909
+ "matchedTaskIds": []
910
+ },
911
+ {
912
+ "id": "a-67",
913
+ "type": "branch_created",
914
+ "actor": "kilo",
915
+ "repo": "example-org/fde-harness",
916
+ "branch": "feat/agent-registry",
917
+ "title": "新建分支 feat/agent-registry",
918
+ "url": "https://gitea.example.com/example-org/fde-harness/src/feat/agent-registry",
919
+ "occurredAt": "2026-10-16T05:00:00Z",
920
+ "fetchedAt": "2026-10-16T08:00:00Z",
921
+ "matchedTaskIds": [
922
+ "t-m4ekd8-71aa"
923
+ ]
924
+ },
925
+ {
926
+ "id": "a-66",
927
+ "type": "pr_opened",
928
+ "actor": "goose",
929
+ "repo": "example-org/fde-api",
930
+ "branch": "test/b3-ssrf",
931
+ "title": "test: SSRF 白名单与凭据落盘扫描用例",
932
+ "url": "https://gitea.example.com/example-org/fde-api/pulls/9",
933
+ "occurredAt": "2026-10-16T03:00:00Z",
934
+ "fetchedAt": "2026-10-16T08:00:00Z",
935
+ "matchedTaskIds": [
936
+ "t-m4ejz7-f108"
937
+ ]
938
+ }
939
+ ],
940
+ "repos": [
941
+ { "fullName": "example-org/demo-hub", "name": "demo-hub", "private": true, "updatedAt": "2026-10-19T08:00:00Z" },
942
+ { "fullName": "example-org/fde-api", "name": "fde-api", "private": false, "updatedAt": "2026-10-18T03:20:00Z" },
943
+ { "fullName": "example-org/fde-harness", "name": "fde-harness", "private": false, "updatedAt": "2026-10-19T02:45:00Z" },
944
+ { "fullName": "example-org/fde-console", "name": "fde-console", "private": true, "updatedAt": "2026-10-17T11:10:00Z" },
945
+ { "fullName": "example-org/common-work", "name": "common-work", "private": false, "updatedAt": "2026-10-15T09:00:00Z" }
946
+ ],
947
+ "members": [
948
+ {
949
+ "id": "workbuddy",
950
+ "name": "WorkBuddy",
951
+ "kind": "agent",
952
+ "role": "桌面 Agent",
953
+ "manual": false,
954
+ "status": "working",
955
+ "currentTask": {
956
+ "id": "t-m4ek9a-3f21",
957
+ "title": "接入 SSO 登录",
958
+ "status": "doing",
959
+ "ageSec": 23400,
960
+ "sinceUpdateSec": 1800,
961
+ "progress": 0.6
962
+ },
963
+ "lastActivityAt": "2026-10-16T07:30:00Z",
964
+ "todayCommits": 0,
965
+ "openPrs": 0,
966
+ "weekDone": 2,
967
+ "session": {
968
+ "id": "wb-f2a91c30",
969
+ "alive": true
970
+ }
971
+ },
972
+ {
973
+ "id": "qianqi",
974
+ "name": "张伟",
975
+ "kind": "human",
976
+ "role": "后端",
977
+ "manual": false,
978
+ "giteaLogin": "qianqi",
979
+ "status": "working",
980
+ "currentTask": {
981
+ "id": "t-m4ek9a-3f21",
982
+ "title": "接入 SSO 登录",
983
+ "status": "doing",
984
+ "ageSec": 23400,
985
+ "sinceUpdateSec": 1800,
986
+ "progress": 0.6
987
+ },
988
+ "lastActivityAt": "2026-10-16T07:30:00Z",
989
+ "todayCommits": 1,
990
+ "openPrs": 0,
991
+ "weekDone": 0,
992
+ "session": null,
993
+ "aliases": [
994
+ "建国"
995
+ ]
996
+ },
997
+ {
998
+ "id": "zhaoliu",
999
+ "name": "赵六",
1000
+ "kind": "human",
1001
+ "role": "前端",
1002
+ "manual": true,
1003
+ "giteaLogin": "zhaoliu",
1004
+ "enabled": true,
1005
+ "status": "working",
1006
+ "currentTask": {
1007
+ "id": "t-m4ekb2-8c07",
1008
+ "title": "修复会话存活 PID 复用误报",
1009
+ "status": "doing",
1010
+ "ageSec": 4800,
1011
+ "sinceUpdateSec": 1200,
1012
+ "progress": 0.45
1013
+ },
1014
+ "lastActivityAt": "2026-10-16T04:30:00Z",
1015
+ "todayCommits": 0,
1016
+ "openPrs": 0,
1017
+ "weekDone": 0,
1018
+ "session": null
1019
+ },
1020
+ {
1021
+ "id": "demo.user",
1022
+ "name": "孙倩",
1023
+ "kind": "human",
1024
+ "role": "QA",
1025
+ "manual": true,
1026
+ "giteaLogin": "sunqian",
1027
+ "enabled": false,
1028
+ "status": "idle",
1029
+ "currentTask": null,
1030
+ "lastActivityAt": "2026-10-14T09:00:00Z",
1031
+ "todayCommits": 0,
1032
+ "openPrs": 0,
1033
+ "weekDone": 0,
1034
+ "session": null
1035
+ },
1036
+ {
1037
+ "id": "lisi",
1038
+ "name": "李四",
1039
+ "kind": "human",
1040
+ "role": "硅谷驻场",
1041
+ "manual": false,
1042
+ "giteaLogin": "lisi",
1043
+ "status": "idle",
1044
+ "currentTask": null,
1045
+ "lastActivityAt": "2026-10-15T02:30:00Z",
1046
+ "todayCommits": 0,
1047
+ "openPrs": 0,
1048
+ "weekDone": 0,
1049
+ "session": null
1050
+ },
1051
+ {
1052
+ "id": "zhangsan",
1053
+ "name": "张三",
1054
+ "kind": "human",
1055
+ "role": "测试",
1056
+ "manual": false,
1057
+ "giteaLogin": "zhangsan",
1058
+ "status": "idle",
1059
+ "currentTask": null,
1060
+ "lastActivityAt": "2026-10-15T06:20:00Z",
1061
+ "todayCommits": 0,
1062
+ "openPrs": 0,
1063
+ "weekDone": 0,
1064
+ "session": null
1065
+ }
1066
+ ],
1067
+ "agentActivity": {
1068
+ "items": [
1069
+ {
1070
+ "agent": "zcode",
1071
+ "agentName": "ZCode",
1072
+ "projectId": "E:\\agent开发\\FdeHarness",
1073
+ "title": "智能体动态面板:活动流渲染、来源健康徽标与 30s 轮询合并",
1074
+ "preview": "读取 web/js/views/agents.js(754 行)定位面板插入点,新增活动流列表与来源徽标条;preview 走两行截断、title 悬浮全文;轮询并入既有 10s 会话 tick 做 30s 节流,避免双定时器漂移;顺手核对 esc() 转义对 projectId 反斜杠的覆盖,截图存 %TEMP%\\agent-act\\ 待验收。",
1075
+ "startedAgoSec": 5400,
1076
+ "lastActiveAgoSec": 75,
1077
+ "state": "active"
1078
+ },
1079
+ {
1080
+ "agent": "zcode",
1081
+ "agentName": "ZCode",
1082
+ "projectId": "E:\\agent开发\\FdeHarness",
1083
+ "title": "回归修复:任务拓扑面板树视图列名显示",
1084
+ "preview": "拓扑树视图在自定义列改名后仍显示内置中文名,定位到 columns 缓存未随 PATCH 刷新;补一行 syncTopology 触发并回归七视图。",
1085
+ "startedAgoSec": 10800,
1086
+ "lastActiveAgoSec": 9000,
1087
+ "state": "completed"
1088
+ },
1089
+ {
1090
+ "agent": "zcode",
1091
+ "agentName": "ZCode",
1092
+ "projectId": "E:\\ws\\fde-cankao",
1093
+ "title": "原型比对:确认稿动态面板视觉走查",
1094
+ "preview": "对照确认稿逐项核对动态面板字重 / 间距 / 徽标透明度,产出 3 条偏差备注。",
1095
+ "startedAgoSec": 100000,
1096
+ "lastActiveAgoSec": 96000,
1097
+ "state": "completed"
1098
+ },
1099
+ {
1100
+ "agent": "claude",
1101
+ "agentName": "Claude Code",
1102
+ "projectId": "E:\\ws\\member-console",
1103
+ "title": "成员进度页聚合视图:currentTask 附带截止与优先级",
1104
+ "preview": "在 /api/members 聚合里带出 dueDate/priority(契约 v1.4),徽标复用 dueBadge 同一语言;别名匹配改为大小写不敏感,回归 members 测试 17 项全绿。",
1105
+ "startedAgoSec": 3600,
1106
+ "lastActiveAgoSec": 240,
1107
+ "state": "active"
1108
+ },
1109
+ {
1110
+ "agent": "claude",
1111
+ "agentName": "Claude Code",
1112
+ "projectId": "E:\\ws\\docs-site",
1113
+ "title": "部署文档更新:插件态路由前缀说明",
1114
+ "preview": "补 /fde-api/* 前缀改写一节。",
1115
+ "startedAgoSec": 18900,
1116
+ "lastActiveAgoSec": 18400,
1117
+ "state": "completed"
1118
+ },
1119
+ {
1120
+ "agent": "dsh",
1121
+ "agentName": "DSH",
1122
+ "projectId": "D:\\ws\\data-pipeline",
1123
+ "title": "夜间批处理脚本:分片重试与断点续跑",
1124
+ "preview": "分片失败按指数退避重试三次,断点记录写入 manifest.json;dsh 会话目录本轮扫描失败(EBUSY),此处为上次扫描缓存。",
1125
+ "startedAgoSec": 9000,
1126
+ "lastActiveAgoSec": 2400,
1127
+ "state": "waiting"
1128
+ },
1129
+ {
1130
+ "agent": "dsh",
1131
+ "agentName": "DSH",
1132
+ "projectId": "D:\\ws\\etl-scripts",
1133
+ "title": "字段映射表清洗:日期格式归一",
1134
+ "preview": "八种日期写法归一为 ISO,映射表同步更新。",
1135
+ "startedAgoSec": 12600,
1136
+ "lastActiveAgoSec": 11000,
1137
+ "state": "completed"
1138
+ },
1139
+ {
1140
+ "agent": "workbuddy",
1141
+ "agentName": "WorkBuddy",
1142
+ "projectId": "E:\\ws\\crm-sync",
1143
+ "title": "客户档案去重:手机号归一化匹配",
1144
+ "preview": "手机号去分隔符后建唯一索引,重复档案合并保留最新更新时间;只读挂载 workbuddy.db,其余表一律不碰。",
1145
+ "startedAgoSec": 7200,
1146
+ "lastActiveAgoSec": 95,
1147
+ "state": "active"
1148
+ },
1149
+ {
1150
+ "agent": "workbuddy",
1151
+ "agentName": "WorkBuddy",
1152
+ "projectId": "E:\\ws\\crm-sync",
1153
+ "title": "周报汇总:本周会话活动统计",
1154
+ "preview": "汇总本周 42 条会话,按项目分组输出时长分布。",
1155
+ "startedAgoSec": 30000,
1156
+ "lastActiveAgoSec": 28800,
1157
+ "state": "completed"
1158
+ }
1159
+ ],
1160
+ "sources": [
1161
+ {
1162
+ "id": "zcode",
1163
+ "ok": true,
1164
+ "detail": "~/.zcode/cli · 最近扫描 3 条会话"
1165
+ },
1166
+ {
1167
+ "id": "claude",
1168
+ "ok": true,
1169
+ "detail": "~/.claude/projects · 最近扫描 2 个项目"
1170
+ },
1171
+ {
1172
+ "id": "dsh",
1173
+ "ok": false,
1174
+ "detail": "会话目录读取失败:EBUSY data\\dsh-sessions(展示上次扫描缓存)"
1175
+ },
1176
+ {
1177
+ "id": "workbuddy",
1178
+ "ok": true,
1179
+ "detail": "workbuddy.db 只读挂载 · 最近扫描 2 条会话"
1180
+ }
1181
+ ]
1182
+ },
1183
+ "settings": {
1184
+ "port": 7788,
1185
+ "host": "127.0.0.1",
1186
+ "dataDir": "data",
1187
+ "gitea": {
1188
+ "baseUrl": "https://gitea.example.com",
1189
+ "apiPrefix": "/api/v1",
1190
+ "org": "example-org",
1191
+ "pollIntervalSec": 60,
1192
+ "staleWarnSec": 14400,
1193
+ "staleDangerSec": 86400,
1194
+ "hostWhitelist": [
1195
+ "gitea.example.com"
1196
+ ]
1197
+ },
1198
+ "credential": "GIT_CONFIG_EXTRAHEADER",
1199
+ "gateway": {
1200
+ "enabled": true,
1201
+ "timeoutSec": 600,
1202
+ "bin": "cli-gateway",
1203
+ "minVersion": "0.9.0"
1204
+ },
1205
+ "agentActivity": {
1206
+ "enabled": true,
1207
+ "perSourceLimit": 10,
1208
+ "maxItems": 40,
1209
+ "previewChars": 200,
1210
+ "sources": {
1211
+ "zcode": {
1212
+ "enabled": true,
1213
+ "root": ""
1214
+ },
1215
+ "claude": {
1216
+ "enabled": true,
1217
+ "root": ""
1218
+ },
1219
+ "dsh": {
1220
+ "enabled": true,
1221
+ "root": ""
1222
+ },
1223
+ "workbuddy": {
1224
+ "enabled": true,
1225
+ "dbPath": ""
1226
+ }
1227
+ }
1228
+ },
1229
+ "dingtalk": {
1230
+ "enabled": true,
1231
+ "dwsBin": "C:\\mock\\dws.exe",
1232
+ "dwsTimeoutSec": 60,
1233
+ "maxMessages": 200,
1234
+ "hostWhitelist": [
1235
+ "dingtalk.com"
1236
+ ]
1237
+ },
1238
+ "analyze": {
1239
+ "dshBin": "C:\\mock\\dsh-bin.js",
1240
+ "timeoutSec": 120,
1241
+ "maxTasksPerMessage": 10
1242
+ },
1243
+ "security": {
1244
+ "trustedHosts": [
1245
+ "gitea.example.com"
1246
+ ]
1247
+ }
1248
+ },
1249
+ "setupCheck": {
1250
+ "allOk": true,
1251
+ "checkedAt": "2026-10-19T08:00:00Z",
1252
+ "items": [
1253
+ {
1254
+ "id": "node",
1255
+ "name": "Node 运行时",
1256
+ "ok": true,
1257
+ "detail": "v24.15.0(≥18 满足)",
1258
+ "hint": ""
1259
+ },
1260
+ {
1261
+ "id": "dws",
1262
+ "name": "钉钉采集 CLI(dws)",
1263
+ "ok": true,
1264
+ "detail": "C:\\mock\\dws.exe 可执行",
1265
+ "hint": ""
1266
+ },
1267
+ {
1268
+ "id": "dsh",
1269
+ "name": "分析引擎(dsh)",
1270
+ "ok": true,
1271
+ "detail": "C:\\mock\\dsh-bin.js · 超时 120s",
1272
+ "hint": ""
1273
+ },
1274
+ {
1275
+ "id": "llmRoute",
1276
+ "name": "LLM 路由",
1277
+ "ok": true,
1278
+ "detail": "bigmodel 路由可达 · 往返 912ms",
1279
+ "hint": ""
1280
+ },
1281
+ {
1282
+ "id": "gitea",
1283
+ "name": "Gitea 连通",
1284
+ "ok": true,
1285
+ "detail": "https://gitea.example.com · API v1.22.0 · 143ms",
1286
+ "hint": ""
1287
+ },
1288
+ {
1289
+ "id": "cliGateway",
1290
+ "name": "cli-gateway 网关",
1291
+ "ok": true,
1292
+ "detail": "v1.2.3 · 能力位 4/4",
1293
+ "hint": ""
1294
+ }
1295
+ ]
1296
+ },
1297
+ "setupCheckFail": {
1298
+ "overrides": {
1299
+ "dws": {
1300
+ "ok": false,
1301
+ "detail": "未找到 dws 可执行文件(配置路径与 PATH 均未命中)",
1302
+ "hint": "修复:安装钉钉听记 CLI 后,在「设置 → 钉钉采集 → dws 程序路径」填写完整路径并保存,再点重新体检。不修复则任务雷达无法同步钉钉听记。"
1303
+ },
1304
+ "llmRoute": {
1305
+ "ok": false,
1306
+ "detail": "LLM 路由不可达(连接超时 10s)",
1307
+ "hint": "修复:检查本机网络或代理配置,确认 LLM 网关地址可访问后重新体检。路由恢复前,听记分析会持续失败。"
1308
+ }
1309
+ }
1310
+ },
1311
+ "radarMessages": [
1312
+ {
1313
+ "id": "msg-a1b2c3d4e5f60718",
1314
+ "source": "dingtalk",
1315
+ "kind": "minutes",
1316
+ "title": "周三需求对齐会",
1317
+ "occurredAt": "2026-10-18T10:49:33.358Z",
1318
+ "truncated": false,
1319
+ "ref": {
1320
+ "dingtalkId": "6132373438313131616161",
1321
+ "url": "https://shanji.dingtalk.com/app/transcribes/6132373438313131616161"
1322
+ },
1323
+ "analyzedAt": null,
1324
+ "analyzeState": "",
1325
+ "analyzeError": null,
1326
+ "noise": [],
1327
+ "speakerSegments": [
1328
+ {
1329
+ "raw": "建国",
1330
+ "memberId": null,
1331
+ "text": "SSO 这块周五前要上线,小王你来跟进部署文档。",
1332
+ "at": "2026-10-18T10:49:33.358Z"
1333
+ },
1334
+ {
1335
+ "raw": "小王",
1336
+ "memberId": null,
1337
+ "text": "我看看。",
1338
+ "at": "2026-10-18T10:50:33.358Z"
1339
+ },
1340
+ {
1341
+ "raw": "建国",
1342
+ "memberId": null,
1343
+ "text": "@李雷 下周一把测试环境搭建方案发我。",
1344
+ "at": "2026-10-18T10:51:33.358Z"
1345
+ }
1346
+ ],
1347
+ "content": "【建国】SSO 这块周五前要上线,小王你来跟进部署文档。\n【小王】我看看。\n【建国】@李雷 下周一把测试环境搭建方案发我。",
1348
+ "mockAnalysis": {
1349
+ "tasks": [
1350
+ {
1351
+ "title": "SSO 周五前上线",
1352
+ "desc": "SSO 功能上线",
1353
+ "priority": "high",
1354
+ "suggestedMemberId": "",
1355
+ "dueHint": "周五",
1356
+ "confidence": 0.92,
1357
+ "quote": "SSO 这块周五前要上线,小王你来跟进部署文档。",
1358
+ "rationale": "明确动作+负责人+时间",
1359
+ "speakerRaw": "建国"
1360
+ },
1361
+ {
1362
+ "title": "测试环境搭建方案",
1363
+ "desc": "",
1364
+ "priority": "medium",
1365
+ "suggestedMemberId": "li.lei",
1366
+ "dueHint": "下周一",
1367
+ "confidence": 0.78,
1368
+ "quote": "@李雷 下周一把测试环境搭建方案发我。",
1369
+ "rationale": "动作明确,时间明确",
1370
+ "speakerRaw": "建国"
1371
+ },
1372
+ {
1373
+ "title": "跟进部署文档",
1374
+ "desc": "",
1375
+ "priority": "unset",
1376
+ "suggestedMemberId": "",
1377
+ "dueHint": "",
1378
+ "confidence": 0.42,
1379
+ "quote": "小王你来跟进部署文档",
1380
+ "rationale": "疑似重复:部署文档已在看板",
1381
+ "speakerRaw": "建国"
1382
+ }
1383
+ ],
1384
+ "noise": [
1385
+ {
1386
+ "quote": "我看看。",
1387
+ "reason": "无明确动作与交付物"
1388
+ }
1389
+ ]
1390
+ }
1391
+ },
1392
+ {
1393
+ "id": "msg-b2c3d4e5f6071819",
1394
+ "source": "dingtalk",
1395
+ "kind": "minutes",
1396
+ "title": "SSO 技术评审",
1397
+ "occurredAt": "2026-10-17T13:49:33.358Z",
1398
+ "truncated": false,
1399
+ "ref": {
1400
+ "dingtalkId": "6132373438313131626262",
1401
+ "url": "https://shanji.dingtalk.com/app/transcribes/6132373438313131626262"
1402
+ },
1403
+ "analyzedAt": null,
1404
+ "analyzeState": "",
1405
+ "analyzeError": null,
1406
+ "noise": [],
1407
+ "speakerSegments": [
1408
+ {
1409
+ "raw": "李雷",
1410
+ "memberId": null,
1411
+ "text": "登录超时阈值定成 30 分钟,今天下班前出评审结论。",
1412
+ "at": "2026-10-17T13:49:33.358Z"
1413
+ },
1414
+ {
1415
+ "raw": "王芳",
1416
+ "memberId": null,
1417
+ "text": "行,我来整理结论纪要。",
1418
+ "at": "2026-10-17T13:51:03.358Z"
1419
+ }
1420
+ ],
1421
+ "content": "【李雷】登录超时阈值定成 30 分钟,今天下班前出评审结论。\n【王芳】行,我来整理结论纪要。",
1422
+ "mockAnalysis": {
1423
+ "tasks": [
1424
+ {
1425
+ "title": "整理 SSO 评审结论纪要",
1426
+ "desc": "",
1427
+ "priority": "medium",
1428
+ "suggestedMemberId": "",
1429
+ "dueHint": "今天下班前",
1430
+ "confidence": 0.71,
1431
+ "quote": "行,我来整理结论纪要。",
1432
+ "rationale": "动作明确,人时模糊",
1433
+ "speakerRaw": "王芳"
1434
+ }
1435
+ ],
1436
+ "noise": []
1437
+ }
1438
+ },
1439
+ {
1440
+ "id": "msg-c3d4e5f607181920",
1441
+ "source": "dingtalk",
1442
+ "kind": "minutes",
1443
+ "title": "周五茶话会",
1444
+ "occurredAt": "2026-10-16T13:49:33.358Z",
1445
+ "truncated": false,
1446
+ "ref": {
1447
+ "dingtalkId": "6132373438313131636363",
1448
+ "url": "https://shanji.dingtalk.com/app/transcribes/6132373438313131636363"
1449
+ },
1450
+ "analyzedAt": "2026-10-16T15:49:33.358Z",
1451
+ "analyzeState": "ok",
1452
+ "analyzeError": null,
1453
+ "speakerSegments": [
1454
+ {
1455
+ "raw": "小王",
1456
+ "memberId": null,
1457
+ "text": "大家周末过得怎么样?",
1458
+ "at": "2026-10-16T13:49:33.358Z"
1459
+ },
1460
+ {
1461
+ "raw": "建国",
1462
+ "memberId": null,
1463
+ "text": "还不错,出去爬了山。",
1464
+ "at": "2026-10-16T13:50:03.358Z"
1465
+ }
1466
+ ],
1467
+ "content": "【小王】大家周末过得怎么样?\n【建国】还不错,出去爬了山。",
1468
+ "noise": [
1469
+ {
1470
+ "quote": "大家周末过得怎么样?",
1471
+ "reason": "寒暄,无任务"
1472
+ },
1473
+ {
1474
+ "quote": "还不错,出去爬了山。",
1475
+ "reason": "生活分享,无任务"
1476
+ }
1477
+ ]
1478
+ },
1479
+ {
1480
+ "id": "msg-d4e5f60718192021",
1481
+ "source": "dingtalk",
1482
+ "kind": "minutes",
1483
+ "title": "生产日报自动化专项",
1484
+ "occurredAt": "2026-10-15T13:49:33.358Z",
1485
+ "truncated": false,
1486
+ "ref": {
1487
+ "dingtalkId": "6132373438313131646464",
1488
+ "url": "https://shanji.dingtalk.com/app/transcribes/6132373438313131646464"
1489
+ },
1490
+ "analyzedAt": "2026-10-15T15:49:33.358Z",
1491
+ "analyzeState": "ok",
1492
+ "analyzeError": null,
1493
+ "speakerSegments": [
1494
+ {
1495
+ "raw": "吴陈铖",
1496
+ "memberId": null,
1497
+ "text": "生产日报这个 skill 每天早上八点前要跑完,我把排单表发群里。",
1498
+ "at": "2026-10-15T13:49:33.358Z"
1499
+ }
1500
+ ],
1501
+ "content": "【吴陈铖】生产日报这个 skill 每天早上八点前要跑完,我把排单表发群里。",
1502
+ "noise": []
1503
+ },
1504
+ {
1505
+ "id": "msg-e5f6071819202122",
1506
+ "source": "dingtalk",
1507
+ "kind": "minutes",
1508
+ "title": "客服核对技能评审",
1509
+ "occurredAt": "2026-10-14T13:49:33.358Z",
1510
+ "truncated": false,
1511
+ "ref": {
1512
+ "dingtalkId": "6132373438313131656565",
1513
+ "url": "https://shanji.dingtalk.com/app/transcribes/6132373438313131656565"
1514
+ },
1515
+ "analyzedAt": null,
1516
+ "analyzeState": "ANALYZE_FAILED",
1517
+ "analyzeError": "引擎输出两次解析失败: 输出中未找到 JSON 对象",
1518
+ "noise": [],
1519
+ "speakerSegments": [
1520
+ {
1521
+ "raw": "解光伟",
1522
+ "memberId": null,
1523
+ "text": "合同工单比对技能下周三前铺给客服三人组。",
1524
+ "at": "2026-10-14T13:49:33.358Z"
1525
+ }
1526
+ ],
1527
+ "content": "【解光伟】合同工单比对技能下周三前铺给客服三人组。"
1528
+ },
1529
+ {
1530
+ "id": "msg-f607181920212223",
1531
+ "source": "dingtalk",
1532
+ "kind": "minutes",
1533
+ "title": "库存核准表自动化(超长截断演示)",
1534
+ "occurredAt": "2026-10-13T15:49:33.358Z",
1535
+ "truncated": true,
1536
+ "ref": {
1537
+ "dingtalkId": "6132373438313131666666",
1538
+ "url": "https://shanji.dingtalk.com/app/transcribes/6132373438313131666666"
1539
+ },
1540
+ "analyzedAt": "2026-10-13T17:49:33.358Z",
1541
+ "analyzeState": "ok",
1542
+ "analyzeError": null,
1543
+ "speakerSegments": [
1544
+ {
1545
+ "raw": "孙豪",
1546
+ "memberId": null,
1547
+ "text": "库存核准表每月五号前出,三张表的数据都交给你。",
1548
+ "at": "2026-10-13T15:49:33.358Z"
1549
+ }
1550
+ ],
1551
+ "content": "【孙豪】库存核准表每月五号前出,三张表的数据都交给你。\n【已截断:超过单条 600 段上限】",
1552
+ "noise": []
1553
+ }
1554
+ ],
1555
+ "inbox": [
1556
+ {
1557
+ "id": "cand-high001",
1558
+ "messageId": "msg-d4e5f60718192021",
1559
+ "messageTitle": "生产日报自动化专项",
1560
+ "occurredAt": "2026-10-15T13:49:33.358Z",
1561
+ "title": "配置生产日报 skill 定时任务",
1562
+ "desc": "每天早上八点前自动跑完生产日报",
1563
+ "priority": "high",
1564
+ "suggestedMemberId": "qianqi",
1565
+ "matchSource": "alias",
1566
+ "dueHint": "每天早上八点前",
1567
+ "confidence": 0.92,
1568
+ "quote": "生产日报这个 skill 每天早上八点前要跑完,我把排单表发群里。",
1569
+ "rationale": "明确动作+负责人+时间",
1570
+ "speakerRaw": "吴陈铖",
1571
+ "state": "pending",
1572
+ "decidedAt": null,
1573
+ "createdAt": "2026-10-15T15:49:33.358Z"
1574
+ },
1575
+ {
1576
+ "id": "cand-upd001",
1577
+ "kind": "update",
1578
+ "messageId": "msg-b2c3d4e5f6071819",
1579
+ "messageTitle": "SSO 技术评审",
1580
+ "occurredAt": "2026-10-16T10:30:00.000Z",
1581
+ "existingTaskId": "t-m4ek9a-3f21",
1582
+ "title": "任务更新:SSO 登出后会话需立即失效",
1583
+ "note": "评审会补充验收标准:登出后旧 token 立即失效(原描述未覆盖登出场景)",
1584
+ "desc": "",
1585
+ "confidence": 0.88,
1586
+ "quote": "登出之后会话要立即失效,不能沿用旧 token 直接进系统。",
1587
+ "rationale": "关联已有任务「接入 SSO 登录」,动作与验收点明确",
1588
+ "state": "pending",
1589
+ "decidedAt": null,
1590
+ "createdAt": "2026-10-16T10:35:00.000Z"
1591
+ },
1592
+ {
1593
+ "id": "cand-upd002",
1594
+ "kind": "update",
1595
+ "messageId": "msg-e5f6071819202122",
1596
+ "messageTitle": "客服核对技能评审",
1597
+ "occurredAt": "2026-10-16T11:10:00.000Z",
1598
+ "existingTaskId": "t-deleted-demo",
1599
+ "title": "任务更新:库存核准表先行灰度一个月",
1600
+ "note": "关联任务已删除:确认时应收到 400 TASK_NOT_FOUND(错误分支演示)",
1601
+ "desc": "",
1602
+ "confidence": 0.66,
1603
+ "quote": "库存核准表那个先别全量,灰度一个月看看准确率再说。",
1604
+ "rationale": "关联任务已不存在,用于演示 400 分支",
1605
+ "state": "pending",
1606
+ "decidedAt": null,
1607
+ "createdAt": "2026-10-16T11:12:00.000Z"
1608
+ },
1609
+ {
1610
+ "id": "cand-mid0002",
1611
+ "messageId": "msg-e5f6071819202122",
1612
+ "messageTitle": "客服核对技能评审",
1613
+ "occurredAt": "2026-10-14T13:49:33.358Z",
1614
+ "title": "合同工单比对技能铺开",
1615
+ "desc": "",
1616
+ "priority": "medium",
1617
+ "suggestedMemberId": "",
1618
+ "dueHint": "下周三",
1619
+ "confidence": 0.64,
1620
+ "quote": "合同工单比对技能下周三前铺给客服三人组。",
1621
+ "rationale": "推断性表述,负责人未明确",
1622
+ "speakerRaw": "解光伟",
1623
+ "state": "pending",
1624
+ "decidedAt": null,
1625
+ "createdAt": "2026-10-14T15:49:33.358Z"
1626
+ },
1627
+ {
1628
+ "id": "cand-low0003",
1629
+ "messageId": "msg-f607181920212223",
1630
+ "messageTitle": "库存核准表自动化(超长截断演示)",
1631
+ "occurredAt": "2026-10-13T15:49:33.358Z",
1632
+ "title": "接管库存核准表月度产出",
1633
+ "desc": "",
1634
+ "priority": "low",
1635
+ "suggestedMemberId": "",
1636
+ "dueHint": "每月五号",
1637
+ "confidence": 0.58,
1638
+ "quote": "库存核准表每月五号前出,三张表的数据都交给你。",
1639
+ "rationale": "推断性表述,指向不明",
1640
+ "speakerRaw": "孙豪",
1641
+ "state": "pending",
1642
+ "decidedAt": null,
1643
+ "createdAt": "2026-10-13T17:49:33.358Z"
1644
+ },
1645
+ {
1646
+ "id": "cand-gitea06",
1647
+ "messageId": "msg-b2c3d4e5f6071819",
1648
+ "messageTitle": "SSO 技术评审",
1649
+ "occurredAt": "2026-10-17T13:49:33.358Z",
1650
+ "title": "整理 SSO 评审遗留问题清单",
1651
+ "desc": "把评审会遗留的三个问题整理成清单并逐项跟进",
1652
+ "priority": "medium",
1653
+ "suggestedMemberId": "qianqi",
1654
+ "matchSource": "gitea",
1655
+ "dueHint": "本周五前",
1656
+ "confidence": 0.78,
1657
+ "quote": "这些问题本周五前要有个说法,先整理个清单出来。",
1658
+ "rationale": "动作与期限明确;说话人「老张」按 Gitea 派生成员建议(名册外)",
1659
+ "speakerRaw": "老张",
1660
+ "state": "pending",
1661
+ "decidedAt": null,
1662
+ "createdAt": "2026-10-17T14:49:33.358Z"
1663
+ },
1664
+ {
1665
+ "id": "cand-spk08",
1666
+ "messageId": "msg-e5f6071819202122",
1667
+ "messageTitle": "客服核对技能评审",
1668
+ "occurredAt": "2026-10-15T09:30:00.000Z",
1669
+ "title": "输出客服核对技能灰度结论",
1670
+ "desc": "整理灰度期间的误判样本,输出结论纪要与下一步动作",
1671
+ "priority": "medium",
1672
+ "suggestedMemberId": "lisi",
1673
+ "matchSource": "name",
1674
+ "dueHint": "下周",
1675
+ "confidence": 0.81,
1676
+ "quote": "灰度结论纪要我先安排起来,下周给到大家。",
1677
+ "rationale": "明确动作+时间窗;说话人原文「李四(硅谷)」按姓名包含归人",
1678
+ "speakerRaw": "李四(硅谷)",
1679
+ "state": "pending",
1680
+ "decidedAt": null,
1681
+ "createdAt": "2026-10-15T11:30:00.000Z"
1682
+ },
1683
+ {
1684
+ "id": "cand-spk09",
1685
+ "messageId": "msg-d4e5f60718192021",
1686
+ "messageTitle": "生产日报自动化专项",
1687
+ "occurredAt": "2026-10-15T10:10:00.000Z",
1688
+ "title": "跟进生产日报排期风险",
1689
+ "desc": "盯生产日报上游排期,风险点当天同步群内",
1690
+ "priority": "medium",
1691
+ "suggestedMemberId": "zhangsan",
1692
+ "matchSource": "gitea",
1693
+ "dueHint": "今天",
1694
+ "confidence": 0.76,
1695
+ "quote": "生产日报的排期跟进交给张三,李四(硅谷)你把风险点整理一下。",
1696
+ "rationale": "说话人是李四(硅谷)、做事的是张三:说话人与负责人需分别确认(v1.8 解耦样例)",
1697
+ "speakerRaw": "李四(硅谷)",
1698
+ "state": "pending",
1699
+ "decidedAt": null,
1700
+ "createdAt": "2026-10-15T12:10:00.000Z"
1701
+ },
1702
+ {
1703
+ "id": "cand-rej0004",
1704
+ "messageId": "msg-c3d4e5f607181920",
1705
+ "messageTitle": "周五茶话会",
1706
+ "occurredAt": "2026-10-16T13:49:33.358Z",
1707
+ "title": "(误识示例)组织周末爬山活动",
1708
+ "desc": "",
1709
+ "priority": "low",
1710
+ "suggestedMemberId": "",
1711
+ "dueHint": "",
1712
+ "confidence": 0.55,
1713
+ "quote": "还不错,出去爬了山。",
1714
+ "rationale": "生活分享被误判为活动提议",
1715
+ "speakerRaw": "建国",
1716
+ "state": "rejected",
1717
+ "reason": "invalid",
1718
+ "note": "生活分享被误判为任务",
1719
+ "decidedAt": "2026-10-16T23:49:33.358Z",
1720
+ "createdAt": "2026-10-16T15:49:33.358Z"
1721
+ },
1722
+ {
1723
+ "id": "cand-conf05",
1724
+ "messageId": "msg-b2c3d4e5f6071819",
1725
+ "messageTitle": "SSO 技术评审",
1726
+ "occurredAt": "2026-10-17T13:49:33.358Z",
1727
+ "title": "登录超时阈值调整评审",
1728
+ "desc": "",
1729
+ "priority": "medium",
1730
+ "suggestedMemberId": "",
1731
+ "dueHint": "",
1732
+ "confidence": 0.7,
1733
+ "quote": "登录超时阈值定成 30 分钟,今天下班前出评审结论。",
1734
+ "rationale": "动作明确",
1735
+ "speakerRaw": "李雷",
1736
+ "state": "confirmed",
1737
+ "decidedAt": "2026-10-17T15:49:33.358Z",
1738
+ "createdAt": "2026-10-17T13:49:33.358Z",
1739
+ "confirmedTaskId": "t-demo-origin"
1740
+ },
1741
+ {
1742
+ "id": "cand-done0007",
1743
+ "messageId": "msg-c3d4e5f607181920",
1744
+ "messageTitle": "周五茶话会",
1745
+ "occurredAt": "2026-10-16T13:49:33.358Z",
1746
+ "title": "(已完成示例)订周五下午茶点",
1747
+ "desc": "团建茶点由小王负责采买",
1748
+ "priority": "low",
1749
+ "suggestedMemberId": "",
1750
+ "dueHint": "周五",
1751
+ "confidence": 0.52,
1752
+ "quote": "周五团建茶点我来订。",
1753
+ "rationale": "动作明确,但会上反馈已经完成",
1754
+ "speakerRaw": "小王",
1755
+ "state": "done_already",
1756
+ "note": "会上已经订好了,无需再看板跟进",
1757
+ "decidedAt": "2026-10-17T10:00:00Z",
1758
+ "createdAt": "2026-10-16T16:00:00Z"
1759
+ }
1760
+ ],
1761
+ "agentSessions": {
1762
+ "zcode": [
1763
+ {
1764
+ "id": "zc-act1",
1765
+ "title": "智能体动态面板:活动流渲染、来源健康徽标与 30s 轮询合并",
1766
+ "projectId": "E:\\agent开发\\FdeHarness",
1767
+ "startedAgoSec": 5400,
1768
+ "lastActiveAgoSec": 75,
1769
+ "state": "active"
1770
+ },
1771
+ {
1772
+ "id": "zc-long",
1773
+ "title": "指挥台联调长转录样例:阅读器懒渲染回归(855 条)",
1774
+ "projectId": "E:\\agent开发\\FdeHarness",
1775
+ "startedAgoSec": 200000,
1776
+ "lastActiveAgoSec": 4200,
1777
+ "state": "completed"
1778
+ },
1779
+ {
1780
+ "id": "zc-topo",
1781
+ "title": "原型比对:确认稿动态面板视觉走查",
1782
+ "projectId": "E:\\ws\\fde-cankao",
1783
+ "startedAgoSec": 100000,
1784
+ "lastActiveAgoSec": 96000,
1785
+ "state": "completed"
1786
+ },
1787
+ {
1788
+ "id": "zc-fix",
1789
+ "title": "修复会话存活 PID 复用误报:复现步骤与回归补齐",
1790
+ "projectId": "E:\\agent开发\\FdeHarness",
1791
+ "startedAgoSec": 72000,
1792
+ "lastActiveAgoSec": 900,
1793
+ "state": "active",
1794
+ "taskId": "t-m4ekb2-8c07"
1795
+ },
1796
+ {
1797
+ "id": "zc-cache",
1798
+ "title": "Gitea 动态流轮询缓存:ETag 条件请求与退避策略落地",
1799
+ "projectId": "E:\\agent开发\\FdeHarness",
1800
+ "startedAgoSec": 18000,
1801
+ "lastActiveAgoSec": 300,
1802
+ "state": "active",
1803
+ "taskId": "t-m4ekc5-d4e9"
1804
+ },
1805
+ {
1806
+ "id": "t-m4ekb2-8c07",
1807
+ "title": "PID 复用误报排查(会话 id 即任务 id 形态,ref 解码对齐)",
1808
+ "projectId": "E:\\agent开发\\FdeHarness",
1809
+ "startedAgoSec": 200000,
1810
+ "lastActiveAgoSec": 66000,
1811
+ "state": "completed"
1812
+ }
1813
+ ],
1814
+ "claude": [
1815
+ {
1816
+ "id": "cl-sso",
1817
+ "title": "SSO 登录第一轮:改造清单与验收标准梳理",
1818
+ "projectId": "E:\\ws\\fde",
1819
+ "startedAgoSec": 90000,
1820
+ "lastActiveAgoSec": 84000,
1821
+ "state": "completed",
1822
+ "taskId": "t-m4ek9a-3f21"
1823
+ },
1824
+ {
1825
+ "id": "cl-mem",
1826
+ "title": "成员进度页聚合视图:currentTask 附带截止与优先级",
1827
+ "projectId": "E:\\ws\\member-console",
1828
+ "startedAgoSec": 3600,
1829
+ "lastActiveAgoSec": 240,
1830
+ "state": "active"
1831
+ },
1832
+ {
1833
+ "id": "cl-docs",
1834
+ "title": "部署文档更新:插件态路由前缀说明",
1835
+ "projectId": "E:\\ws\\docs-site",
1836
+ "startedAgoSec": 18900,
1837
+ "lastActiveAgoSec": 18400,
1838
+ "state": "completed"
1839
+ }
1840
+ ],
1841
+ "dsh": [
1842
+ {
1843
+ "id": "dsh-1",
1844
+ "title": "夜间批处理脚本:分片重试与断点续跑",
1845
+ "projectId": "D:\\ws\\data-pipeline",
1846
+ "startedAgoSec": 9000,
1847
+ "lastActiveAgoSec": 2400,
1848
+ "state": "waiting"
1849
+ },
1850
+ {
1851
+ "id": "dsh-2",
1852
+ "title": "字段映射表清洗:日期格式归一",
1853
+ "projectId": "D:\\ws\\etl-scripts",
1854
+ "startedAgoSec": 12600,
1855
+ "lastActiveAgoSec": 11000,
1856
+ "state": "completed"
1857
+ }
1858
+ ],
1859
+ "workbuddy": [
1860
+ {
1861
+ "id": "wb-1",
1862
+ "title": "客户档案去重:手机号归一化匹配",
1863
+ "projectId": "E:\\ws\\crm-sync",
1864
+ "startedAgoSec": 7200,
1865
+ "lastActiveAgoSec": 95,
1866
+ "state": "active"
1867
+ },
1868
+ {
1869
+ "id": "wb-2",
1870
+ "title": "周报汇总:本周会话活动统计",
1871
+ "projectId": "E:\\ws\\crm-sync",
1872
+ "startedAgoSec": 30000,
1873
+ "lastActiveAgoSec": 28800,
1874
+ "state": "completed"
1875
+ },
1876
+ {
1877
+ "id": "wb-f01",
1878
+ "title": "周报汇总:订单模块本周活动统计",
1879
+ "projectId": "E:\\ws\\crm-sync",
1880
+ "startedAt": "2026-10-16T10:01:34.000Z",
1881
+ "lastActiveAt": "2026-10-16T11:08:14.000Z",
1882
+ "state": "completed"
1883
+ },
1884
+ {
1885
+ "id": "wb-f02",
1886
+ "title": "数据同步:夜间增量任务巡检",
1887
+ "projectId": "E:\\ws\\crm-sync",
1888
+ "startedAt": "2026-10-16T00:01:34.000Z",
1889
+ "lastActiveAt": "2026-10-16T01:08:14.000Z",
1890
+ "state": "completed"
1891
+ },
1892
+ {
1893
+ "id": "wb-f03",
1894
+ "title": "客户标签批量打标:规则引擎核对",
1895
+ "projectId": "E:\\ws\\crm-sync",
1896
+ "startedAt": "2026-10-15T14:01:34.000Z",
1897
+ "lastActiveAt": "2026-10-15T15:08:14.000Z",
1898
+ "state": "completed"
1899
+ },
1900
+ {
1901
+ "id": "wb-f04",
1902
+ "title": "线索池清洗:空号与停机号过滤",
1903
+ "projectId": "E:\\ws\\crm-sync",
1904
+ "startedAt": "2026-10-15T04:01:34.000Z",
1905
+ "lastActiveAt": "2026-10-15T05:08:14.000Z",
1906
+ "state": "completed"
1907
+ },
1908
+ {
1909
+ "id": "wb-f05",
1910
+ "title": "合同到期提醒:90 天窗口扫描",
1911
+ "projectId": "E:\\ws\\crm-sync",
1912
+ "startedAt": "2026-10-14T18:01:34.000Z",
1913
+ "lastActiveAt": "2026-10-14T19:08:14.000Z",
1914
+ "state": "completed"
1915
+ },
1916
+ {
1917
+ "id": "wb-f06",
1918
+ "title": "回款台账核对:金额分摊口径",
1919
+ "projectId": "E:\\ws\\crm-sync",
1920
+ "startedAt": "2026-10-14T08:01:34.000Z",
1921
+ "lastActiveAt": "2026-10-14T09:08:14.000Z",
1922
+ "state": "completed"
1923
+ },
1924
+ {
1925
+ "id": "wb-f07",
1926
+ "title": "工单SLA统计:超时工单归因",
1927
+ "projectId": "E:\\ws\\crm-sync",
1928
+ "startedAt": "2026-10-13T22:01:34.000Z",
1929
+ "lastActiveAt": "2026-10-13T23:08:14.000Z",
1930
+ "state": "completed"
1931
+ },
1932
+ {
1933
+ "id": "wb-f08",
1934
+ "title": "客户分层报表:RFM 模型参数",
1935
+ "projectId": "E:\\ws\\crm-sync",
1936
+ "startedAt": "2026-10-13T12:01:34.000Z",
1937
+ "lastActiveAt": "2026-10-13T13:08:14.000Z",
1938
+ "state": "completed"
1939
+ },
1940
+ {
1941
+ "id": "wb-f09",
1942
+ "title": "产品试用到期名单导出",
1943
+ "projectId": "E:\\ws\\crm-sync",
1944
+ "startedAt": "2026-10-13T02:01:34.000Z",
1945
+ "lastActiveAt": "2026-10-13T03:08:14.000Z",
1946
+ "state": "completed"
1947
+ },
1948
+ {
1949
+ "id": "wb-f10",
1950
+ "title": "拜访记录补录:新增字段回填",
1951
+ "projectId": "E:\\ws\\crm-sync",
1952
+ "startedAt": "2026-10-12T16:01:34.000Z",
1953
+ "lastActiveAt": "2026-10-12T17:08:14.000Z",
1954
+ "state": "completed"
1955
+ },
1956
+ {
1957
+ "id": "wb-f11",
1958
+ "title": "竞品情报汇总:本周更新 3 条",
1959
+ "projectId": "E:\\ws\\crm-sync",
1960
+ "startedAt": "2026-10-12T06:01:34.000Z",
1961
+ "lastActiveAt": "2026-10-12T07:08:14.000Z",
1962
+ "state": "completed"
1963
+ },
1964
+ {
1965
+ "id": "wb-f12",
1966
+ "title": "知识库检索日志分析:TOP 问题聚类",
1967
+ "projectId": "E:\\ws\\crm-sync",
1968
+ "startedAt": "2026-10-11T20:01:34.000Z",
1969
+ "lastActiveAt": "2026-10-11T21:08:14.000Z",
1970
+ "state": "completed"
1971
+ },
1972
+ {
1973
+ "id": "wb-f13",
1974
+ "title": "权限审计:管理员操作清单核对",
1975
+ "projectId": "E:\\ws\\crm-sync",
1976
+ "startedAt": "2026-10-11T10:01:34.000Z",
1977
+ "lastActiveAt": "2026-10-11T11:08:14.000Z",
1978
+ "state": "completed"
1979
+ },
1980
+ {
1981
+ "id": "wb-f14",
1982
+ "title": "消息模板梳理:退订文案合规检查",
1983
+ "projectId": "E:\\ws\\crm-sync",
1984
+ "startedAt": "2026-10-11T00:01:34.000Z",
1985
+ "lastActiveAt": "2026-10-11T01:08:14.000Z",
1986
+ "state": "completed"
1987
+ },
1988
+ {
1989
+ "id": "wb-f15",
1990
+ "title": "API 配额核对:超额客户预警",
1991
+ "projectId": "E:\\ws\\crm-sync",
1992
+ "startedAt": "2026-10-10T14:01:34.000Z",
1993
+ "lastActiveAt": "2026-10-10T15:08:14.000Z",
1994
+ "state": "completed"
1995
+ },
1996
+ {
1997
+ "id": "wb-f16",
1998
+ "title": "客户成功案例收集:Q4 素材",
1999
+ "projectId": "E:\\ws\\crm-sync",
2000
+ "startedAt": "2026-10-10T04:01:34.000Z",
2001
+ "lastActiveAt": "2026-10-10T05:08:14.000Z",
2002
+ "state": "completed"
2003
+ },
2004
+ {
2005
+ "id": "wb-f17",
2006
+ "title": "销售漏斗校准:阶段停留时长",
2007
+ "projectId": "E:\\ws\\crm-sync",
2008
+ "startedAt": "2026-10-09T18:01:34.000Z",
2009
+ "lastActiveAt": "2026-10-09T19:08:14.000Z",
2010
+ "state": "completed"
2011
+ },
2012
+ {
2013
+ "id": "wb-f18",
2014
+ "title": "客服排班表:节假日覆盖检查",
2015
+ "projectId": "E:\\ws\\crm-sync",
2016
+ "startedAt": "2026-10-09T08:01:34.000Z",
2017
+ "lastActiveAt": "2026-10-09T09:08:14.000Z",
2018
+ "state": "completed"
2019
+ },
2020
+ {
2021
+ "id": "wb-f19",
2022
+ "title": "数据看板巡检:指标口径漂移排查",
2023
+ "projectId": "E:\\ws\\crm-sync",
2024
+ "startedAt": "2026-10-08T22:01:34.000Z",
2025
+ "lastActiveAt": "2026-10-08T23:08:14.000Z",
2026
+ "state": "completed"
2027
+ },
2028
+ {
2029
+ "id": "wb-f20",
2030
+ "title": "月度对账:账单与回款差异清单",
2031
+ "projectId": "E:\\ws\\crm-sync",
2032
+ "startedAt": "2026-10-08T12:01:34.000Z",
2033
+ "lastActiveAt": "2026-10-08T13:08:14.000Z",
2034
+ "state": "completed"
2035
+ }
2036
+ ],
2037
+ "codex": [
2038
+ {
2039
+ "id": "cx-week",
2040
+ "title": "FDE 周报模板:字段结构与自动汇总脚本",
2041
+ "projectId": "E:\\ws\\reports",
2042
+ "startedAgoSec": 25200,
2043
+ "lastActiveAgoSec": 420,
2044
+ "state": "active",
2045
+ "taskId": "t-m4ekf4-5c3d"
2046
+ },
2047
+ {
2048
+ "id": "cx-route",
2049
+ "title": "插件路由前缀迁移核对:/fde-api/* 全量走查",
2050
+ "projectId": "E:\\ws\\docs-site",
2051
+ "startedAgoSec": 172800,
2052
+ "lastActiveAgoSec": 90000,
2053
+ "state": "completed"
2054
+ }
2055
+ ]
2056
+ },
2057
+ "agentTranscripts": {
2058
+ "cl-sso": {
2059
+ "messages": [
2060
+ {
2061
+ "role": "user",
2062
+ "text": "接手 SSO 登录改造。先读 docs/auth.md 和现有登录路由,梳理改造清单,先别动代码。\n验收口径:测试账号免密登录成功,登出后会话立即失效。"
2063
+ },
2064
+ {
2065
+ "role": "assistant",
2066
+ "text": "好的。我先读认证文档与现有路由,再给出改造清单供确认。\n计划:\n1. docs/auth.md 全文阅读\n2. 扫描 src/routes 登录相关端点\n3. 输出清单 + 风险点"
2067
+ },
2068
+ {
2069
+ "role": "tool",
2070
+ "tool": {
2071
+ "name": "read_file",
2072
+ "status": "ok"
2073
+ },
2074
+ "text": "docs/auth.md · 142 行\n识别登录链路 3 处:/login(表单)、/callback(IdP 回跳)、/logout(会话失效)\nSAML 元数据要求 persistent NameID(文档 §4.2)"
2075
+ },
2076
+ {
2077
+ "role": "assistant",
2078
+ "text": "读完了。改造清单 3 项:\n1. sso.ts:IdP 元数据加载改 persistent NameID\n2. callback.ts:回跳校验补 RelayState\n3. logout:会话服务端吊销,不只清前端 cookie\n其中第 3 项是验收硬要求,动服务端会话存储。"
2079
+ },
2080
+ {
2081
+ "role": "tool",
2082
+ "tool": {
2083
+ "name": "grep",
2084
+ "status": "ok"
2085
+ },
2086
+ "text": "src/routes 命中 \"session\" 12 处(8 个文件)\nsrc/auth/sso.ts:41 src/routes/callback.ts:17 src/routes/logout.ts:9 …"
2087
+ },
2088
+ {
2089
+ "role": "user",
2090
+ "text": "补充:登出除了吊销会话,还要把 remember-me 的持久令牌一并作废。"
2091
+ },
2092
+ {
2093
+ "role": "tool",
2094
+ "tool": {
2095
+ "name": "edit_file",
2096
+ "status": "error"
2097
+ },
2098
+ "text": "src/auth/sso.ts 写入失败:EBUSY resource busy(文件被 IDE 占用),已排队重试"
2099
+ },
2100
+ {
2101
+ "role": "tool",
2102
+ "tool": {
2103
+ "name": "edit_file",
2104
+ "status": "ok"
2105
+ },
2106
+ "text": "src/auth/sso.ts +38 -6\nsrc/routes/callback.ts +21 -3\nsrc/routes/logout.ts +15 -2(吊销会话 + 作废持久令牌)"
2107
+ },
2108
+ {
2109
+ "role": "assistant",
2110
+ "text": "改造完成,摘要:\n- persistent NameID + RelayState 校验\n- 登出吊销服务端会话并作废 remember-me 令牌\n- 单测 20 项全过(auth 12 + session 8)\n下一步:跑一轮手工验收,然后提交 feat/sso 分支。"
2111
+ }
2112
+ ]
2113
+ },
2114
+ "zc-act1": {
2115
+ "messages": [
2116
+ {
2117
+ "role": "user",
2118
+ "text": "智能体动态面板开工:活动流列表 + 来源健康徽标 + 30s 轮询,并入既有 10s tick 节流,别起双定时器。"
2119
+ },
2120
+ {
2121
+ "role": "assistant",
2122
+ "text": "先定位现状:agents.js 当前的轮询入口与面板插入点,确认 esc() 覆盖 projectId 反斜杠转义。"
2123
+ },
2124
+ {
2125
+ "role": "tool",
2126
+ "tool": {
2127
+ "name": "read_file",
2128
+ "status": "ok"
2129
+ },
2130
+ "text": "web/js/views/agents.js · 754 行\n轮询入口:startPolling(refreshSessions, 10000)(:131)\n面板插入点:#act-panel 容器已预留(:63)"
2131
+ },
2132
+ {
2133
+ "role": "assistant",
2134
+ "text": "方案:refreshActivity 挂进既有 tick,actLastFetch 做 30s 节流;来源徽标 4 枚(zcode 蓝/claude 橙/dsh 绿/workbuddy 粉),失败源 title 带 detail。preview 两行截断走 -webkit-line-clamp。"
2135
+ },
2136
+ {
2137
+ "role": "tool",
2138
+ "tool": {
2139
+ "name": "edit_file",
2140
+ "status": "ok"
2141
+ },
2142
+ "text": "web/js/views/agents.js +96 -12\nweb/css/app.css +38 -1(act-item/act-sources/act-preview)"
2143
+ },
2144
+ {
2145
+ "role": "assistant",
2146
+ "text": "完成。自测:?mock=1 下七视图 console 零错误;30s 节流验证(tick 3 跳实拉 1 次);反斜杠路径转义无破版。可以提验收。"
2147
+ }
2148
+ ]
2149
+ },
2150
+ "zc-topo": {
2151
+ "messages": [
2152
+ {
2153
+ "role": "user",
2154
+ "text": "对照确认稿走查动态面板视觉:字重/间距/徽标透明度,只记录偏差不改码。"
2155
+ },
2156
+ {
2157
+ "role": "tool",
2158
+ "tool": {
2159
+ "name": "read_file",
2160
+ "status": "ok"
2161
+ },
2162
+ "text": "cankao/确认稿-动态面板.png + web/css/app.css 对照完成"
2163
+ },
2164
+ {
2165
+ "role": "assistant",
2166
+ "text": "走查结论 3 条偏差:\n1. 徽标底透明度确认稿 .13,现码 .16(统一回 .13)\n2. 组头字重确认稿 500,现码 600\n3. 预览行高确认稿 1.5,现码 1.45\n均为主样式层小改,已备注在走查单。"
2167
+ }
2168
+ ]
2169
+ },
2170
+ "cl-mem": {
2171
+ "messages": [
2172
+ {
2173
+ "role": "user",
2174
+ "text": "成员进度页的进行中任务要能直接看到截止与优先级,别再点进看板。聚合接口带上。"
2175
+ },
2176
+ {
2177
+ "role": "assistant",
2178
+ "text": "在 /api/members 聚合里给 currentTask 补 dueDate/priority(契约 v1.4 口径),徽标复用 dueBadge 同一语言,前端零新样式。"
2179
+ },
2180
+ {
2181
+ "role": "tool",
2182
+ "tool": {
2183
+ "name": "read_file",
2184
+ "status": "ok"
2185
+ },
2186
+ "text": "lib/members.js · 186 行 · currentTask 组装在 aggregateRows()(:88)"
2187
+ },
2188
+ {
2189
+ "role": "tool",
2190
+ "tool": {
2191
+ "name": "edit_file",
2192
+ "status": "ok"
2193
+ },
2194
+ "text": "lib/members.js +14 -3\n别名匹配改大小写不敏感(同批次回归)"
2195
+ },
2196
+ {
2197
+ "role": "assistant",
2198
+ "text": "完成。members 测试 17 项全绿;徽标在成员行与进度条同行右侧,逾期红/到期橙与看板一致。"
2199
+ }
2200
+ ]
2201
+ },
2202
+ "cl-docs": {
2203
+ "messages": [
2204
+ {
2205
+ "role": "user",
2206
+ "text": "部署文档补一节:DSH 插件态下 API 走 /fde-api/* 前缀改写,给运维看。"
2207
+ },
2208
+ {
2209
+ "role": "assistant",
2210
+ "text": "补充到 docs/deploy.md「插件态路由」一节:API_BASE 改写规则 + 独立版回退说明,配一条 curl 验证示例。"
2211
+ },
2212
+ {
2213
+ "role": "tool",
2214
+ "tool": {
2215
+ "name": "edit_file",
2216
+ "status": "ok"
2217
+ },
2218
+ "text": "docs/deploy.md +26(插件态路由前缀 / 回退 / curl 冒烟三小节)"
2219
+ },
2220
+ {
2221
+ "role": "assistant",
2222
+ "text": "文档已更新。示例 curl 用 /fde-api/health 验证宿主回环监听,无需暴露端口。"
2223
+ }
2224
+ ]
2225
+ },
2226
+ "dsh-1": {
2227
+ "messages": [
2228
+ {
2229
+ "role": "user",
2230
+ "text": "夜间批处理三个分片总在第二个挂,加重试与断点续跑。"
2231
+ },
2232
+ {
2233
+ "role": "tool",
2234
+ "tool": {
2235
+ "name": "plan",
2236
+ "status": "ok"
2237
+ },
2238
+ "text": "分片失败按指数退避重试三次;断点位写入 manifest.json;manifest 存在则跳过已完成分片"
2239
+ },
2240
+ {
2241
+ "role": "assistant",
2242
+ "text": "按计划改造 runner:retry(backoff=2^n, max=3) + checkpoint。注意 manifest 写入要原子(tmp+rename),防止中断留脏文件。"
2243
+ },
2244
+ {
2245
+ "role": "tool",
2246
+ "tool": {
2247
+ "name": "exec",
2248
+ "status": "ok"
2249
+ },
2250
+ "text": "node runner.js --dry-run\n分片 1/3 ok(41s)· 分片 2/3 重试 1 次后 ok · 分片 3/3 ok\nmanifest.json 断点校验通过"
2251
+ },
2252
+ {
2253
+ "role": "assistant",
2254
+ "text": "等待夜间窗口实测,白天先保持 waiting 观察态。"
2255
+ }
2256
+ ]
2257
+ },
2258
+ "dsh-2": {
2259
+ "messages": [
2260
+ {
2261
+ "role": "user",
2262
+ "text": "字段映射表里日期写法有八种,全部归一成 ISO。"
2263
+ },
2264
+ {
2265
+ "role": "assistant",
2266
+ "text": "归一规则:YYYY/M/D、DDMMYYYY、中文年月日等 → ISO 8601;歧义写法(01/02/03)按表内出现频率多数决,并列时回退月日年。"
2267
+ },
2268
+ {
2269
+ "role": "tool",
2270
+ "tool": {
2271
+ "name": "exec",
2272
+ "status": "ok"
2273
+ },
2274
+ "text": "清洗 1,842 行 · 归一 1,793 · 歧义裁决 49 · 映射表同步更新 v7"
2275
+ }
2276
+ ]
2277
+ },
2278
+ "cx-week": {
2279
+ "messages": [
2280
+ {
2281
+ "role": "user",
2282
+ "text": "按上周看板导出整理 FDE 周报模板:字段要含任务/成果/验收人,先出结构再写汇总脚本。"
2283
+ },
2284
+ {
2285
+ "role": "assistant",
2286
+ "text": "结构定三段:① 本周完成(含完成时间)② 进行中(含负责人与截止)③ 风险与阻塞。先读导出的 CSV 列名再对齐字段。"
2287
+ },
2288
+ {
2289
+ "role": "tool",
2290
+ "tool": {
2291
+ "name": "read_file",
2292
+ "status": "ok"
2293
+ },
2294
+ "text": "data/board-export.csv · 表头 12 列:id,title,status,owner,acceptor,due,…"
2295
+ },
2296
+ {
2297
+ "role": "tool",
2298
+ "tool": {
2299
+ "name": "run_tests",
2300
+ "status": "error"
2301
+ },
2302
+ "text": "汇总脚本首轮跑批 1 项失败:acceptor 列存在空值未判空\n→ 已在脚本补空值兜底后重跑"
2303
+ },
2304
+ {
2305
+ "role": "assistant",
2306
+ "text": "已修复空值兜底,周报模板初稿见 reports/fde-weekly.md,汇总脚本输出与看板导出对账一致。"
2307
+ }
2308
+ ]
2309
+ },
2310
+ "zc-fix": {
2311
+ "messages": [
2312
+ {
2313
+ "role": "user",
2314
+ "text": "会话表存活判断按 PID 复用误报:复现一下,并给出修复后的回归用例。"
2315
+ },
2316
+ {
2317
+ "role": "assistant",
2318
+ "text": "复现路径:起一个短命进程占住退役会话的 PID,存活探测读到新进程 → 误报运行中。修复方向是探测加启动时间戳比对。"
2319
+ },
2320
+ {
2321
+ "role": "tool",
2322
+ "tool": {
2323
+ "name": "edit_file",
2324
+ "status": "ok"
2325
+ },
2326
+ "text": "lib/sessions.js +6 -2:alive 判断追加 process start time 比对"
2327
+ },
2328
+ {
2329
+ "role": "assistant",
2330
+ "text": "回归用例已补 3 条(PID 复用/正常退出/探测超时),全量跑绿。该模块随后续会话表退役一并下线,修复保持最小面。"
2331
+ }
2332
+ ]
2333
+ },
2334
+ "zc-cache": {
2335
+ "messages": [
2336
+ {
2337
+ "role": "user",
2338
+ "text": "Gitea 动态流轮询缓存:用 ETag 条件请求把空轮询的流量降下来,退避策略一并做。"
2339
+ },
2340
+ {
2341
+ "role": "assistant",
2342
+ "text": "方案:首拉记录 ETag,后续轮询带 If-None-Match——304 时仅续用本地缓存并进入指数退避(30s→60s→120s 封顶),任一事件变更即复位退避计数。"
2343
+ },
2344
+ {
2345
+ "role": "tool",
2346
+ "tool": {
2347
+ "name": "edit_file",
2348
+ "status": "ok"
2349
+ },
2350
+ "text": "lib/gitea.js +18 -4:ETag 存储 + If-None-Match 条件请求 + 退避计数器"
2351
+ },
2352
+ {
2353
+ "role": "tool",
2354
+ "tool": {
2355
+ "name": "run_tests",
2356
+ "status": "ok"
2357
+ },
2358
+ "text": "node --test gitea.test.js 12 项全绿(304 短路/变更复位/退避封顶三路径覆盖)"
2359
+ }
2360
+ ]
2361
+ }
2362
+ }
2363
+ }