@ranger1/dx 0.1.22 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,18 +34,20 @@ agent: sisyphus
|
|
|
34
34
|
- 若仍返回 `{"ok":false,"fixFile":"..."}`:第 2 次 Task `pr-fix` → 再 Task `pr-precheck`
|
|
35
35
|
- 若仍不是 `{"ok":true}`:终止并回传错误(建议:`{"error":"PRECHECK_NOT_CLEAN_AFTER_FIX"}`)
|
|
36
36
|
|
|
37
|
-
1. Task: `pr-context`
|
|
37
|
+
1. Task: `pr-context` **(必须先完成,不可与 Step 2 并行)**
|
|
38
38
|
|
|
39
39
|
- prompt 必须包含:`PR #{{PR_NUMBER}}`、`round: <ROUND>`
|
|
40
40
|
- 若返回 `{"error":"..."}`:立即终止本轮并回传错误(不再调用 reviewers)
|
|
41
41
|
- 取出:`contextFile`、`runId`、`headOid`(如有)
|
|
42
|
+
- **CRITICAL**: 必须等待此 Task 成功完成并获取到 `contextFile` 后,才能进入 Step 2
|
|
42
43
|
|
|
43
|
-
2. Task(并行): `codex-reviewer` + `claude-reviewer` + `gemini-reviewer`
|
|
44
|
+
2. Task(并行): `codex-reviewer` + `claude-reviewer` + `gemini-reviewer` **(依赖 Step 1 的 contextFile)**
|
|
44
45
|
|
|
46
|
+
- **DEPENDENCY**: 这三个 reviewers 依赖 Step 1 返回的 `contextFile`,因此**必须等 Step 1 完成后才能并行启动**
|
|
45
47
|
- 每个 reviewer prompt 必须包含:
|
|
46
48
|
- `PR #{{PR_NUMBER}}`
|
|
47
49
|
- `round: <ROUND>`
|
|
48
|
-
- `contextFile: <path
|
|
50
|
+
- `contextFile: <path>`(来自 Step 1 的输出)
|
|
49
51
|
- reviewer 默认读 `contextFile`;必要时允许用 `git/gh` 只读命令拿 diff
|
|
50
52
|
- 忽略问题:1.格式化代码引起的噪音 2.已经lint检查以外的格式问题
|
|
51
53
|
- 特别关注: 逻辑、安全、性能、可维护性
|