cc-devflow 4.5.12 → 4.5.13
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/skills/cc-review/CHANGELOG.md +6 -0
- package/.claude/skills/cc-review/PLAYBOOK.md +2 -2
- package/.claude/skills/cc-review/SKILL.md +31 -14
- package/.claude/skills/cc-review/references/implementation-review-branch.md +1 -1
- package/.claude/skills/cc-review/references/plan-review-branch.md +1 -1
- package/CHANGELOG.md +8 -0
- package/docs/examples/example-bindings.json +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# CC-Review Changelog
|
|
2
2
|
|
|
3
|
+
## 2.2.0 - 2026-05-13
|
|
4
|
+
|
|
5
|
+
- split review exits by branch: plan and investigation reviews write findings directly into `task.md`
|
|
6
|
+
- make implementation reviews return findings plus repair options and wait for the user's chosen fix before editing code
|
|
7
|
+
- remove all other local review outputs; PR reviews are response/GitHub-only
|
|
8
|
+
|
|
3
9
|
## 2.1.2 - 2026-05-13
|
|
4
10
|
|
|
5
11
|
- remove `no-op` routing from review output and use `stop` for clean/no-action endings
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
5. 可用 subagent 时可以派发只读 reviewer;raw output 留在会话里,主线程验证后再进入最终 findings。
|
|
14
14
|
6. 不固定 finding 数量。证据决定输出。
|
|
15
15
|
7. 每条 finding 必须有 evidence、impact、recommendation 和 route。
|
|
16
|
-
8.
|
|
16
|
+
8. 计划 review 的结果直接写回 `task.md`;执行 review 的结果先询问用户选择修复方案;只差验收,进 `cc-check`。
|
|
17
17
|
|
|
18
18
|
## Review Standard
|
|
19
19
|
|
|
@@ -30,4 +30,4 @@
|
|
|
30
30
|
|
|
31
31
|
## Decision Rule
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
计划 review 发现的范围、架构、用户可见行为、公共 API、测试策略问题,必须直接写进 `task.md` 的合同、任务或开放问题里。执行 review 发现的问题必须在当前回复里给出修复选项,并询问用户是否修复以及选择哪种方案;用户选择后再直接修改代码并验证。
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-review
|
|
3
|
-
version: 2.
|
|
4
|
-
description: Use when a plan, bug fix, PR, or implementation diff needs review findings.
|
|
3
|
+
version: 2.2.0
|
|
4
|
+
description: Use when a plan, bug fix, PR, or implementation diff needs review findings. Plan reviews write findings into task.md; implementation reviews ask the user to choose a repair option before fixing.
|
|
5
5
|
triggers:
|
|
6
6
|
- 深度 review 这个方案
|
|
7
7
|
- review 这个复杂需求
|
|
@@ -21,14 +21,10 @@ writes:
|
|
|
21
21
|
- path: current response
|
|
22
22
|
durability: ephemeral
|
|
23
23
|
required: true
|
|
24
|
-
- path: devflow/changes/<change-key>/
|
|
24
|
+
- path: devflow/changes/<change-key>/task.md
|
|
25
25
|
durability: durable
|
|
26
26
|
required: false
|
|
27
|
-
when:
|
|
28
|
-
- path: devflow/postmortems/incidents/<date>-<change-key>.md
|
|
29
|
-
durability: durable
|
|
30
|
-
required: false
|
|
31
|
-
when: review exposes a recurring failure worth preserving
|
|
27
|
+
when: plan or investigation contract review changes the task contract
|
|
32
28
|
effects:
|
|
33
29
|
- optional deep review
|
|
34
30
|
- read-only reviewer agent dispatch
|
|
@@ -43,6 +39,8 @@ entry_gate:
|
|
|
43
39
|
exit_criteria:
|
|
44
40
|
- Findings are listed first, ordered by severity and backed by concrete file/line, command, diff, UI, log, or missing-evidence proof.
|
|
45
41
|
- Every finding has impact, recommendation, and route: cc-plan, cc-do, cc-check, cc-act, or stop.
|
|
42
|
+
- Plan or investigation review findings are written into the relevant `task.md` section before exit.
|
|
43
|
+
- Implementation review findings are returned with concrete repair options and a blocking user choice; no repair happens until the user selects an option.
|
|
46
44
|
- In-scope code smells are either findings, explicit defers, or clean with reason.
|
|
47
45
|
- If no issues are found, the answer says so and names residual test or evidence risk.
|
|
48
46
|
- No process file was created.
|
|
@@ -69,9 +67,9 @@ tool_budget:
|
|
|
69
67
|
|
|
70
68
|
## Role
|
|
71
69
|
|
|
72
|
-
`cc-review`
|
|
70
|
+
`cc-review` 是可选的深度审查节点。它只做一件事:找出当前范围内真实存在的问题,并把问题放到正确出口。
|
|
73
71
|
|
|
74
|
-
|
|
72
|
+
它不写 review 过程产物,不维护 review 状态机。计划 review 的事实写回 `task.md`;执行 review 的事实先进入当前回复,等用户选择修复方案后再修。PR review 只回对话或 GitHub review。
|
|
75
73
|
|
|
76
74
|
## Iron Law
|
|
77
75
|
|
|
@@ -99,6 +97,13 @@ Review 的价值在于问题质量,不在于过程记录数量。没有证据
|
|
|
99
97
|
| `PR` | 用户要求 review PR | PR diff, body accuracy, CI/test proof, merge risk |
|
|
100
98
|
| `mixed` | 方案和实现都变了 | plan contract first, then implementation conformance |
|
|
101
99
|
|
|
100
|
+
## Exit Contract
|
|
101
|
+
|
|
102
|
+
- Plan / investigation review: directly update `devflow/changes/<change-key>/task.md` with the review findings, decision options, blocked assumptions, and required task changes. Final response only summarizes what was written and the next route.
|
|
103
|
+
- Implementation review: do not edit code during the review pass. Return findings plus repair options, ask the user which option to apply, and stop. After the user chooses, apply the selected repair directly and verify it.
|
|
104
|
+
- PR review: return findings in the response or GitHub review only; do not write local files.
|
|
105
|
+
- Clean review: say `No findings`, name residual verification risk, and route to `cc-check` or `stop`.
|
|
106
|
+
|
|
102
107
|
## Finding Rules
|
|
103
108
|
|
|
104
109
|
每条 finding 必须包含:
|
|
@@ -118,11 +123,23 @@ Review 的价值在于问题质量,不在于过程记录数量。没有证据
|
|
|
118
123
|
|
|
119
124
|
## Output
|
|
120
125
|
|
|
121
|
-
|
|
126
|
+
按 review 类型输出:
|
|
127
|
+
|
|
128
|
+
### Plan / Investigation Review
|
|
129
|
+
|
|
130
|
+
先写 `task.md`,再简短回复:
|
|
131
|
+
|
|
132
|
+
1. Findings written: `task.md` path and sections changed.
|
|
133
|
+
2. Required task changes: task IDs or contract sections updated.
|
|
134
|
+
3. Route: `cc-plan` / `cc-investigate` / `cc-do` / `stop`.
|
|
135
|
+
|
|
136
|
+
### Implementation Review
|
|
137
|
+
|
|
138
|
+
只在对话里组织结果并询问用户:
|
|
122
139
|
|
|
123
140
|
1. Findings: severity, file/line, evidence, impact, fix.
|
|
124
|
-
2.
|
|
125
|
-
3.
|
|
126
|
-
4.
|
|
141
|
+
2. Repair options: smallest safe fix, broader cleanup, defer with risk.
|
|
142
|
+
3. Recommendation: one option and why.
|
|
143
|
+
4. User choice needed: ask which option to apply.
|
|
127
144
|
|
|
128
145
|
没有问题时直接说 `No findings`,并说明还没验证的风险。
|
|
@@ -9,4 +9,4 @@ Read:
|
|
|
9
9
|
|
|
10
10
|
Review behavior, regression risk, security, reliability, test quality, and code smells inside the current blast radius.
|
|
11
11
|
|
|
12
|
-
Findings stay in the response
|
|
12
|
+
Findings stay in the response. Ask which repair option to apply before editing code. Do not write process files.
|
|
@@ -6,4 +6,4 @@ Read:
|
|
|
6
6
|
2. relevant roadmap or issue text
|
|
7
7
|
3. affected code/tests/docs
|
|
8
8
|
|
|
9
|
-
Find scope, architecture, test-strategy, and ambiguity problems.
|
|
9
|
+
Find scope, architecture, test-strategy, and ambiguity problems. Write findings into `task.md`; final response only summarizes the changed sections. Do not write separate files.
|
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [4.5.13] - 2026-05-13
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Updated `cc-review` so plan and investigation reviews write findings directly into `task.md`.
|
|
17
|
+
- Updated implementation reviews to return repair options and wait for the user's selected fix before editing code.
|
|
18
|
+
- Removed all other local `cc-review` output surfaces.
|
|
19
|
+
|
|
12
20
|
## [4.5.12] - 2026-05-13
|
|
13
21
|
|
|
14
22
|
### Changed
|