claude-everything-workflow 0.2.9 → 0.2.11

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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: code-review
3
- description: Review a fixed diff and confirmed scope; use self-review for verifiable low-risk work and independent review as risk grows.
3
+ description: Review a fixed diff and confirmed scope with an independent read-only subagent, escalating to dual-axis review as risk grows.
4
4
  ---
5
5
 
6
6
  # Code Review
@@ -31,37 +31,31 @@ evidence is `BLOCKED`, not `PASS`.
31
31
 
32
32
  ## Select review depth
33
33
 
34
- `--mode auto` is the default. Select by risk and verification evidence, not file count, model generation
35
- or confidence. State the selected mode and reason briefly.
34
+ `--mode auto` is the default. Always delegate review to a fresh independent read-only subagent (`independent` or `dual`), selected by risk and verification evidence, not file count, model generation or confidence. State the selected mode and reason briefly.
36
35
 
37
36
  | Mode | Trigger | Execution |
38
37
  | --- | --- | --- |
39
- | self | Clear requirements, local and reversible low-risk changes, with direct checks or relevant tests covering the result; no unresolved risk or repeated unexpected failures | The implementing agent checks the diff against requirements and relevant rules, then provides verification evidence; no review subagent |
40
- | independent | Cross-module behavior, complex dependencies, hidden constraints, insufficient verification, repeated unexpected failures, or an explicit request for independent review | One fresh read-only subagent checks Standards and Spec against the same package |
41
- | dual | High-risk changes such as authorization, persistent data, destructive operations or public contracts, or an explicit request for two isolated axes | Spawn two parallel subagents: separate Standards and Spec reviewers |
38
+ | independent | Standard changes with clear scope and verification evidence, or an explicit request for single-subagent review | One fresh read-only subagent checks Standards and Spec against the same frozen package |
39
+ | dual | High-risk changes such as authorization, persistent data, destructive operations or public contracts, insufficient verification, repeated unexpected failures, or an explicit request for two isolated axes | Spawn two parallel subagents: separate Standards and Spec reviewers |
42
40
 
43
- `--mode self|independent|dual` may request a mode, but cannot weaken the review required by the scope or
44
- project. Self-review requires every self condition above; otherwise use independent, or dual for high
45
- risk. Reassess if the scope grows or verification exposes a gap. Review never replaces required tests.
41
+ `--mode auto|independent|dual` may request a mode, but cannot weaken the review required by the scope or
42
+ project. Reassess if the scope grows or verification exposes a gap. Review never replaces required tests.
46
43
 
47
- For self-review, keep the result concise and use relevant existing checks or direct inspection; do not
48
- load the independent-review prompts, invent low-value tests, or write a long checklist just for ceremony.
49
- The implementing agent cannot serve as its own independent reviewer.
44
+ The implementing agent must never review its own diff (no self-review mode is offered).
45
+ Load `references/standards-reviewer-prompt.md` and `references/spec-reviewer-prompt.md` only for the
46
+ reviewer(s) that need them (`independent` receives both; `dual` passes each prompt only to its respective
47
+ subagent). Repository standards override smell heuristics. Each independent context receives only the
48
+ frozen package, relevant rules, confirmed scope and verification evidence. Reviewers are read-only and
49
+ must not influence each other.
50
50
 
51
- For independent or dual review, load `references/standards-reviewer-prompt.md` and
52
- `references/spec-reviewer-prompt.md` only for the reviewer that needs them. Repository standards override
53
- smell heuristics. Each independent context receives only the frozen package, relevant rules, confirmed
54
- scope and verification evidence. Reviewers are read-only and must not influence each other.
55
-
56
- When independent or dual review is selected, lack of agent capacity is never a reason to downgrade to
57
- self. If parallelism is unavailable, run dual axes sequentially in fresh isolated contexts. If no
58
- independent context is available, return `BLOCKED`, mark review `NOT RUN`, and do not claim completion.
51
+ Lack of agent capacity is never a reason to fall back to self-review. If parallelism is unavailable during
52
+ `dual` review, run dual axes sequentially in fresh isolated contexts. If no independent context is
53
+ available, return `BLOCKED`, mark review `NOT RUN`, and do not claim completion.
59
54
 
60
55
  ## Report and follow-up
61
56
 
62
57
  Report mode, base and scope source, then separate `Standards` and `Spec` findings with evidence and severity.
63
58
  Do not merge or rerank findings across axes. Include checks not run and remaining risks.
64
- For self-review with no findings, a short conclusion and verification evidence are sufficient.
65
59
 
66
60
  Fix Critical/Important findings before completion. Recheck affected axes against the same base and updated
67
61
  package; rerun both when scope, shared behavior or review assumptions change. Reuse checks whose relevant
@@ -14,7 +14,7 @@ description: "建立或维护项目验收与 Playwright E2E,执行真实流程
14
14
  ## 项目验收与 E2E 能力
15
15
 
16
16
  - **建立 / 维护验收能力**:读取 [项目验收能力](references/project-verification.md),复用目标项目的驱动与测试入口,生成或更新项目本地操作说明和功能地图,并实际跑通。
17
- - **可重跑 E2E / Playwright**:需要新增、维护可提交并在 CI 重跑的浏览器测试或排查 flaky 时,读取 [可重跑 E2E 测试](references/e2e-testing.md)(按需再读 [playwright-patterns.md](references/playwright-patterns.md)),必要时委派 `agents/e2e-runner.md`。
17
+ - **可重跑 E2E / Playwright**:需要新增、维护可在 CI 重跑的浏览器测试,或在根因确认后修复不稳定用例时,读取 [可重跑 E2E 测试](references/e2e-testing.md)(按需再读 [playwright-patterns.md](references/playwright-patterns.md)),必要时委派 `agents/e2e-runner.md`。
18
18
  - **执行验收**:先查项目指令指定的验收入口和功能地图,复用已验证命令,按本次改动选择受影响用例;没有地图时仍可完成一次性验收,不强制脚手架。工具失效时保留失败证据;只在授权范围内修复,不通过删用例或改成功标准取得通过。
19
19
 
20
20
  CEW 维护通用方法;平台命令、选择器、账号前置条件和功能地图由目标项目维护。
@@ -38,8 +38,8 @@ disable-model-invocation: true
38
38
  已确认失败原因正确的预期 TDD RED 继续 GREEN,不触发调试。其他失败按
39
39
  `systematic-debugging` 的分级入口处理,不跳过真实失败。
40
40
  2. 用 pre-delivery base 冻结包含 task-owned committed、staged、unstaged、untracked 的完整审查包,
41
- 范围合同作为 Spec source,按 `skills/code-review/SKILL.md` 选择相称的 review 模式。
42
- 满足该 Skill 的低风险与验证条件时可自审;需要独立审查却无法启动时不得降级。
41
+ 范围合同作为 Spec source,按 `skills/code-review/SKILL.md` 启动独立只读子代理(`independent` 或 `dual`)完成审查;
42
+ 实施者不得自我审查,独立审查不可用时返回 `BLOCKED`,不得降级。
43
43
  修复 Critical/Important findings 后复核受影响的验收与审查项,不把部分完成报告为交付完成。
44
44
  3. 逐条核对验收,按 `rules/common/testing.md` 运行 fresh commands。已在当前阶段运行且仍对应
45
45
  最终改动的证据可以复用;新改动、失败或未决风险才触发重跑。记录实际结果、未运行项和剩余风险。