docs(workflow): 工作流重构——3阶段状态机+独立审查代理+阶段技能体系
- 简化 game-pm:删除质量门审查和风险检测,改为进度检查+任务分配调度器 - 重写 game-reviewer:改为子代理模式,角色完成工作后自行启动,使用 ai-reviewer 账号 - 新增 project-initializer 技能:项目冷启动初始化 - 新增 stage-sketch/roadmap/iteration 技能:3 阶段任务序列管理 - 修改 game-designer/game-dev:添加审查交接流程 - 更新 gitea-collab/quality-gate-review/development-workflow - gitea.js:添加 reviewer 角色 + 5 个新标签(review:pass/fail, stage:sketch/roadmap/iteration)
This commit is contained in:
+8
-1
@@ -29,6 +29,13 @@ const STANDARD_LABELS = [
|
||||
{ name: 'gate:art-fail', color: '#d73a49', description: '美术资产验收门 ❌' },
|
||||
{ name: 'gate:impl-pass', color: '#28a745', description: '程序实现验收门 ✅' },
|
||||
{ name: 'gate:impl-fail', color: '#d73a49', description: '程序实现验收门 ❌' },
|
||||
// Review (2)
|
||||
{ name: 'review:pass', color: '#28a745', description: '审查已通过 ✅' },
|
||||
{ name: 'review:fail', color: '#d73a49', description: '审查未通过 ❌' },
|
||||
// Stage (3)
|
||||
{ name: 'stage:sketch', color: '#bfd4f2', description: '草图阶段' },
|
||||
{ name: 'stage:roadmap', color: '#d4c5f9', description: '总路线阶段' },
|
||||
{ name: 'stage:iteration', color: '#fce6c0', description: '迭代阶段' },
|
||||
];
|
||||
|
||||
// ═══════════════════════════════════════════════════
|
||||
@@ -702,7 +709,7 @@ function resolveToken(options) {
|
||||
// 优先级 2:--role 参数
|
||||
const role = options.role;
|
||||
if (role) {
|
||||
const validRoles = ['pm', 'designer', 'dev', 'artist'];
|
||||
const validRoles = ['pm', 'designer', 'dev', 'artist', 'reviewer'];
|
||||
if (!validRoles.includes(role)) {
|
||||
console.error(`❌ 无效角色: ${role},可选: ${validRoles.join(', ')}`);
|
||||
process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user