opencode-core-rules-injector 1.2.0 → 1.2.1
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.
- package/core-rules.md +6 -8
- package/package.json +1 -1
package/core-rules.md
CHANGED
|
@@ -29,16 +29,14 @@
|
|
|
29
29
|
- 使用 Superpowers 的 using-git-worktrees 技能,在 `.worktree/` 下创建隔离功能分支
|
|
30
30
|
- 使用 Subagent-Driven Development 按 Plan 顺序执行
|
|
31
31
|
- Task 0 到 Task N 全自动推进,无需用户确认
|
|
32
|
-
- 每个 Task
|
|
33
|
-
1. 子 Agent
|
|
34
|
-
2. 子 Agent Code Review
|
|
35
|
-
3. 子 Agent QA
|
|
36
|
-
4.
|
|
37
|
-
5. QA 独立子 Agent 明确报告全绿 → 主 Agent commit
|
|
32
|
+
- 每个 Task 完整的闭环(所有子 Agent 都是严格上下文隔离的独立子 Agent):
|
|
33
|
+
1. 子 Agent TDD 编码 + 单元测试(先写测试→看失败→写实现→全绿)
|
|
34
|
+
2. 子 Agent Code Review(只读审核,发现问题报告但不修改)→ 有问题则回到步骤 1
|
|
35
|
+
3. 子 Agent QA 全面质量审核(只读审核,发现问题报告但不修改)→ 有问题则回到步骤 1
|
|
36
|
+
4. 全绿 → 子 Agent 报告全绿
|
|
38
37
|
|
|
39
38
|
### 3. Commit 阶段
|
|
40
|
-
-
|
|
41
|
-
- 任何非 QA 独立子 Agent 的全绿声明都不可信,不能作为 commit 依据
|
|
39
|
+
- 只有子 Agent 明确报告全绿,主 Agent 才能 commit
|
|
42
40
|
- 每个 commit 对应一个有意义的 Task 提交
|
|
43
41
|
- 全部 Task 完成后向用户汇报最终结果
|
|
44
42
|
|