docs: complete features docs sync — roadmap, TRUTH, security-auth
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

- roadmap.md: Tauri 177, skills 75, Pipeline 17 templates, Admin 15 pages
- TRUTH.md: Admin V2 15 pages, desktop settings 19 tabs, changelog entry
- 02-state-management.md: expanded Store details and descriptions
- 03-security-auth.md: updated date
- README.md: DeerFlow 2.0 description, skill count correction
This commit is contained in:
iven
2026-04-06 22:49:07 +08:00
parent efc391a165
commit 29a1b3db5b
5 changed files with 37 additions and 31 deletions

View File

@@ -82,7 +82,7 @@
> **架构重构成果 (Phase 0-4)**:
> - **Worker 系统**: 7 个 Worker (log_operation, cleanup_rate_limit, cleanup_refresh_tokens, record_usage, update_last_used, aggregate_usage, generate_embedding),基于 mpsc channel 的异步调度,支持自动重试
> - **声明式 Scheduler**: TOML 配置定时任务,支持 run_on_start、灵活间隔 (30s/5m/1h/1d),无需改代码调整调度
> - **SQL 迁移系统**: Schema v6TIMESTAMPTZ 时间戳类型,从 migrations/ 目录加载 SQL 文件,向后兼容 TEXT 类型旧库
> - **SQL 迁移系统**: Schema v8TIMESTAMPTZ 时间戳类型,从 migrations/ 目录加载 SQL 文件,向后兼容 TEXT 类型旧库
> - **多环境配置**: ZCLAW_ENV 环境选择 (development/production/test)ZCLAW_SAAS_CONFIG 精确路径ZCLAW_DATABASE_URL 覆盖
> - **连接池优化**: 50 max / 5 min 连接10s 获取超时300s 空闲超时1800s 最大生命周期
> - **速率限制优化**: 无锁 AtomicU32 读取 RPMDashMap + 60s 滑动窗口300s 定期清理
@@ -100,8 +100,8 @@
| **Rust Crates** | **10** (types, memory, runtime, kernel, skills, hands, protocols, pipeline, growth, saas) |
| **SKILL.md 文件** | **75** |
| **Hands 总数** | **11** (9 启用, 2 禁用: Predictor, Lead) |
| **Pipeline 模板** | **5** |
| **Tauri 命令** | **171** |
| **Pipeline 模板** | **17** YAML |
| **Tauri 命令** | **177** |
| **SaaS API 路由** | **131** (含 2 个 dev-only mock) |
| **SaaS Workers** | **7** (log_operation, cleanup_rate_limit, cleanup_refresh_tokens, record_usage, update_last_used, aggregate_usage, generate_embedding) |
| **SQL Schema 版本** | **v8** (TIMESTAMPTZ 类型, 声明式迁移, password_version, rate_limit_events, is_embedding) |
@@ -112,8 +112,8 @@
| **内置工具** | **7** (file_read, file_write, shell_exec, web_fetch, execute_skill, skill_load, task) |
| **Agent Growth System** | SqliteStorage + FTS5 + TF-IDF + Memory Extractor + ExtractionAdapter (闭环) |
| **安全审计** | 渗透测试 V1: 5 HIGH + 10 MEDIUM 全部修复, 整体评级 B+ |
| **Admin V2** | Vite + React + Ant Design Pro, 13 页面, HttpOnly Cookie 认证 |
| **运行时中间件** | 11 层: Compaction, Memory, LoopGuard, TokenCalibration, SkillIndex, Title, DanglingTool, ToolError, ToolOutputGuard, Guardrail, SubagentLimit |
| **Admin V2** | Vite + React + Ant Design Pro, 15 页面, HttpOnly Cookie 认证 |
| **运行时中间件** | 12 层: Compaction, Memory, LoopGuard, TokenCalibration, SkillIndex, Title, DanglingTool, ToolError, ToolOutputGuard, Guardrail, SubagentLimit, Clarification |
---
@@ -126,7 +126,7 @@ zclaw-memory (L2: 存储层, SQLite + FactStore) — 92%
zclaw-runtime (L3: 运行时, 4 Driver, 7 工具, 11 层中间件) — 92%
zclaw-kernel (L4: 核心协调, 9 Hands, 75 Skills, Trigger, Export) — 88%
zclaw-kernel (L4: 核心协调, 9 Hands, 75 Skills, Trigger, Export, Clarification) — 88%
┌───┴───┬───────┬───────────┬──────────┐
│ │ │ │ │
@@ -173,6 +173,7 @@ zclaw-saas — 独立运行 (Axum + PostgreSQL, 端口 8080) — 98%
| 日期 | 版本 | 变更内容 |
|------|------|---------|
| 2026-04-06 | v0.11.0 | DeerFlow 2.0 核心能力借鉴:(1) ask_clarification 工具 + ClarificationMiddleware + ClarificationCard 前端渲染 (2) 渐进式技能加载 — 只注入元数据 + load_skill_content 工具 (3) 模式差异化行为 — Ultra 启用子Agent (4) present_file Artifact 输出物接通 (5) 子Agent 流式进度推送 (6) ask_clarification 澄清系统 (7) 子Agent 唯一 ID 匹配 (task_id 贯穿 6 层) (8) AgentState 序列化 lowercase 修复 (9) pre-existing TS errors 清理 |
| 2026-04-03 | v0.10.2 | 行业模板二次深度审计修复3CRITICAL+6HIGH 全修复 — createFromTemplate 接入后端 API (tools 合并/source_template_id)、种子数据 source='builtin'、不可变 clone 返回、restoreSession 恢复 assignedTemplate、logout 清理模板状态、assignTemplate 错误传播、输入验证、删除死路由、console.warn→logger、model fallback gpt-4o-mini、pgvector 可选、relay 超时 90s |
| 2026-04-03 | v0.10.1 | 数字校准SaaS API 58→131新增 knowledge 23 + billing 10 + model_config 16 等、SaaS Workers 5→7、SaaS 模块 10→12、数据表 25→34、Tauri 命令 175→171注释排除、SKILL 76→75、Admin 页面 11→13 |
| 2026-04-01 | v0.10.0 | 文档全面更新SKILL 数量 75、Tauri 命令 130+、API 路由 72+、Admin V2 (Ant Design Pro) 迁移记录、安全渗透测试 V1 修复记录、Schema v8、11 层中间件链、kernel.rs 拆分为 9 子模块、intelligence-client.ts 拆分为 9 子模块 |