WeiCHEN
0d3cc6a6ce
feat(review): seed 10 real medical device projects with dual workflows, multi-role dialogues and fix account-switch chat isolation
2026-09-11 00:47:23 +08:00
WeiCHEN
dc12bc5794
fix(workflow): fix 405/404/403 errors on workflow switcher by updating CORS, 5201 demo permissions and server restart
2026-09-11 00:13:06 +08:00
WeiCHEN
e9238c0ab1
feat(workflow): Phase 5 智能测试经理工作流、前置强依赖校验与文档血缘级联失效
2026-09-10 23:51:59 +08:00
WeiCHEN
9d33b1c804
feat(workflow): Phase 4 智能产品经理工作流、系统需求规格书与质量门禁
2026-09-10 23:48:40 +08:00
WeiCHEN
0961e180a3
feat(workflow): Phase 3 Coordinator 上下文、动作路由与工作流运行 API 集成
2026-09-10 23:41:24 +08:00
WeiCHEN
7c899605ea
feat(workflow): Phase 1 & 2 数据库迁移、项目创建人权威化与多工作流控制面
2026-09-10 23:35:44 +08:00
WeiCHEN
4962cefdae
feat(export): 实现单次智能体回复导出、私密文档保存与隐私防泄露全套闭环 (Phase 0 - Phase 2)
...
- Phase 0: 实现服务端回复导出策略矩阵引擎 (replyexport.EvaluatePolicy)、数据库迁移 (2026-09-11-message-export-policy.sql)、SSE done 事件挂载与能力探测 API
- Phase 1: 构建前端 ReplyDocumentIR 语法树解析与渲染管道,支持 Markdown / DOCX 文件下载及带格式富文本剪贴板复制
- Phase 2: 实现私密自由文档 (freeform_documents) 领域服务、PostgreSQL 乐观锁版本管理、ACL 隐私隔离、一键共享与右侧栏编辑联动
- 专项修复:
1. 修复后台 API 路由注册并加入双向拉取同步,确保私密保存实时进入我的私密列表
2. 实现轻量回复专属 DOCX 生成与静默下载逻辑 (downloadDocxReply)
3. 将 LaTeX 公式转为标准 MathML 矢量标记,支持粘贴到 Microsoft Word / WPS 自动识别为原生公式
2026-09-10 23:04:04 +08:00
WeiCHEN
779c6c7f04
test(chat): add session turn_intent metadata assertion and chip category navigation tests
2026-09-10 16:10:53 +08:00
WeiCHEN
2c0c6a0348
feat(category): implement recategorize backfill engine and fallback mapping (Spec §3.4-3.5 A4-A5)
2026-09-10 15:56:53 +08:00
WeiCHEN
5a83b9fa44
feat(chat): 完成分类锚点坞(CategoryDock)与双轨制未读重构 (含方案A轮次归一化与起始位置居中)
2026-09-10 15:44:05 +08:00
WeiCHEN
709fadcef2
feat(history): 完成 Phase P3 虚拟滚动、聊天记录导出与协同未读提醒
...
- 虚拟滚动:接入 @tanstack/react-virtual,封装 useVirtualMessages 动态测高与 overscan 预渲染,迁移 anchorNavigator 锚点定位与 SSR 兼容降级
- 聊天记录导出:基于既有 docx 与 xlsx 依赖实现 chatExporter 与 ChatExportModal,新增服务端 /api/v1/chat/export/messages 支持按条件导出
- 协同未读标记:新增 useUnreadMarks 30s 轮询与服务端 /api/v1/chat/unread 接口,日历格与工具栏支持橙色未读徽标提示
- 测试与验证:新增 chat_unread_and_export_api_test.go,前端全量 126 项单元/组件测试及生产打包 100% 通过
2026-09-10 14:25:13 +08:00
WeiCHEN
de015d694a
feat(history): 实现三模历史搜索、每日智能协同摘要与时间轴侧栏 (Phase P2)
2026-09-10 13:53:07 +08:00
WeiCHEN
ad57685665
feat(history): 实现多级历史导航、分类筛选、日历联动与消息双向引用 (Phase P1)
...
- 后端核心与 API:
- 实现 ChatCategoryStat 结构体与 ListChatCategories 统计引擎 (Postgres + In-Memory 内存降级双轨)
- 注册 GET /api/v1/chat/categories 聚合接口
- 增强 GetChatDayMessages 支持自动根据 anchor_id 逆查 day_key,实现免猜测跨日检索
- 前端锚点导航引擎:
- 实现 anchorNavigator 模块 (快路径 DOM scrollIntoView + 1.8s 发光脉冲、慢路径跨日拉取、深链 Hash 解析)
- 编写 anchorNavigator.test.ts 单元测试并 100% 通过
- 分类过滤与轻量月历:
- 实现 CategoryFilterBar 水平分类筛选栏 (8 类业务标签,暗淡/高亮模式)
- 实现 HistoryCalendar 零依赖原生悬浮月历组件 (热度点与消息数,jumpToDate 快速定位)
- 消息引用与双向追溯:
- 消息气泡悬浮“引用”入口,点击提取发言人与摘要至输入框
- 实现 QuoteChip 待发引用标签与 QuoteCard 已发引用卡片
- 引用卡片点击直连锚点定位,快慢路径自动回溯
2026-09-10 13:40:44 +08:00
WeiCHEN
2ece0ce882
feat(history): 实现超长对话历史按日归档与滑动窗口 (Phase P0)
2026-09-10 13:24:32 +08:00
WeiCHEN
cf966dcf77
feat(prompt+cache): implement 10-section prompt template, true KB regulation recall, behavior rules and multi-level caching (P4)
2026-09-10 11:52:40 +08:00
WeiCHEN
b75a06cc1a
feat(coordinator): implement determinism-first query rewrite with ellipsis completion and pronoun resolution (P3)
2026-09-10 11:46:27 +08:00
WeiCHEN
2c3e303561
feat(ctxmgr): implement chat memory vectorization, privacy dual-gate retrieval and memory composer (P2)
2026-09-10 11:38:36 +08:00
WeiCHEN
30bfc1fd2f
feat(ctxmgr): implement sliding window, rolling summarizer and DST task state (P1)
2026-09-10 11:19:08 +08:00
WeiCHEN
6a88ceb94d
feat(chat): wire multi-turn dialogue broken links (G1/G2/G3/G9) with session restore
2026-09-10 11:05:14 +08:00
WeiCHEN
747cd39e97
feat(core): update backend coordinator, docgov lease, squad workflow and web governance integration
2026-09-10 09:38:35 +08:00
WeiCHEN
7c1383768f
test(server): task stream transient injection, classification and resume integration tests
2026-09-09 18:35:51 +08:00
WeiCHEN
0b846e132a
feat(api): task stream request-id, resume mode and workspace-aware error classification
2026-09-09 18:27:29 +08:00
WeiCHEN and Cursor
ccc485a670
fix(agent): scope Task 2 to SSE phases/errors without dialogue_llm leak
...
- untrack internal/coordinator/dialogue_llm.go (kept on disk untracked as local WIP for a future dialogue-LLM commit with its own tests; it depends on engine.go fields (dialogueBackend, ReplySource) not yet committed)
- slim internal/chat/session.go back to Task 2 scope relative to bfa6889 : keep EmitErrorInfo(stream.ClassifyError(...)) for intent+coordination errors and the dialogue_generating EmitPhase before ProcessIntent; drop sync.Mutex/mu, ChatResponse.ReplySource, preference/RecentDialogue injection block, and collectRecentDialogue helper (unrelated WIP for the dialogue-LLM feature)
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 16:25:35 +08:00
WeiCHEN and Cursor
8f29d84908
feat(agent): emit dialogue phases and classified SSE errors with request id
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 16:16:25 +08:00
WeiCHEN and Cursor
bfa68892ac
fix(stream): avoid dial substring false-positive in ClassifyError
...
Remove "dial" from networkHints to stop "dialogue" misclassification;
extend workspace/resumable and EmitErrorInfo test coverage.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 16:09:39 +08:00
WeiCHEN and Cursor
f385515ad3
feat(stream): add structured ErrorInfo and error classification
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 16:08:04 +08:00
WeiCHEN and Cursor
d548f773bc
feat(api): add auth and admin management endpoints
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:19:04 +08:00
WeiCHEN and Cursor
f7bc32798b
feat(auth): add auth data models, config and store engine
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:17:03 +08:00
WeiCHEN and Cursor
e1864905c8
docs(test): archive test report for dialogue-driven content and hierarchical intent system
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 19:05:59 +08:00
WeiCHEN and Cursor
6e4fe22bfb
fix(coordinator): chain expectation for card confirmation and add ttl lifecycle cleanup
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:22:13 +08:00
WeiCHEN and Cursor
c1c299b4ab
feat(coordinator): implement docgov gates, semantic anchoring and interactive card dispatch
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:07:56 +08:00
WeiCHEN and Cursor
473fe7ec76
fix(intent): address review findings for hierarchical intent funnel and security guards
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 17:53:39 +08:00
WeiCHEN and Cursor
8a8582056c
feat(intent): implement 4-stage hierarchical intent funnel and slot extraction
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 17:42:57 +08:00
WeiCHEN and Cursor
5dc58322aa
feat(intent): add interactive card payload and extended intent contracts
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 17:31:52 +08:00
WeiCHEN and Cursor
b80a6863c7
feat(server): integrate web spa static assets hosting and route fallback
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:51:50 +08:00
WeiCHEN and Cursor
1ec53b76d8
feat(cli): 终端自推荐标杆案例渲染与全业务链 E2E 端到端回归实操
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:00:59 +08:00
WeiCHEN and Cursor
7416a9fb35
feat(server): 新增会话列表、多轮历史消息查询与标杆案例语义检索 RESTful API
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:44:05 +08:00
WeiCHEN and Cursor
f111fb19ae
feat(coordinator): 在贴身业务参谋决策锦囊中注入相似标杆案例自推荐
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:43:08 +08:00
WeiCHEN and Cursor
0f1f0c6713
feat(ctxmgr): 增加已批准受控文档自动切片向量化与标杆案例语义检索
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:39:59 +08:00
WeiCHEN and Cursor
e6aab19b89
feat(ctxmgr): 增加历史多轮会话列表查询、消息拉取与会话重构引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:37:36 +08:00
WeiCHEN and Cursor
d92e3dee42
feat(ctxmgr): 增加离线确定性高维嵌入生成器与向量字面量工具
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:34:44 +08:00
WeiCHEN and Cursor
3abc6a5921
test(bizdev): 新增全业务链成熟度螺旋推进(V0.1->V0.5->V1.0)端到端贯通测试
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:20:15 +08:00
WeiCHEN and Cursor
72737e3565
feat(bizdev): 贯通跨阶段事实黑板自动传承与里程碑决策记录
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:20:07 +08:00
WeiCHEN and Cursor
5a1a75870d
feat(ctxmgr): 支持跨阶段项目事实黑板与成熟度状态持久化
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:20:04 +08:00
WeiCHEN and Cursor
c1e2575e0a
test(api): add e2e integration tests for claimed document SSE and docgov RESTful APIs
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:07:31 +08:00
WeiCHEN and Cursor
8ff574c08b
feat(api): add RESTful endpoints and SSE streams for context and docgov lifecycle
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:07:26 +08:00
WeiCHEN and Cursor
1c6dd6cfb8
feat(service): emit governance interception and progress summary on claimed documents
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:07:20 +08:00
WeiCHEN and Cursor
b5d29e11cd
feat(stream): add governance event and lightweight progress summary protocol
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:07:13 +08:00
WeiCHEN and Cursor
ac0b6d412e
test(docgov): 增加编制审核批准全流程自动化测试与测试报告归档
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 12:01:58 +08:00
WeiCHEN and Cursor
c533523755
feat(agent): 将文档治理生命周期与认领拦截挂钩至BizDev服务与CLI工具链
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 12:01:49 +08:00