Commit Graph

115 Commits

Author SHA1 Message Date
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
lyon 88112c415f fix: surface workbench projection diagnostics 2026-06-19 11:04:37 +08:00
lyon 5e40d5f338 fix: export AgentRun read refresh guard 2026-06-19 04:57:15 +08:00
lyon 05e30ce2ba fix: backfill AgentRun terminal projection on read 2026-06-19 04:48:14 +08:00
lyon cee702726c fix: complete v03 AgentRun workbench projection 2026-06-19 03:32:11 +08:00
lyon 98d7b1c6f0 fix: remove workbench read-through projection repair 2026-06-19 00:08:01 +08:00
lyon d0eb94ae6a fix: add Workbench projection read model 2026-06-18 23:17:58 +08:00
lyon edae2b40b4 fix: use idle-only AgentRun projection timeout 2026-06-18 22:36:30 +08:00
lyon b469b3efa6 fix: project AgentRun turns after submit 2026-06-18 21:31:44 +08:00
lyon e647be4ee6 fix: expose code agent trace phase timing (#1422) 2026-06-18 19:15:55 +08:00
lyon e0c3b80c48 fix: avoid blocking terminal trace reads 2026-06-18 18:08:25 +08:00
lyon 4777235b54 fix: skip terminal trace refresh when cached 2026-06-18 17:36:26 +08:00
lyon 5178c20710 fix: cache code agent turn session lookup 2026-06-18 17:17:31 +08:00
lyon dd01f47951 fix: converge workbench session state projection 2026-06-18 15:55:18 +08:00
lyon 08b2e3077a fix: converge workbench session authority 2026-06-18 15:24:16 +08:00
lyon f310689851 fix: defer terminal turn status effects 2026-06-18 13:38:25 +08:00
lyon a69ff3cc99 fix: record terminal turn effects once 2026-06-18 13:17:28 +08:00