131 Commits

Author SHA1 Message Date
root 2354fc8dd2 feat: 将 Workbench 后端改造为 Temporal native 架构 2026-07-17 08:02:32 +02:00
root ce83ffdf49 feat: make Kafka projector the Workbench realtime authority 2026-07-10 05:23:21 +02:00
root 9c1caa7da2 fix: accept gpt pika web provider selection 2026-07-09 11:29:26 +02:00
root 8d6409dc9d chore(workbench): remove legacy trace gap-fill remnants 2026-07-09 03:52:58 +02:00
UniDesk Codex 38021f2201 fix: unify workbench terminal body authority 2026-07-01 21:38:36 +08:00
UniDesk Codex 19ea9d0962 fix: enforce workbench terminal seal invariant 2026-07-01 19:41:49 +08:00
UniDesk Codex 5ae7a05c45 fix: recover stale Workbench AgentRun continuations 2026-06-30 14:05:17 +08:00
root 4f0aef7751 fix: keep workbench agent provider profile across recovery 2026-06-29 18:02:56 +00:00
root 4ed8db2c00 fix: retry evicted agentrun projection resume 2026-06-29 17:17:42 +00:00
root 596342da38 fix: retry agentrun evicted session turns 2026-06-29 16:50:25 +00:00
lyon1998 fc7fc23f4e feat: shadow produce code agent kafka events 2026-06-28 19:51:36 +08:00
root dc5b06cc62 fix: carry MDTODO HWPOD context into Workbench 2026-06-28 09:45:37 +00:00
root d72d61f71e fix: accept AgentRun v02 adapter mode 2026-06-28 11:40:15 +08:00
Lyon b0f36a3789 feat: persist workbench session inputs (#2175) 2026-06-26 05:10:24 +08:00
Lyon 5ff705c23c fix(workbench): block steer after unsealed terminal errors (#2050) 2026-06-24 16:44:40 +08:00
Lyon e0ad20edc9 fix(workbench): fail visibly on projection fact write errors (#2046) 2026-06-24 15:29:12 +08:00
Lyon 0b4cec3bb6 fix(workbench): stop projection resume after terminal trace (#2018) 2026-06-24 05:38:48 +08:00
Lyon bf030c3125 fix(workbench): keep running agent timing visible (#1980)
Co-authored-by: root <root@lyon.remote>
2026-06-23 19:23:06 +08:00
Lyon 4c276a7318 fix(workbench): keep active code agent messages running (#1966) 2026-06-23 13:06:51 +08:00
Lyon 0be7db0100 fix(code-agent): always forward AgentRun cancel (#1867) 2026-06-22 10:57:39 +08:00
Lyon 14db08d7fa fix(code-agent): use command terminal authority for cancel (#1866) 2026-06-22 10:45:21 +08:00
lyon feddcfdd6c fix(workbench): force AgentRun result authority on projection resume 2026-06-22 08:22:25 +08:00
lyon ba49294ea7 fix: require explicit agentrun terminal events 2026-06-22 06:05:23 +08:00
lyon 437ea223bb fix: stop stale agentrun unreachable terminal projection 2026-06-22 05:56:24 +08:00
lyon 13d74c3c06 fix: trace turn status read disconnects 2026-06-22 01:23:48 +08:00
lyon f930b21bb6 fix: avoid blocking projection resume on running AgentRun result 2026-06-22 01:06:31 +08:00
lyon 84180e3ae2 fix: do not seal running agentrun turns on caught-up projection 2026-06-21 14:47:06 +08:00
Lyon c3abe1a51a fix: seal AgentRun terminal projection (#1820) 2026-06-21 13:17:37 +08:00
Lyon a0c54934b2 fix(workbench): lengthen projection resume retry delay (#1804) 2026-06-21 09:57:26 +08:00
Lyon 0c25d44eac fix(workbench): back off non-terminal projection resumes (#1803) 2026-06-21 09:51:15 +08:00
Lyon bc8805baaf fix(workbench): back off projection resume pass failures (#1802) 2026-06-21 09:45:11 +08:00
Lyon 5b66e9db10 fix(workbench): back off projection resume candidates (#1801) 2026-06-21 09:39:10 +08:00
lyon b6dc2b4126 fix(workbench): seal final response lifecycle 2026-06-21 07:26:22 +08:00
lyon bad5a478bd fix: recover Workbench terminal outbox projection 2026-06-20 20:12:01 +08:00
lyon 800f674d5c fix: recover AgentRun terminal projection 2026-06-20 20:05:13 +08:00
Lyon 4f7e55e2d8 fix: PJ2026-0104010803 P5 残余 events.at(-1) 读侧推理清理 + code-agent metric status (#1759)
useTraceSubscription.ts:
- mergeTraceResults: lastEventLabel 不 fallback 到 events.at(-1)
- mergeTraceSnapshots: lastEventLabel 不 fallback 到 events.at(-1)
- traceSnapshotSignalKey: 不从 events.at(-1) 推导 signal key

server-code-agent-http.ts:
- recordCodeAgentProjectionMetric: status 只读 projection.status
- source 固定为 workbench_read_model

负向源码扫描确认:
- result?.status ?? trace?.status: 消除
- events.at(-1) lifecycle 推断: 消除
- .catch(() => {}) 静默吞错: 消除
- traceStore.subscribe: 仅作为 outbox 不可用时的兼容降级

Closes #1751
Refs #1742
2026-06-20 19:42:19 +08:00
lyon 3718b5d77d fix: persist manual workbench sessions 2026-06-20 16:58:31 +08:00
Lyon ecbb13cdf4 fix: expose trace pagination in cli and otel (#1687) 2026-06-20 11:32:13 +08:00
lyon 1c4cf29274 feat: enrich AgentRun dispatch error OTel spans 2026-06-20 11:17:57 +08:00
lyon c3de9d6e4d fix: allow provider profile recovery after thread resume failure 2026-06-20 10:26:50 +08:00
lyon e79ea2cb42 feat: persist workbench projection facts 2026-06-20 08:57:21 +08:00
lyon 69b8e03661 feat: add code agent otel spans 2026-06-19 23:05:50 +08:00
lyon 5f1763aeac fix: persist workbench turn admission before preflight 2026-06-19 21:55:15 +08:00
lyon 3f83852f60 fix: persist workbench projection cursor 2026-06-19 21:20:11 +08:00
lyon 6dbf668a5d fix: retry failed projection resume batch 2026-06-19 17:05:48 +08:00
lyon 063633f8e2 fix: stagger workbench background db scans 2026-06-19 16:54:43 +08:00
lyon 02989a8237 fix: preserve workbench message whitespace 2026-06-19 15:40:12 +08:00
lyon d2964d93a9 fix: resume workbench agentrun projection 2026-06-19 12:46:43 +08:00
Lyon b780503e78 fix: keep code agent turn reads projection-only (#1594) 2026-06-19 12:06:58 +08:00
Lyon 0169125f8f feat: add workbench projection performance metrics (#1592) 2026-06-19 11:13:26 +08:00