docs: reorganize docs — archive outdated, create brainstorming folder
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
- Create docs/brainstorming/ with 5 discussion records (Mar 16 - Apr 7) - Archive ~30 outdated audit reports (V5-V11) to docs/archive/old-audits/ - Archive superseded analysis docs to docs/archive/old-analysis/ - Archive completed session plans to docs/archive/old-plans/ - Archive old test reports/validations to respective archive folders - Remove empty directories left after moves - Keep current docs: TRUTH.md, feature docs, deployment, knowledge-base, superpowers
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
# ZCLAW 上线前功能审计 — 基线测试结果
|
||||
|
||||
> **执行日期**: 2026-04-05 | **环境**: Windows 11, PostgreSQL + SaaS + Tauri 已启动
|
||||
|
||||
## 自动化测试基线
|
||||
|
||||
### cargo test --workspace
|
||||
|
||||
- **状态**: ⚠️ 部分完成
|
||||
- **问题**: zclaw-saas.exe 被运行中的 SaaS 后端锁定,无法重新编译
|
||||
- **解决方案**: 排除 zclaw-saas 重跑,结果待补充
|
||||
- **cargo check**: ✅ 通过(0 error,仅 warnings)
|
||||
|
||||
### desktop vitest (174/185 passed)
|
||||
|
||||
- **通过**: 174
|
||||
- **失败**: 10
|
||||
- **跳过**: 1
|
||||
- **失败原因**: 全部在 `chatStore.test.ts`,因 ChatStore 4-sub-store 重构后测试未同步更新
|
||||
- **失败测试**:
|
||||
- `chatStore` > `createConversation` 相关 3 个
|
||||
- `chatStore` > `sendMessage` 相关 4 个
|
||||
- `chatStore` > `conversations` 相关 3 个
|
||||
|
||||
### admin-v2 vitest (36/71 passed)
|
||||
|
||||
- **通过**: 36
|
||||
- **失败**: 35
|
||||
- **失败分布**:
|
||||
- authStore.test.ts: 6/8 failed (localStorage mock 问题)
|
||||
- request.test.ts: 2/7 failed (Authorization header / 401 refresh)
|
||||
- accountStore.test.ts: 多个 CRUD 测试失败
|
||||
- 其他页面测试: relay, usage, prompt 等
|
||||
|
||||
## 环境验证
|
||||
|
||||
| 项目 | 状态 | 备注 |
|
||||
|------|------|------|
|
||||
| PostgreSQL | ✅ 运行中 | Docker 容器 |
|
||||
| SaaS 后端 | ✅ 运行中 | 0.0.0.0:8080 |
|
||||
| Tauri 桌面端 | ✅ 运行中 | http://localhost:1420/ |
|
||||
| tauri-mcp | ✅ 连接正常 | 可查询/交互 |
|
||||
| LLM Provider | ✅ 可用 | glm-4-flash (GLM) |
|
||||
|
||||
## 已知基线缺陷(非本轮引入)
|
||||
|
||||
1. **desktop chatStore 测试**: ChatStore 拆分为 4 个 sub-store 后测试未更新
|
||||
2. **admin authStore 测试**: jsdom 环境下 localStorage API 兼容问题
|
||||
3. **admin 多页面测试**: 依赖真实 API 端点,vitest 环境无法访问
|
||||
|
||||
## T1 Hands 测试已完成
|
||||
|
||||
详见 [T1-hands/REPORT.md](../T1-hands/REPORT.md)
|
||||
|
||||
- 通过: 11/18 执行用例
|
||||
- 健康度: 58 → 68 (+10)
|
||||
- 新发现 P1: 2 个 (LLM 并发 + Browser Hand)
|
||||
Reference in New Issue
Block a user