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

@@ -9,6 +9,13 @@ tags: [log, history]
> 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
- **fix(desktop)**: agentStore `_client` 模块缓存导致 Tauri 模式下持有旧 GatewayClient 引用
- **根因**: `initializeStores()``_storesInitialized` 守卫阻止二次注入KernelClient 替换后 agentStore 仍用旧引用