新增: 人设系统(P0 AgentPersona+PersonaRegistry+5内置人设)
- AgentPersona 数据结构(能力/工具白名单/prompt模板) - PersonaRegistry 含5内置人设:coder/reviewer/architect/tester/analyst - 按意图关键词推荐人设(review→reviewer,设计→architect等) - 10个单元测试覆盖注册/默认/推荐/白名单/build_prompt
This commit is contained in:
16
Batch.md
16
Batch.md
@@ -412,22 +412,18 @@
|
||||
- Projects 列表分页(后端 list_projects 已支持 limit/offset)
|
||||
- **验证**: cargo check + vue-tsc 通过
|
||||
|
||||
## Batch 33 — 多 ReAct 对接
|
||||
## Batch 35 — 人设系统(P0·第一步)
|
||||
|
||||
- **提交**: `当前待提交`
|
||||
- **内容**:
|
||||
- PLAN_EXECUTION_ENABLED 从编译期 const 改为运行时 AtomicBool
|
||||
- 新增 set_plan_execution / get_plan_execution IPC + 前端 API
|
||||
- 新增 PlanProgress.vue(层状 DAG 执行进度展示组件)
|
||||
- **验证**: cargo check 通过
|
||||
- AgentPersona 数据结构(能力标签/工具白名单/prompt 模板)
|
||||
- PersonaRegistry 注册表(5 内置人设: coder/reviewer/architect/tester/analyst)
|
||||
- 按意图推荐人设(启发式关键词匹配合适角色)
|
||||
- build_prompt 注入上下文和目标钉扎
|
||||
- **验证**: 10 个单元测试通过
|
||||
|
||||
## 后续规划批次(待推进)
|
||||
|
||||
### Batch 35 — 人设系统(P0·第一步)
|
||||
1. AgentPersona 数据结构+5 内置人设(coder/reviewer/architect/tester/analyst)
|
||||
2. PersonaRegistry 注册表(CRUD + 按场景选人设)
|
||||
3. AINode 执行时从 persona_id 拼接 system_prompt + 过滤工具集
|
||||
|
||||
### Batch 36 — Coordinator 填实 + 多 Agent 骨架(P0·第二步)
|
||||
1. 任务拆解 → 分配人设 → 并行 Agent → 汇总合并
|
||||
2. coordinator.rs 从空壳重写为 Agent 调度器
|
||||
|
||||
Reference in New Issue
Block a user