auto-sync: 2026-05-17 13:43:02

This commit is contained in:
cfdaily
2026-05-17 13:43:02 +08:00
parent cdb2947010
commit 51c1c27000
+3 -3
View File
@@ -828,7 +828,7 @@ cd src/frontend && npm run build
## 12. 测试策略
### 10.1 单元测试
### 12.1 单元测试
| 测试文件 | 覆盖 |
|---------|------|
@@ -841,13 +841,13 @@ cd src/frontend && npm run build
| test_bootstrap.py | 四层上下文拼装(按 role 精确注入) |
| test_counter.py | ActiveAgentCounter 并发控制 |
### 10.2 集成测试
### 12.2 集成测试
- 创建任务 → 调度执行 → Guardrail → 审查 → 反驳 → 完成 闭环
- 多项目并发:两个项目同时 tick,互不影响
- 竞态测试:两个 Agent 同时 claim + 同时写 inbox
### 10.3 测试数据库
### 12.3 测试数据库
per-project 测试用 `:memory:` SQLite。全局注册表测试用临时文件。