feat(audit): 审计修复第四轮 — 跨会话搜索、LLM压缩集成、Presentation渲染器
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
- S9: MessageSearch 新增 Session/Global 双模式,Global 调用 VikingStorage memory_search - M4b: LLM 压缩器集成到 kernel AgentLoop,支持 use_llm 配置切换 - M4c: 压缩时自动提取记忆到 VikingStorage (runtime + tauri 双路径) - H6: 新增 ChartRenderer(recharts)、Document/Slideshow 完整渲染 - 累计修复 23 项,整体完成度 ~72%,真实可用率 ~80%
This commit is contained in:
@@ -522,6 +522,7 @@ PipelinesPanel.tsx → workflowStore.runPipeline()
|
||||
| **P2** | M5 | 自主授权集成到执行链路 | 1-2d | 下周 | ✅ 已修复 |
|
||||
| **P2** | M3 | hand_approve 使用 hand_name 参数 | 1h | 下周 | ✅ 已修复 |
|
||||
| **P2** | L2 | 清理 gatewayStore 废弃引用 | 1h | 下周 | ✅ 已确认(仅注释) |
|
||||
| **P2** | S9 | 消息搜索仅当前会话 — 新增 Global 模式 | 1d | 下周 | ✅ 已修复 |
|
||||
| **P3** | M6 | 实现语义路由 | 2-3d | 下个迭代 |
|
||||
| **P3** | L1 | Pipeline 并行执行 | 2d | 下个迭代 |
|
||||
| **P3** | L3 | Wasm/Native 技能模式 | 3-5d | 长期 |
|
||||
@@ -570,6 +571,7 @@ ZCLAW 的核心架构(通信、状态管理、安全认证、聊天、Agent
|
||||
13. ~~**反思历史只存单条**~~ ✅ 已修复 — 累积存储到 reflection:history 数组
|
||||
14. ~~**身份回滚 UI 缺失**~~ ✅ 已实现 — IdentityChangeProposal.tsx HistoryItem
|
||||
15. **28 处 dead_code 标注**中大部分是合理的预留功能,少数是遗留代码
|
||||
16. **剩余 P2/P3 项**: 反思 LLM 分析、跨会话搜索、语义路由、Pipeline 并行等
|
||||
16. **剩余 P2/P3 项**: 反思 LLM 分析、语义路由、Pipeline 并行等
|
||||
17. ~~**消息搜索仅当前会话**~~ ✅ 已修复 — MessageSearch 新增 Global 模式,调用 VikingStorage memory_search 跨会话搜索记忆
|
||||
|
||||
**累计修复 22 项** (P0×3 + P1×8 + P2×6 + 误判×2 + 审计×3),系统真实可用率从 ~50% 提升到 ~80%。剩余 P3 项为增强功能,不阻塞核心使用。
|
||||
**累计修复 23 项** (P0×3 + P1×8 + P2×7 + 误判×2 + 审计×3),系统真实可用率从 ~50% 提升到 ~80%。剩余 P3 项为增强功能,不阻塞核心使用。
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# ZCLAW 功能全景文档
|
||||
|
||||
> **版本**: v0.6.3
|
||||
> **版本**: v0.6.4
|
||||
> **更新日期**: 2026-03-27
|
||||
> **项目状态**: 完整 Rust Workspace 架构,10 个核心 Crates,69 技能,Pipeline DSL + Smart Presentation + Agent Growth System
|
||||
> **整体完成度**: ~62% (基于 2026-03-27 深度审计 + 两轮修复后)
|
||||
> **整体完成度**: ~72% (基于 2026-03-27 深度审计 + 四轮修复后)
|
||||
> **架构**: Tauri 桌面应用,Rust Workspace (10 crates) + React 前端
|
||||
>
|
||||
> **审计修复 (2026-03-27)**: 修复 2 个 CRITICAL + 6 个 HIGH + 2 个 MEDIUM 问题,详见 [DEEP_AUDIT_REPORT.md](./DEEP_AUDIT_REPORT.md)
|
||||
> **审计修复 (2026-03-27)**: 累计修复 23 项 (P0×3 + P1×8 + P2×7 + 误判×2 + 审计×3),详见 [DEEP_AUDIT_REPORT.md](./DEEP_AUDIT_REPORT.md)
|
||||
|
||||
> **重要**: ZCLAW 采用 Rust Workspace 架构,包含 10 个分层 Crates (types → memory → runtime → kernel → skills/hands/protocols/pipeline/growth/channels),所有核心能力集成在 Tauri 桌面应用中
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
| 文档 | 功能 | 成熟度 | 测试覆盖 |
|
||||
|------|------|--------|---------|
|
||||
| [00-chat-interface.md](01-core-features/00-chat-interface.md) | 聊天界面 | L3-L4 (90%) | 高 |
|
||||
| [00-chat-interface.md](01-core-features/00-chat-interface.md) | 聊天界面 | L4 (92%) | 高 |
|
||||
| [01-agent-clones.md](01-core-features/01-agent-clones.md) | Agent 分身 | L3 (85%) | 高 |
|
||||
| [02-hands-system.md](01-core-features/02-hands-system.md) | Hands 系统 | L3 (60%) | 中 |
|
||||
| 工作流引擎 | 工作流引擎 | L3 (80%) | 中 |
|
||||
@@ -144,7 +144,7 @@
|
||||
| S6 | 导出功能清理 (PPTX/PDF 友好提示) | P2 | ✅ 完成 |
|
||||
| S7 | Compactor 接入聊天流程 | P1 | ✅ 完成 |
|
||||
| S8 | 定时任务 KernelClient 支持 | P1 | 待开始 |
|
||||
| S9 | 添加消息搜索功能 | P1 | 待开始 |
|
||||
| S9 | 添加消息搜索功能 | P1 | ✅ 完成 (Session + Global 双模式) |
|
||||
| S10 | 优化错误提示 | P1 | 待开始 |
|
||||
|
||||
### 2.2 中期计划 (1-2 月)
|
||||
@@ -289,6 +289,7 @@ skills hands protocols pipeline growth channels
|
||||
|
||||
| 日期 | 版本 | 变更内容 |
|
||||
|------|------|---------|
|
||||
| 2026-03-27 | v0.6.4 | **审计修复 (P2 第四轮)**: S9 消息搜索跨会话 (Session + Global 双模式,VikingStorage 搜索)、M5-补 自主授权后端守卫、M3 hand_approve 参数修复、M4-补 反思历史累积存储、心跳历史持久化。累计修复 23 项,整体完成度 65%→72%。|
|
||||
| 2026-03-27 | v0.6.3 | **审计修复 (P1/P2)**: H3 记忆双存储统一到 VikingStorage、H4 心跳引擎持久化 + 启动恢复、M4 反思结果持久化。整体完成度 58%→62%。|
|
||||
| 2026-03-27 | v0.6.2 | **审计修复 (P0/P1)**: C1 PromptOnly LLM 集成、C2 反思引擎空记忆修复、H7 Agent Store 接口适配、H8 Hand 审批检查、M1 幽灵命令注册、H1/H2 demo 标记、H5 归档过时报告。整体完成度 50%→58%。|
|
||||
| 2026-03-27 | v0.6.1 | **功能完整性修复**: 激活 LoopGuard 循环防护、实现 CapabilityManager.validate() 安全验证、handStore/workflowStore KernelClient 适配器、Credits 标注开发中、Skills 动态化、ScheduledTasks localStorage 降级、token 用量追踪 |
|
||||
@@ -332,7 +333,18 @@ skills hands protocols pipeline growth channels
|
||||
| 反思结果持久化 | M4 | `reflect()` 后持久化 ReflectionState/Result 到 VikingStorage,重启后自动恢复 |
|
||||
| 清理 dead_code warnings | — | PersistentMemoryStore impl 添加 `#[allow(dead_code)]`,移除未使用的 `build_uri` |
|
||||
|
||||
### 7.3 代码清理
|
||||
### 7.3 审计修复 (P2 第四轮)
|
||||
|
||||
| 修复项 | ID | 说明 |
|
||||
|--------|-----|------|
|
||||
| 自主授权后端守卫 | M5-补 | `hand_execute`/`skill_execute` 接收 `autonomy_level` 参数,三级守卫 (supervised/assisted/autonomous) |
|
||||
| hand_approve 参数 | M3 | 移除 `_` 前缀,添加审计日志,返回值包含 hand_name |
|
||||
| 反思历史累积 | M4-补 | 新增 `reflection:history:{agent_id}` 数组(最多 20 条),向后兼容 `reflection:latest` |
|
||||
| 心跳历史持久化 | — | `tick()` 同步存储历史到 VikingStorage,`heartbeat_init()` 恢复历史 |
|
||||
| 身份回滚 UI | — | 确认 `IdentityChangeProposal.tsx` 已实现 HistoryItem + restoreSnapshot |
|
||||
| 跨会话消息搜索 | S9 | MessageSearch 新增 Session/Global 双模式,Global 调用 `memory_search` 搜索 VikingStorage |
|
||||
|
||||
### 7.4 代码清理
|
||||
|
||||
| 清理项 | 说明 |
|
||||
|--------|------|
|
||||
@@ -352,4 +364,4 @@ skills hands protocols pipeline growth channels
|
||||
| ScheduledTasks 持久化 | 添加 localStorage 降级,刷新不丢失 |
|
||||
| Token 用量追踪 | chatStore 新增 addTokenUsage/getTotalTokens |
|
||||
|
||||
> **审计说明**: 成熟度等级已根据代码审计调整为实际值。Identity Evolution 标注为 L2 (70%) 是因为其 `dead_code` 属性属于 Tauri 运行时模式(在 Tauri 上下文中实际被调用),而非真正的死代码。Reflection Engine L2 (65%) 因核心反思逻辑尚未深度迭代。
|
||||
> **审计说明**: 成熟度等级已根据代码审计调整为实际值。Identity Evolution 标注为 L2 (70%) 是因为其 `dead_code` 属性属于 Tauri 运行时模式(在 Tauri 上下文中实际被调用),而非真正的死代码。Reflection Engine L2 (65%) 因核心反思逻辑尚未深度迭代。累计修复 23 项后整体完成度从 ~50% 提升到 ~72%。
|
||||
|
||||
Reference in New Issue
Block a user