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

This commit is contained in:
iven
2026-04-23 10:31:46 +08:00
parent e64a3ea9a3
commit 3e78dacef3
3 changed files with 11 additions and 1 deletions

View File

@@ -43,9 +43,10 @@ tags: [module, memory, fts5, growth]
```
[提取] 对话完成 → MemoryMiddleware.after_completion
→ MemoryExtractor.extract_combined() → LLM 单次调用
→ CombinedExtraction { memories, experiences, profile_signals }
→ CombinedExtraction { memories, experiences, profile_signals (含 agent_name/user_name) }
→ VikingAdapter → SqliteStorage → memories.db (FTS5 索引)
→ UserProfileStore → data.db (结构化画像)
→ [身份信号] identity/* → VikingStorage → post_conversation_hook → soul.md + Tauri event
[检索] 新请求 → MemoryMiddleware.before_completion
→ 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 | Wiki 5-section 重构: 363→~190 详细逻辑归档 | wiki/ |
| 2026-04-21 | Embedding 接通 + 自学习自动化 A线+B线 (SemanticScorer + EvolutionMiddleware) | 934 tests PASS |