docs(wiki): 追加身份信号提取与持久化修复日志
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
This commit is contained in:
@@ -127,6 +127,7 @@ UI 选择模型 → conversationStore.currentModel = newModel
|
|||||||
|
|
||||||
| 日期 | 变更 |
|
| 日期 | 变更 |
|
||||||
|------|------|
|
|------|------|
|
||||||
|
| 04-23 | 身份信号: detectAgentNameSuggestion 前端即时检测 + RightPanel 监听 Tauri 事件刷新名称 |
|
||||||
| 04-22 | Wiki 重写: 5 节模板,增加集成契约和不变量 |
|
| 04-22 | Wiki 重写: 5 节模板,增加集成契约和不变量 |
|
||||||
| 04-21 | 上一轮更新 |
|
| 04-21 | 上一轮更新 |
|
||||||
| 04-17 | ChatStore 拆分为 5 Store (stream/conversation/message/chat/artifact) |
|
| 04-17 | ChatStore 拆分为 5 Store (stream/conversation/message/chat/artifact) |
|
||||||
|
|||||||
@@ -9,6 +9,13 @@ tags: [log, history]
|
|||||||
|
|
||||||
> Append-only 操作记录。格式: `## [日期] 类型 | 描述`
|
> Append-only 操作记录。格式: `## [日期] 类型 | 描述`
|
||||||
|
|
||||||
|
## [2026-04-23] fix | 身份信号提取与持久化 — 对话中起名跨会话记忆+面板刷新
|
||||||
|
- **fix(zclaw-growth)**: ProfileSignals 增加 agent_name/user_name 字段 + 提取提示词扩展 + 解析器+回退逻辑
|
||||||
|
- **fix(zclaw-runtime)**: 身份信号存入 VikingStorage (importance=8)
|
||||||
|
- **fix(src-tauri)**: post_conversation_hook 身份写回 soul.md + emit `zclaw:agent-identity-updated` Tauri 事件
|
||||||
|
- **fix(desktop)**: 双通道更新 — 前端规则检测 `detectAgentNameSuggestion` 即时改名 + Rust 事件驱动 RightPanel 刷新
|
||||||
|
- **验证**: cargo check 0 error/0 warning, tsc --noEmit 0 error
|
||||||
|
|
||||||
## [2026-04-22] fix | agentStore stale client — getClient() 直接读 connectionStore
|
## [2026-04-22] fix | agentStore stale client — getClient() 直接读 connectionStore
|
||||||
- **fix(desktop)**: agentStore `_client` 模块缓存导致 Tauri 模式下持有旧 GatewayClient 引用
|
- **fix(desktop)**: agentStore `_client` 模块缓存导致 Tauri 模式下持有旧 GatewayClient 引用
|
||||||
- **根因**: `initializeStores()` 被 `_storesInitialized` 守卫阻止二次注入,KernelClient 替换后 agentStore 仍用旧引用
|
- **根因**: `initializeStores()` 被 `_storesInitialized` 守卫阻止二次注入,KernelClient 替换后 agentStore 仍用旧引用
|
||||||
|
|||||||
@@ -43,9 +43,10 @@ tags: [module, memory, fts5, growth]
|
|||||||
```
|
```
|
||||||
[提取] 对话完成 → MemoryMiddleware.after_completion
|
[提取] 对话完成 → MemoryMiddleware.after_completion
|
||||||
→ MemoryExtractor.extract_combined() → LLM 单次调用
|
→ MemoryExtractor.extract_combined() → LLM 单次调用
|
||||||
→ CombinedExtraction { memories, experiences, profile_signals }
|
→ CombinedExtraction { memories, experiences, profile_signals (含 agent_name/user_name) }
|
||||||
→ VikingAdapter → SqliteStorage → memories.db (FTS5 索引)
|
→ VikingAdapter → SqliteStorage → memories.db (FTS5 索引)
|
||||||
→ UserProfileStore → data.db (结构化画像)
|
→ UserProfileStore → data.db (结构化画像)
|
||||||
|
→ [身份信号] identity/* → VikingStorage → post_conversation_hook → soul.md + Tauri event
|
||||||
|
|
||||||
[检索] 新请求 → MemoryMiddleware.before_completion
|
[检索] 新请求 → MemoryMiddleware.before_completion
|
||||||
→ MemoryRetriever.retrieve(agent_id, user_input)
|
→ MemoryRetriever.retrieve(agent_id, user_input)
|
||||||
@@ -132,6 +133,7 @@ tags: [module, memory, fts5, growth]
|
|||||||
|
|
||||||
| 日期 | 变更 | 关联 |
|
| 日期 | 变更 | 关联 |
|
||||||
|------|------|------|
|
|------|------|------|
|
||||||
|
| 2026-04-23 | 身份信号提取: ProfileSignals+agent_name/user_name + VikingStorage identity 存储 + soul.md 写回 | commit 08812e5+e64a3ea |
|
||||||
| 2026-04-22 | 跨会话记忆断裂修复: profile_store 连接 + 双数据库统一 + 诊断日志 | commit adf0251 |
|
| 2026-04-22 | 跨会话记忆断裂修复: profile_store 连接 + 双数据库统一 + 诊断日志 | commit adf0251 |
|
||||||
| 2026-04-22 | Wiki 5-section 重构: 363→~190 行,详细逻辑归档 | wiki/ |
|
| 2026-04-22 | Wiki 5-section 重构: 363→~190 行,详细逻辑归档 | wiki/ |
|
||||||
| 2026-04-21 | Embedding 接通 + 自学习自动化 A线+B线 (SemanticScorer + EvolutionMiddleware) | 934 tests PASS |
|
| 2026-04-21 | Embedding 接通 + 自学习自动化 A线+B线 (SemanticScorer + EvolutionMiddleware) | 934 tests PASS |
|
||||||
|
|||||||
Reference in New Issue
Block a user