8157f10768
- 重构为三角色协作:人+Arch AI+执行AI - 新增 Excel 寄存器表格解析工具,自动生成测试代码 - 新增串口日志分析工具,自动生成测试报告 - 完善项目文档:AGENTS.md、README.md - 创建自动化测试架构设计文档 - 添加示例测试任务 P01-001
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"workflow": "mcu-chip-testing",
|
|
"roles": ["human", "arch-ai", "executor-ai"],
|
|
"stages": [
|
|
{
|
|
"name": "需求分析",
|
|
"actor": "arch-ai",
|
|
"output": ["docs/01_测试需求/", "review/{task_id}/task.md"]
|
|
},
|
|
{
|
|
"name": "测试架构",
|
|
"actor": "arch-ai",
|
|
"input": ["docs/01_测试需求/", "review/{task_id}/task.md"],
|
|
"output": ["docs/02_测试架构/", "review/{task_id}/impact.md", "review/{task_id}/acceptance.md"]
|
|
},
|
|
{
|
|
"name": "执行测试",
|
|
"actor": "executor-ai",
|
|
"input": ["review/{task_id}/task.md", "review/{task_id}/acceptance.md"],
|
|
"output": ["projects/*/src/", "projects/*/docs/", "reports/test-results/", "review/{task_id}/feedback/round{round}.md"]
|
|
},
|
|
{
|
|
"name": "验收确认",
|
|
"actor": "human",
|
|
"input": ["review/{task_id}/feedback/", "reports/test-results/"]
|
|
}
|
|
],
|
|
"retry": {
|
|
"max_rounds": 3,
|
|
"loop": ["执行测试"],
|
|
"escalation": {
|
|
"trigger": "第 3 轮测试仍有 BLOCKER 或 HIGH 级别问题",
|
|
"action": "暂停任务流转,等待人类负责人裁决"
|
|
},
|
|
"skip_acceptance_on_retry": true
|
|
},
|
|
"ci_triggers": {
|
|
"on_push_to_main": ["compile-firmware"],
|
|
"on_task_update": ["notify-executor-ai"]
|
|
}
|
|
}
|