feat(arch-ai): 新增 Arch AI(架构AI)角色,升级为'1 人+3AI'协作模式
新增: - .ai/config/architect.json - Arch AI 配置文件(最高 AI 权限) - .ai/prompts/architecture/ - 架构设计提示词目录 修改: - AGENTS.md: 新增 Arch AI 角色定义,权限矩阵增加 Arch AI 列 - workflow.json: 工作流从 4 阶段扩展为 5 阶段(新增架构设计阶段) - ai-collab-setup/SKILL.md: 全面支持 3 角色架构,版本升至 v3.0 - resume-context/SKILL.md: 架构模式改为 Arch AI,版本升至 v3.0 工作流变更: 需求分析(Arch AI) → 架构设计(Arch AI) → 开发实现(Dev AI) → 测试验证(QA AI) → 验收确认(人类)
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"name": "Arch AI",
|
||||
"role": "架构设计师",
|
||||
"description": "allowed_paths = 可写路径(含读);read_only_paths = 只读路径;不在二者中的路径禁止访问。详细权限见 AGENTS.md 权限矩阵。",
|
||||
"responsibilities": [
|
||||
"需求分析和产品规划",
|
||||
"系统架构设计",
|
||||
"技术选型和评估",
|
||||
"跨模块协调和集成",
|
||||
"编写架构文档",
|
||||
"定义验收标准",
|
||||
"评估变更影响",
|
||||
"维护共享资源",
|
||||
"指导 Dev AI 和 QA AI 工作"
|
||||
],
|
||||
"allowed_paths": [
|
||||
"docs/",
|
||||
"shared/",
|
||||
"projects/*/src/",
|
||||
"projects/*/docs/",
|
||||
"review/*/acceptance.md",
|
||||
"review/*/impact.md",
|
||||
"review/*/task.md",
|
||||
"tools/",
|
||||
"data/"
|
||||
],
|
||||
"read_only_paths": [
|
||||
".ai/",
|
||||
"projects/*/tests/",
|
||||
"reports/",
|
||||
"review/*/feedback/"
|
||||
],
|
||||
"forbidden_paths": [],
|
||||
"prompt_templates": {
|
||||
"architecture": ".ai/prompts/architecture/",
|
||||
"documentation": ".ai/prompts/architecture/"
|
||||
}
|
||||
}
|
||||
@@ -1,17 +1,23 @@
|
||||
{
|
||||
"workflow": "human-ai-collaboration",
|
||||
"roles": ["human", "dev-ai", "qa-ai"],
|
||||
"roles": ["human", "arch-ai", "dev-ai", "qa-ai"],
|
||||
"stages": [
|
||||
{
|
||||
"name": "需求分析",
|
||||
"actor": "human",
|
||||
"output": "review/{task_id}/task.md"
|
||||
"actor": "arch-ai",
|
||||
"output": ["docs/01_产品需求/PRD.md", "review/{task_id}/task.md"]
|
||||
},
|
||||
{
|
||||
"name": "架构设计",
|
||||
"actor": "arch-ai",
|
||||
"input": ["docs/01_产品需求/PRD.md", "review/{task_id}/task.md"],
|
||||
"output": ["docs/02_系统架构/", "review/{task_id}/impact.md", "review/{task_id}/acceptance.md"]
|
||||
},
|
||||
{
|
||||
"name": "开发实现",
|
||||
"actor": "dev-ai",
|
||||
"input": "review/{task_id}/task.md",
|
||||
"output": ["projects/*/src/", "projects/*/docs/", "review/{task_id}/impact.md", "review/{task_id}/acceptance.md"]
|
||||
"input": ["review/{task_id}/task.md", "review/{task_id}/acceptance.md"],
|
||||
"output": ["projects/*/src/", "projects/*/docs/"]
|
||||
},
|
||||
{
|
||||
"name": "测试验证",
|
||||
|
||||
Reference in New Issue
Block a user