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.
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/AGENTS.md +1 -1
- package/README.md +11 -5
- package/README.zh-CN.md +12 -6
- package/bin/claude-everything-workflow.js +16 -4
- package/commands/code-review.md +4 -4
- package/docs/plugins.md +20 -2
- package/evals/routing-scenarios.json +8 -9
- package/package.json +1 -1
- package/scripts/eval-scenarios.js +49 -15
- package/scripts/install-antigravity.js +501 -0
- package/scripts/install-rules.js +186 -32
- package/scripts/install.ps1 +75 -4
- package/scripts/install.sh +72 -20
- package/scripts/legacy-common-rule-hashes.json +2 -1
- package/scripts/verify/install-rules.test.js +367 -7
- package/scripts/verify/metadata-checks.js +23 -0
- package/scripts/verify/scenario-checks.test.js +52 -10
- package/skills/README.md +1 -1
- package/skills/code-review/SKILL.md +15 -21
- package/skills/feature-acceptance/SKILL.md +1 -1
- package/skills/implement/SKILL.md +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: code-review
|
|
3
|
-
description: Review a fixed diff and confirmed scope
|
|
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.
|
|
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
|
-
|
|
|
40
|
-
|
|
|
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
|
|
44
|
-
project.
|
|
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
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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
|
-
|
|
52
|
-
`
|
|
53
|
-
|
|
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
|
|
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`
|
|
42
|
-
|
|
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
|
最终改动的证据可以复用;新改动、失败或未决风险才触发重跑。记录实际结果、未运行项和剩余风险。
|