[moz] docs(§21): fix 姜维 S1 分支名前缀按 type + S2 sub Issue body 加 Depends
This commit is contained in:
@@ -639,7 +639,7 @@ issue_closed 走 auto-pass(和 review_merged 一样),纯通知不需要 ag
|
||||
3.【认领】如果你需要参与,创建 sub Issue 并在 parent Issue comment 注册:
|
||||
- 创建 sub Issue:POST /repos/{repo}/issues
|
||||
title: "[repo][sub][parent #{N}] 任务名"
|
||||
body: "Parent: #{N}\n## 任务\n..."
|
||||
body: "Parent: #{N}\nDepends: #M (如果有前序依赖)\n## 任务\n..."
|
||||
assignees: ["{你的 agent_id}"]
|
||||
- 创建后在 parent Issue comment:"[{你的角色名}] 我创建了 sub #{M}: {任务名},我负责 {简述}"
|
||||
4.【风险】如果你发现风险、不合理的假设、或遗漏的环节,直接提出
|
||||
@@ -713,7 +713,7 @@ agent 的 comment + Gitea 自动引用 = parent Issue 中有完整的 sub 注册
|
||||
| 阶段 | 谁创建分支? | 分支名 |
|
||||
|------|-----------|-------|
|
||||
| Discussion(Phase 3) | ❌ 不创建分支 | — |
|
||||
| Executor(Phase 4) | agent 收到 executor prompt 后自己创建 | `fix/{sub_issue_number}-{brief}` |
|
||||
| Executor(Phase 4) | agent 收到 executor prompt 后自己创建 | `{type}/{sub_issue_number}-{brief}`(type 按 Issue 类型:fix/feat/impl/docs/refactor/test) |
|
||||
|
||||
**executor prompt 的 steps 中明确指定分支名**:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user