claude-code-workflow 7.2.23 → 7.2.25
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/.ccw/workflows/cli-tools-usage.md +123 -521
- package/.claude/skills/brainstorm/SKILL.md +408 -408
- package/.claude/skills/review-cycle/SKILL.md +132 -132
- package/.claude/skills/spec-generator/SKILL.md +1 -1
- package/.claude/skills/team-designer/phases/02-scaffold-generation.md +1 -1
- package/.claude/skills/team-lifecycle-v4/SKILL.md +1 -1
- package/.claude/skills/team-review/SKILL.md +1 -1
- package/.claude/skills/team-ultra-analyze/SKILL.md +1 -1
- package/.claude/skills/workflow-multi-cli-plan/SKILL.md +1 -1
- package/.claude/skills/workflow-plan/SKILL.md +1 -1
- package/.claude/skills/workflow-test-fix/SKILL.md +1 -1
- package/.codex/skills/analyze-with-file/SKILL.md +966 -966
- package/.codex/skills/issue-discover/SKILL.md +361 -361
- package/.codex/skills/review-cycle/SKILL.md +1 -1
- package/.codex/skills/roadmap-with-file/SKILL.md +901 -901
- package/.codex/skills/spec-generator/SKILL.md +425 -425
- package/.codex/skills/spec-setup/SKILL.md +669 -669
- package/.codex/skills/team-arch-opt/SKILL.md +242 -175
- package/.codex/skills/team-arch-opt/roles/analyzer/role.md +78 -78
- package/.codex/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.codex/skills/team-arch-opt/roles/coordinator/commands/monitor.md +246 -204
- package/.codex/skills/team-arch-opt/roles/coordinator/role.md +196 -184
- package/.codex/skills/team-arch-opt/roles/designer/role.md +115 -115
- package/.codex/skills/team-arch-opt/roles/refactorer/role.md +102 -102
- package/.codex/skills/team-arch-opt/roles/reviewer/role.md +111 -111
- package/.codex/skills/team-arch-opt/roles/validator/role.md +115 -115
- package/.codex/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.codex/skills/team-brainstorm/SKILL.md +72 -4
- package/.codex/skills/team-brainstorm/roles/challenger/role.md +61 -61
- package/.codex/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.codex/skills/team-brainstorm/roles/coordinator/commands/monitor.md +212 -171
- package/.codex/skills/team-brainstorm/roles/coordinator/role.md +172 -160
- package/.codex/skills/team-brainstorm/roles/evaluator/role.md +56 -56
- package/.codex/skills/team-brainstorm/roles/ideator/role.md +69 -69
- package/.codex/skills/team-brainstorm/roles/synthesizer/role.md +57 -57
- package/.codex/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.codex/skills/team-coordinate/SKILL.md +71 -3
- package/.codex/skills/team-coordinate/roles/coordinator/commands/monitor.md +45 -5
- package/.codex/skills/team-coordinate/roles/coordinator/role.md +402 -389
- package/.codex/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.codex/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.codex/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.codex/skills/team-designer/SKILL.md +153 -153
- package/.codex/skills/team-designer/phases/01-requirements-analysis.md +250 -250
- package/.codex/skills/team-designer/phases/02-scaffold-generation.md +228 -228
- package/.codex/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.codex/skills/team-designer/phases/04-validation.md +320 -320
- package/.codex/skills/team-executor/SKILL.md +29 -2
- package/.codex/skills/team-executor/roles/executor/commands/monitor.md +23 -15
- package/.codex/skills/team-frontend/SKILL.md +77 -3
- package/.codex/skills/team-frontend/roles/analyst/role.md +92 -92
- package/.codex/skills/team-frontend/roles/architect/role.md +86 -86
- package/.codex/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.codex/skills/team-frontend/roles/coordinator/commands/monitor.md +222 -188
- package/.codex/skills/team-frontend/roles/coordinator/role.md +189 -177
- package/.codex/skills/team-frontend/roles/developer/role.md +93 -93
- package/.codex/skills/team-frontend/roles/qa/role.md +79 -79
- package/.codex/skills/team-frontend/specs/pipelines.md +76 -76
- package/.codex/skills/team-frontend-debug/SKILL.md +66 -3
- package/.codex/skills/team-frontend-debug/roles/analyzer/role.md +208 -208
- package/.codex/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.codex/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +198 -198
- package/.codex/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +177 -143
- package/.codex/skills/team-frontend-debug/roles/coordinator/role.md +164 -152
- package/.codex/skills/team-frontend-debug/roles/fixer/role.md +147 -147
- package/.codex/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
- package/.codex/skills/team-frontend-debug/roles/tester/role.md +231 -231
- package/.codex/skills/team-frontend-debug/roles/verifier/role.md +172 -172
- package/.codex/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.codex/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.codex/skills/team-issue/SKILL.md +83 -4
- package/.codex/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.codex/skills/team-issue/roles/coordinator/commands/dispatch.md +273 -273
- package/.codex/skills/team-issue/roles/coordinator/commands/monitor.md +235 -194
- package/.codex/skills/team-issue/roles/coordinator/role.md +206 -194
- package/.codex/skills/team-issue/roles/explorer/role.md +94 -94
- package/.codex/skills/team-issue/roles/implementer/role.md +87 -87
- package/.codex/skills/team-issue/roles/integrator/role.md +84 -84
- package/.codex/skills/team-issue/roles/planner/role.md +81 -81
- package/.codex/skills/team-issue/roles/reviewer/role.md +86 -86
- package/.codex/skills/team-issue/specs/pipelines.md +124 -124
- package/.codex/skills/team-lifecycle-v4/MIGRATION-PLAN.md +6 -6
- package/.codex/skills/team-lifecycle-v4/SKILL.md +305 -242
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +1 -1
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +66 -24
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/role.md +13 -1
- package/.codex/skills/team-lifecycle-v4/roles/supervisor/role.md +1 -1
- package/.codex/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.codex/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.codex/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.codex/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.codex/skills/team-perf-opt/SKILL.md +68 -3
- package/.codex/skills/team-perf-opt/roles/benchmarker/role.md +89 -89
- package/.codex/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.codex/skills/team-perf-opt/roles/coordinator/commands/monitor.md +35 -1
- package/.codex/skills/team-perf-opt/roles/coordinator/role.md +179 -167
- package/.codex/skills/team-perf-opt/roles/optimizer/role.md +97 -97
- package/.codex/skills/team-perf-opt/roles/profiler/role.md +73 -73
- package/.codex/skills/team-perf-opt/roles/reviewer/role.md +75 -75
- package/.codex/skills/team-perf-opt/roles/strategist/role.md +94 -94
- package/.codex/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.codex/skills/team-planex/SKILL.md +65 -3
- package/.codex/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.codex/skills/team-planex/roles/coordinator/commands/monitor.md +210 -164
- package/.codex/skills/team-planex/roles/coordinator/role.md +171 -159
- package/.codex/skills/team-planex/roles/executor/role.md +91 -91
- package/.codex/skills/team-planex/roles/planner/role.md +112 -112
- package/.codex/skills/team-planex/specs/pipelines.md +93 -93
- package/.codex/skills/team-quality-assurance/SKILL.md +60 -3
- package/.codex/skills/team-quality-assurance/roles/analyst/role.md +80 -80
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +108 -108
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +243 -209
- package/.codex/skills/team-quality-assurance/roles/coordinator/role.md +176 -164
- package/.codex/skills/team-quality-assurance/roles/executor/role.md +66 -66
- package/.codex/skills/team-quality-assurance/roles/generator/role.md +68 -68
- package/.codex/skills/team-quality-assurance/roles/scout/role.md +67 -67
- package/.codex/skills/team-quality-assurance/roles/strategist/role.md +71 -71
- package/.codex/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.codex/skills/team-review/SKILL.md +58 -3
- package/.codex/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.codex/skills/team-review/roles/coordinator/commands/dispatch.md +90 -90
- package/.codex/skills/team-review/roles/coordinator/commands/monitor.md +225 -185
- package/.codex/skills/team-review/roles/coordinator/role.md +175 -163
- package/.codex/skills/team-review/roles/fixer/role.md +76 -76
- package/.codex/skills/team-review/roles/reviewer/role.md +68 -68
- package/.codex/skills/team-review/roles/scanner/role.md +71 -71
- package/.codex/skills/team-review/specs/pipelines.md +102 -102
- package/.codex/skills/team-roadmap-dev/SKILL.md +55 -3
- package/.codex/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.codex/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +502 -468
- package/.codex/skills/team-roadmap-dev/roles/coordinator/role.md +335 -322
- package/.codex/skills/team-roadmap-dev/roles/executor/role.md +71 -71
- package/.codex/skills/team-roadmap-dev/roles/planner/role.md +76 -76
- package/.codex/skills/team-roadmap-dev/roles/verifier/role.md +74 -74
- package/.codex/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.codex/skills/team-tech-debt/SKILL.md +56 -3
- package/.codex/skills/team-tech-debt/roles/assessor/role.md +69 -69
- package/.codex/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.codex/skills/team-tech-debt/roles/coordinator/commands/monitor.md +272 -231
- package/.codex/skills/team-tech-debt/roles/coordinator/role.md +172 -160
- package/.codex/skills/team-tech-debt/roles/executor/role.md +76 -76
- package/.codex/skills/team-tech-debt/roles/planner/role.md +69 -69
- package/.codex/skills/team-tech-debt/roles/scanner/role.md +82 -82
- package/.codex/skills/team-tech-debt/roles/validator/role.md +75 -75
- package/.codex/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.codex/skills/team-testing/SKILL.md +72 -3
- package/.codex/skills/team-testing/roles/analyst/role.md +95 -95
- package/.codex/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.codex/skills/team-testing/roles/coordinator/commands/dispatch.md +106 -106
- package/.codex/skills/team-testing/roles/coordinator/commands/monitor.md +283 -242
- package/.codex/skills/team-testing/roles/coordinator/role.md +184 -172
- package/.codex/skills/team-testing/roles/executor/role.md +96 -96
- package/.codex/skills/team-testing/roles/generator/role.md +95 -95
- package/.codex/skills/team-testing/roles/strategist/role.md +83 -83
- package/.codex/skills/team-testing/specs/pipelines.md +101 -101
- package/.codex/skills/team-uidesign/SKILL.md +65 -3
- package/.codex/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.codex/skills/team-uidesign/roles/coordinator/commands/dispatch.md +156 -156
- package/.codex/skills/team-uidesign/roles/coordinator/commands/monitor.md +234 -194
- package/.codex/skills/team-uidesign/roles/coordinator/role.md +211 -199
- package/.codex/skills/team-uidesign/roles/designer/role.md +69 -69
- package/.codex/skills/team-uidesign/roles/implementer/role.md +72 -72
- package/.codex/skills/team-uidesign/roles/researcher/role.md +82 -82
- package/.codex/skills/team-uidesign/roles/reviewer/role.md +67 -67
- package/.codex/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.codex/skills/team-ultra-analyze/SKILL.md +73 -3
- package/.codex/skills/team-ultra-analyze/roles/analyst/role.md +90 -90
- package/.codex/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.codex/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +50 -9
- package/.codex/skills/team-ultra-analyze/roles/coordinator/role.md +255 -243
- package/.codex/skills/team-ultra-analyze/roles/discussant/role.md +104 -104
- package/.codex/skills/team-ultra-analyze/roles/explorer/role.md +74 -74
- package/.codex/skills/team-ultra-analyze/roles/synthesizer/role.md +78 -78
- package/.codex/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.codex/skills/team-ux-improve/SKILL.md +64 -3
- package/.codex/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.codex/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +233 -233
- package/.codex/skills/team-ux-improve/roles/coordinator/commands/monitor.md +195 -160
- package/.codex/skills/team-ux-improve/roles/coordinator/role.md +170 -158
- package/.codex/skills/team-ux-improve/roles/designer/role.md +122 -122
- package/.codex/skills/team-ux-improve/roles/diagnoser/role.md +93 -93
- package/.codex/skills/team-ux-improve/roles/explorer/role.md +77 -77
- package/.codex/skills/team-ux-improve/roles/implementer/role.md +102 -102
- package/.codex/skills/team-ux-improve/roles/scanner/role.md +93 -93
- package/.codex/skills/team-ux-improve/roles/tester/role.md +84 -84
- package/.codex/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.codex/skills/workflow-test-fix-cycle/SKILL.md +402 -402
- package/README.md +1 -0
- package/package.json +1 -1
- package/.claude/skills/team-iterdev/SKILL.md +0 -127
- package/.claude/skills/team-iterdev/roles/architect/role.md +0 -65
- package/.claude/skills/team-iterdev/roles/coordinator/commands/analyze.md +0 -62
- package/.claude/skills/team-iterdev/roles/coordinator/commands/dispatch.md +0 -234
- package/.claude/skills/team-iterdev/roles/coordinator/commands/monitor.md +0 -182
- package/.claude/skills/team-iterdev/roles/coordinator/role.md +0 -153
- package/.claude/skills/team-iterdev/roles/developer/role.md +0 -74
- package/.claude/skills/team-iterdev/roles/reviewer/role.md +0 -66
- package/.claude/skills/team-iterdev/roles/tester/role.md +0 -88
- package/.claude/skills/team-iterdev/specs/pipelines.md +0 -94
- package/.claude/skills/team-iterdev/specs/team-config.json +0 -172
- package/.codex/skills/team-iterdev/SKILL.md +0 -158
- package/.codex/skills/team-iterdev/roles/architect/role.md +0 -65
- package/.codex/skills/team-iterdev/roles/coordinator/commands/analyze.md +0 -62
- package/.codex/skills/team-iterdev/roles/coordinator/commands/dispatch.md +0 -187
- package/.codex/skills/team-iterdev/roles/coordinator/commands/monitor.md +0 -186
- package/.codex/skills/team-iterdev/roles/coordinator/role.md +0 -181
- package/.codex/skills/team-iterdev/roles/developer/role.md +0 -74
- package/.codex/skills/team-iterdev/roles/reviewer/role.md +0 -66
- package/.codex/skills/team-iterdev/roles/tester/role.md +0 -88
- package/.codex/skills/team-iterdev/specs/pipelines.md +0 -94
- package/.codex/skills/team-iterdev/specs/team-config.json +0 -172
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
---
|
|
2
|
-
role: reviewer
|
|
3
|
-
prefix: AUDIT
|
|
4
|
-
inner_loop: false
|
|
5
|
-
message_types: [approved, concerns, rejected, error]
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Issue Reviewer
|
|
9
|
-
|
|
10
|
-
Review solution plans for technical feasibility, risk, and completeness. Quality gate role between plan and execute phases. Provides clear verdicts: approved, rejected, or concerns.
|
|
11
|
-
|
|
12
|
-
## Phase 2: Context & Solution Loading
|
|
13
|
-
|
|
14
|
-
| Input | Source | Required |
|
|
15
|
-
|-------|--------|----------|
|
|
16
|
-
| Issue IDs | Task description (GH-\d+ or ISS-\d{8}-\d{6}) | Yes |
|
|
17
|
-
| Explorer context | `<session>/explorations/context-<issueId>.json` | No |
|
|
18
|
-
| Bound solution | `ccw issue solutions <id> --json` | Yes |
|
|
19
|
-
| wisdom meta | <session>/wisdom/.msg/meta.json | No |
|
|
20
|
-
|
|
21
|
-
1. Extract issue IDs from task description via regex
|
|
22
|
-
2. Load explorer context reports for each issue
|
|
23
|
-
3. Load bound solutions for each issue:
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
Bash("ccw issue solutions <issueId> --json")
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Phase 3: Multi-Dimensional Review
|
|
30
|
-
|
|
31
|
-
Review each solution across three weighted dimensions:
|
|
32
|
-
|
|
33
|
-
**Technical Feasibility (40%)**:
|
|
34
|
-
|
|
35
|
-
| Criterion | Check |
|
|
36
|
-
|-----------|-------|
|
|
37
|
-
| File Coverage | Solution covers all affected files from explorer context |
|
|
38
|
-
| Dependency Awareness | Considers dependency cascade effects |
|
|
39
|
-
| API Compatibility | Maintains backward compatibility |
|
|
40
|
-
| Pattern Conformance | Follows existing code patterns (ACE semantic validation) |
|
|
41
|
-
|
|
42
|
-
**Risk Assessment (30%)**:
|
|
43
|
-
|
|
44
|
-
| Criterion | Check |
|
|
45
|
-
|-----------|-------|
|
|
46
|
-
| Scope Creep | Solution stays within issue boundary (task_count <= 10) |
|
|
47
|
-
| Breaking Changes | No destructive modifications |
|
|
48
|
-
| Side Effects | No unforeseen side effects |
|
|
49
|
-
| Rollback Path | Can rollback if issues occur |
|
|
50
|
-
|
|
51
|
-
**Completeness (30%)**:
|
|
52
|
-
|
|
53
|
-
| Criterion | Check |
|
|
54
|
-
|-----------|-------|
|
|
55
|
-
| All Tasks Defined | Task decomposition is complete (count > 0) |
|
|
56
|
-
| Test Coverage | Includes test plan |
|
|
57
|
-
| Edge Cases | Considers boundary conditions |
|
|
58
|
-
|
|
59
|
-
**Score calculation**:
|
|
60
|
-
|
|
61
|
-
```
|
|
62
|
-
total_score = round(
|
|
63
|
-
technical_feasibility.score * 0.4 +
|
|
64
|
-
risk_assessment.score * 0.3 +
|
|
65
|
-
completeness.score * 0.3
|
|
66
|
-
)
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
**Verdict rules**:
|
|
70
|
-
|
|
71
|
-
| Score | Verdict | Message Type |
|
|
72
|
-
|-------|---------|-------------|
|
|
73
|
-
| >= 80 | approved | `approved` |
|
|
74
|
-
| 60-79 | concerns | `concerns` |
|
|
75
|
-
| < 60 | rejected | `rejected` |
|
|
76
|
-
|
|
77
|
-
## Phase 4: Compile Audit Report
|
|
78
|
-
|
|
79
|
-
1. Write audit report to `<session>/audits/audit-report.json`:
|
|
80
|
-
- Per-issue: issueId, solutionId, total_score, verdict, per-dimension scores and findings
|
|
81
|
-
- Overall verdict (any rejected -> overall rejected)
|
|
82
|
-
|
|
83
|
-
2. Update `<session>/wisdom/.msg/meta.json` under `reviewer` namespace:
|
|
84
|
-
- Read existing -> merge `{ "reviewer": { overall_verdict, review_count, scores } }` -> write back
|
|
85
|
-
|
|
86
|
-
3. For rejected solutions, include specific rejection reasons and actionable feedback for SOLVE-fix task creation
|
|
1
|
+
---
|
|
2
|
+
role: reviewer
|
|
3
|
+
prefix: AUDIT
|
|
4
|
+
inner_loop: false
|
|
5
|
+
message_types: [approved, concerns, rejected, error]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Issue Reviewer
|
|
9
|
+
|
|
10
|
+
Review solution plans for technical feasibility, risk, and completeness. Quality gate role between plan and execute phases. Provides clear verdicts: approved, rejected, or concerns.
|
|
11
|
+
|
|
12
|
+
## Phase 2: Context & Solution Loading
|
|
13
|
+
|
|
14
|
+
| Input | Source | Required |
|
|
15
|
+
|-------|--------|----------|
|
|
16
|
+
| Issue IDs | Task description (GH-\d+ or ISS-\d{8}-\d{6}) | Yes |
|
|
17
|
+
| Explorer context | `<session>/explorations/context-<issueId>.json` | No |
|
|
18
|
+
| Bound solution | `ccw issue solutions <id> --json` | Yes |
|
|
19
|
+
| wisdom meta | <session>/wisdom/.msg/meta.json | No |
|
|
20
|
+
|
|
21
|
+
1. Extract issue IDs from task description via regex
|
|
22
|
+
2. Load explorer context reports for each issue
|
|
23
|
+
3. Load bound solutions for each issue:
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
Bash("ccw issue solutions <issueId> --json")
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Phase 3: Multi-Dimensional Review
|
|
30
|
+
|
|
31
|
+
Review each solution across three weighted dimensions:
|
|
32
|
+
|
|
33
|
+
**Technical Feasibility (40%)**:
|
|
34
|
+
|
|
35
|
+
| Criterion | Check |
|
|
36
|
+
|-----------|-------|
|
|
37
|
+
| File Coverage | Solution covers all affected files from explorer context |
|
|
38
|
+
| Dependency Awareness | Considers dependency cascade effects |
|
|
39
|
+
| API Compatibility | Maintains backward compatibility |
|
|
40
|
+
| Pattern Conformance | Follows existing code patterns (ACE semantic validation) |
|
|
41
|
+
|
|
42
|
+
**Risk Assessment (30%)**:
|
|
43
|
+
|
|
44
|
+
| Criterion | Check |
|
|
45
|
+
|-----------|-------|
|
|
46
|
+
| Scope Creep | Solution stays within issue boundary (task_count <= 10) |
|
|
47
|
+
| Breaking Changes | No destructive modifications |
|
|
48
|
+
| Side Effects | No unforeseen side effects |
|
|
49
|
+
| Rollback Path | Can rollback if issues occur |
|
|
50
|
+
|
|
51
|
+
**Completeness (30%)**:
|
|
52
|
+
|
|
53
|
+
| Criterion | Check |
|
|
54
|
+
|-----------|-------|
|
|
55
|
+
| All Tasks Defined | Task decomposition is complete (count > 0) |
|
|
56
|
+
| Test Coverage | Includes test plan |
|
|
57
|
+
| Edge Cases | Considers boundary conditions |
|
|
58
|
+
|
|
59
|
+
**Score calculation**:
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
total_score = round(
|
|
63
|
+
technical_feasibility.score * 0.4 +
|
|
64
|
+
risk_assessment.score * 0.3 +
|
|
65
|
+
completeness.score * 0.3
|
|
66
|
+
)
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**Verdict rules**:
|
|
70
|
+
|
|
71
|
+
| Score | Verdict | Message Type |
|
|
72
|
+
|-------|---------|-------------|
|
|
73
|
+
| >= 80 | approved | `approved` |
|
|
74
|
+
| 60-79 | concerns | `concerns` |
|
|
75
|
+
| < 60 | rejected | `rejected` |
|
|
76
|
+
|
|
77
|
+
## Phase 4: Compile Audit Report
|
|
78
|
+
|
|
79
|
+
1. Write audit report to `<session>/audits/audit-report.json`:
|
|
80
|
+
- Per-issue: issueId, solutionId, total_score, verdict, per-dimension scores and findings
|
|
81
|
+
- Overall verdict (any rejected -> overall rejected)
|
|
82
|
+
|
|
83
|
+
2. Update `<session>/wisdom/.msg/meta.json` under `reviewer` namespace:
|
|
84
|
+
- Read existing -> merge `{ "reviewer": { overall_verdict, review_count, scores } }` -> write back
|
|
85
|
+
|
|
86
|
+
3. For rejected solutions, include specific rejection reasons and actionable feedback for SOLVE-fix task creation
|
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
# Pipeline Definitions — team-issue
|
|
2
|
-
|
|
3
|
-
## Available Pipelines
|
|
4
|
-
|
|
5
|
-
### Quick Pipeline (4 beats, strictly serial)
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
EXPLORE-001 → SOLVE-001 → MARSHAL-001 → BUILD-001
|
|
9
|
-
[explorer] [planner] [integrator] [implementer]
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
Use when: 1-2 simple issues, no high-priority (priority < 4).
|
|
13
|
-
|
|
14
|
-
### Full Pipeline (5 beats, with review gate)
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
EXPLORE-001 → SOLVE-001 → AUDIT-001 ─┬─(approved/concerns)→ MARSHAL-001 → BUILD-001
|
|
18
|
-
[explorer] [planner] [reviewer] │
|
|
19
|
-
└─(rejected, round<2)→ SOLVE-fix-001 → AUDIT-002 → MARSHAL-001 → BUILD-001
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Use when: 1-4 issues with high-priority, or 3-4 issues regardless of priority.
|
|
23
|
-
|
|
24
|
-
### Batch Pipeline (parallel windows)
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
[EXPLORE-001..N](parallel, max 5) → [SOLVE-001..N](sequential) → AUDIT-001 → MARSHAL-001 → [BUILD-001..M](parallel, max 3, deferred)
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
Use when: 5+ issues.
|
|
31
|
-
|
|
32
|
-
Note: BUILD tasks are created dynamically after MARSHAL completes and execution-queue.json is available.
|
|
33
|
-
|
|
34
|
-
## Task Metadata Registry
|
|
35
|
-
|
|
36
|
-
| Task ID | Role | Phase | Dependencies | Description |
|
|
37
|
-
|---------|------|-------|-------------|-------------|
|
|
38
|
-
| EXPLORE-001 | explorer | explore | (none) | Context analysis and impact assessment |
|
|
39
|
-
| EXPLORE-002..N | explorer | explore | (none) | Parallel exploration (Batch mode only, max 5) |
|
|
40
|
-
| SOLVE-001 | planner | plan | EXPLORE-001 (or all EXPLORE-*) | Solution design and task decomposition |
|
|
41
|
-
| SOLVE-002..N | planner | plan | all EXPLORE-* | Parallel solution design (Batch mode only) |
|
|
42
|
-
| AUDIT-001 | reviewer | review | SOLVE-001 (or all SOLVE-*) | Technical feasibility and risk review (Full/Batch) |
|
|
43
|
-
| SOLVE-fix-001 | planner | fix | AUDIT-001 | Revised solution addressing reviewer feedback |
|
|
44
|
-
| AUDIT-002 | reviewer | re-review | SOLVE-fix-001 | Re-review of revised solution |
|
|
45
|
-
| MARSHAL-001 | integrator | integrate | AUDIT-001 (or last SOLVE-* in quick) | Conflict detection and queue orchestration |
|
|
46
|
-
| BUILD-001 | implementer | implement | MARSHAL-001 | Code implementation and result submission |
|
|
47
|
-
| BUILD-002..M | implementer | implement | MARSHAL-001 | Parallel implementation (Batch, deferred creation) |
|
|
48
|
-
|
|
49
|
-
## Mode Auto-Detection
|
|
50
|
-
|
|
51
|
-
| Condition | Mode |
|
|
52
|
-
|-----------|------|
|
|
53
|
-
| User specifies `--mode=<M>` | Use specified mode |
|
|
54
|
-
| Issue count <= 2 AND no high-priority (priority < 4) | `quick` |
|
|
55
|
-
| Issue count <= 2 AND has high-priority (priority >= 4) | `full` |
|
|
56
|
-
| 3-4 issues | `full` |
|
|
57
|
-
| Issue count >= 5 | `batch` |
|
|
58
|
-
|
|
59
|
-
## Checkpoints
|
|
60
|
-
|
|
61
|
-
| Trigger | Location | Behavior |
|
|
62
|
-
|---------|----------|----------|
|
|
63
|
-
| Review gate | After AUDIT-* | approved/concerns → MARSHAL; rejected → SOLVE-fix (max 2 rounds) |
|
|
64
|
-
| Review loop limit | fix_cycles >= 2 | Force proceed to MARSHAL with warnings |
|
|
65
|
-
| Deferred BUILD creation | After MARSHAL-* (batch) | Read execution-queue.json, create BUILD tasks |
|
|
66
|
-
| Pipeline stall | No ready + no running | Check missing tasks, report to user |
|
|
67
|
-
|
|
68
|
-
## Completion Conditions
|
|
69
|
-
|
|
70
|
-
| Mode | Completion Condition |
|
|
71
|
-
|------|---------------------|
|
|
72
|
-
| quick | All 4 tasks completed |
|
|
73
|
-
| full | All 5 tasks (+ any fix cycle tasks) completed |
|
|
74
|
-
| batch | All N EXPLORE + N SOLVE + 1 AUDIT + 1 MARSHAL + M BUILD (+ any fix cycle tasks) completed |
|
|
75
|
-
|
|
76
|
-
## Parallel Spawn Rules
|
|
77
|
-
|
|
78
|
-
| Pipeline | Stage | Max Parallel |
|
|
79
|
-
|----------|-------|-------------|
|
|
80
|
-
| Batch | EXPLORE-001..N | min(N, 5) |
|
|
81
|
-
| Batch | BUILD-001..M | min(M, 3) |
|
|
82
|
-
| All | All other stages | 1 |
|
|
83
|
-
|
|
84
|
-
## Shared State (meta.json)
|
|
85
|
-
|
|
86
|
-
| Role | State Key |
|
|
87
|
-
|------|-----------|
|
|
88
|
-
| explorer | `explorer` (issue_id, complexity, impact_scope, file_count) |
|
|
89
|
-
| planner | `planner` (issue_id, solution_id, task_count, is_revision) |
|
|
90
|
-
| reviewer | `reviewer` (overall_verdict, review_count, scores) |
|
|
91
|
-
| integrator | `integrator` (queue_size, parallel_groups, conflict_count) |
|
|
92
|
-
| implementer | `implementer` (issue_id, executor, test_status, review_status) |
|
|
93
|
-
|
|
94
|
-
## Message Types
|
|
95
|
-
|
|
96
|
-
| Role | Types |
|
|
97
|
-
|------|-------|
|
|
98
|
-
| coordinator | `pipeline_selected`, `review_result`, `fix_required`, `task_unblocked`, `error`, `shutdown` |
|
|
99
|
-
| explorer | `context_ready`, `error` |
|
|
100
|
-
| planner | `solution_ready`, `multi_solution`, `error` |
|
|
101
|
-
| reviewer | `approved`, `concerns`, `rejected`, `error` |
|
|
102
|
-
| integrator | `queue_ready`, `conflict_found`, `error` |
|
|
103
|
-
| implementer | `impl_complete`, `impl_failed`, `error` |
|
|
104
|
-
|
|
105
|
-
## Review-Fix Cycle
|
|
106
|
-
|
|
107
|
-
```
|
|
108
|
-
AUDIT verdict: rejected
|
|
109
|
-
│
|
|
110
|
-
├─ fix_cycles < 2 → create SOLVE-fix-<N> + AUDIT-<N+1> → spawn planner → wait
|
|
111
|
-
│ ↑
|
|
112
|
-
│ (repeat if rejected again)
|
|
113
|
-
│
|
|
114
|
-
└─ fix_cycles >= 2 → force proceed to MARSHAL with rejection warning logged
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
## Deferred BUILD Creation (Batch Mode)
|
|
118
|
-
|
|
119
|
-
BUILD tasks are not created during initial dispatch. After MARSHAL-001 completes:
|
|
120
|
-
1. Read `.workflow/issues/queue/execution-queue.json`
|
|
121
|
-
2. Parse `parallel_groups` to determine M
|
|
122
|
-
3. Create BUILD-001..M tasks with `addBlockedBy: ["MARSHAL-001"]`
|
|
123
|
-
4. Assign owners: M <= 2 → "implementer"; M > 2 → "implementer-1".."implementer-M" (max 3)
|
|
124
|
-
5. Spawn implementer workers via handleSpawnNext
|
|
1
|
+
# Pipeline Definitions — team-issue
|
|
2
|
+
|
|
3
|
+
## Available Pipelines
|
|
4
|
+
|
|
5
|
+
### Quick Pipeline (4 beats, strictly serial)
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
EXPLORE-001 → SOLVE-001 → MARSHAL-001 → BUILD-001
|
|
9
|
+
[explorer] [planner] [integrator] [implementer]
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Use when: 1-2 simple issues, no high-priority (priority < 4).
|
|
13
|
+
|
|
14
|
+
### Full Pipeline (5 beats, with review gate)
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
EXPLORE-001 → SOLVE-001 → AUDIT-001 ─┬─(approved/concerns)→ MARSHAL-001 → BUILD-001
|
|
18
|
+
[explorer] [planner] [reviewer] │
|
|
19
|
+
└─(rejected, round<2)→ SOLVE-fix-001 → AUDIT-002 → MARSHAL-001 → BUILD-001
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Use when: 1-4 issues with high-priority, or 3-4 issues regardless of priority.
|
|
23
|
+
|
|
24
|
+
### Batch Pipeline (parallel windows)
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
[EXPLORE-001..N](parallel, max 5) → [SOLVE-001..N](sequential) → AUDIT-001 → MARSHAL-001 → [BUILD-001..M](parallel, max 3, deferred)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Use when: 5+ issues.
|
|
31
|
+
|
|
32
|
+
Note: BUILD tasks are created dynamically after MARSHAL completes and execution-queue.json is available.
|
|
33
|
+
|
|
34
|
+
## Task Metadata Registry
|
|
35
|
+
|
|
36
|
+
| Task ID | Role | Phase | Dependencies | Description |
|
|
37
|
+
|---------|------|-------|-------------|-------------|
|
|
38
|
+
| EXPLORE-001 | explorer | explore | (none) | Context analysis and impact assessment |
|
|
39
|
+
| EXPLORE-002..N | explorer | explore | (none) | Parallel exploration (Batch mode only, max 5) |
|
|
40
|
+
| SOLVE-001 | planner | plan | EXPLORE-001 (or all EXPLORE-*) | Solution design and task decomposition |
|
|
41
|
+
| SOLVE-002..N | planner | plan | all EXPLORE-* | Parallel solution design (Batch mode only) |
|
|
42
|
+
| AUDIT-001 | reviewer | review | SOLVE-001 (or all SOLVE-*) | Technical feasibility and risk review (Full/Batch) |
|
|
43
|
+
| SOLVE-fix-001 | planner | fix | AUDIT-001 | Revised solution addressing reviewer feedback |
|
|
44
|
+
| AUDIT-002 | reviewer | re-review | SOLVE-fix-001 | Re-review of revised solution |
|
|
45
|
+
| MARSHAL-001 | integrator | integrate | AUDIT-001 (or last SOLVE-* in quick) | Conflict detection and queue orchestration |
|
|
46
|
+
| BUILD-001 | implementer | implement | MARSHAL-001 | Code implementation and result submission |
|
|
47
|
+
| BUILD-002..M | implementer | implement | MARSHAL-001 | Parallel implementation (Batch, deferred creation) |
|
|
48
|
+
|
|
49
|
+
## Mode Auto-Detection
|
|
50
|
+
|
|
51
|
+
| Condition | Mode |
|
|
52
|
+
|-----------|------|
|
|
53
|
+
| User specifies `--mode=<M>` | Use specified mode |
|
|
54
|
+
| Issue count <= 2 AND no high-priority (priority < 4) | `quick` |
|
|
55
|
+
| Issue count <= 2 AND has high-priority (priority >= 4) | `full` |
|
|
56
|
+
| 3-4 issues | `full` |
|
|
57
|
+
| Issue count >= 5 | `batch` |
|
|
58
|
+
|
|
59
|
+
## Checkpoints
|
|
60
|
+
|
|
61
|
+
| Trigger | Location | Behavior |
|
|
62
|
+
|---------|----------|----------|
|
|
63
|
+
| Review gate | After AUDIT-* | approved/concerns → MARSHAL; rejected → SOLVE-fix (max 2 rounds) |
|
|
64
|
+
| Review loop limit | fix_cycles >= 2 | Force proceed to MARSHAL with warnings |
|
|
65
|
+
| Deferred BUILD creation | After MARSHAL-* (batch) | Read execution-queue.json, create BUILD tasks |
|
|
66
|
+
| Pipeline stall | No ready + no running | Check missing tasks, report to user |
|
|
67
|
+
|
|
68
|
+
## Completion Conditions
|
|
69
|
+
|
|
70
|
+
| Mode | Completion Condition |
|
|
71
|
+
|------|---------------------|
|
|
72
|
+
| quick | All 4 tasks completed |
|
|
73
|
+
| full | All 5 tasks (+ any fix cycle tasks) completed |
|
|
74
|
+
| batch | All N EXPLORE + N SOLVE + 1 AUDIT + 1 MARSHAL + M BUILD (+ any fix cycle tasks) completed |
|
|
75
|
+
|
|
76
|
+
## Parallel Spawn Rules
|
|
77
|
+
|
|
78
|
+
| Pipeline | Stage | Max Parallel |
|
|
79
|
+
|----------|-------|-------------|
|
|
80
|
+
| Batch | EXPLORE-001..N | min(N, 5) |
|
|
81
|
+
| Batch | BUILD-001..M | min(M, 3) |
|
|
82
|
+
| All | All other stages | 1 |
|
|
83
|
+
|
|
84
|
+
## Shared State (meta.json)
|
|
85
|
+
|
|
86
|
+
| Role | State Key |
|
|
87
|
+
|------|-----------|
|
|
88
|
+
| explorer | `explorer` (issue_id, complexity, impact_scope, file_count) |
|
|
89
|
+
| planner | `planner` (issue_id, solution_id, task_count, is_revision) |
|
|
90
|
+
| reviewer | `reviewer` (overall_verdict, review_count, scores) |
|
|
91
|
+
| integrator | `integrator` (queue_size, parallel_groups, conflict_count) |
|
|
92
|
+
| implementer | `implementer` (issue_id, executor, test_status, review_status) |
|
|
93
|
+
|
|
94
|
+
## Message Types
|
|
95
|
+
|
|
96
|
+
| Role | Types |
|
|
97
|
+
|------|-------|
|
|
98
|
+
| coordinator | `pipeline_selected`, `review_result`, `fix_required`, `task_unblocked`, `error`, `shutdown` |
|
|
99
|
+
| explorer | `context_ready`, `error` |
|
|
100
|
+
| planner | `solution_ready`, `multi_solution`, `error` |
|
|
101
|
+
| reviewer | `approved`, `concerns`, `rejected`, `error` |
|
|
102
|
+
| integrator | `queue_ready`, `conflict_found`, `error` |
|
|
103
|
+
| implementer | `impl_complete`, `impl_failed`, `error` |
|
|
104
|
+
|
|
105
|
+
## Review-Fix Cycle
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
AUDIT verdict: rejected
|
|
109
|
+
│
|
|
110
|
+
├─ fix_cycles < 2 → create SOLVE-fix-<N> + AUDIT-<N+1> → spawn planner → wait
|
|
111
|
+
│ ↑
|
|
112
|
+
│ (repeat if rejected again)
|
|
113
|
+
│
|
|
114
|
+
└─ fix_cycles >= 2 → force proceed to MARSHAL with rejection warning logged
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## Deferred BUILD Creation (Batch Mode)
|
|
118
|
+
|
|
119
|
+
BUILD tasks are not created during initial dispatch. After MARSHAL-001 completes:
|
|
120
|
+
1. Read `.workflow/issues/queue/execution-queue.json`
|
|
121
|
+
2. Parse `parallel_groups` to determine M
|
|
122
|
+
3. Create BUILD-001..M tasks with `addBlockedBy: ["MARSHAL-001"]`
|
|
123
|
+
4. Assign owners: M <= 2 → "implementer"; M > 2 → "implementer-1".."implementer-M" (max 3)
|
|
124
|
+
5. Spawn implementer workers via handleSpawnNext
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
| Worker spawn | `Agent({ subagent_type: "team-worker", prompt })` | `spawn_agent({ agent_type: "tlv4_worker", items })` |
|
|
20
20
|
| Supervisor spawn | `Agent({ subagent_type: "team-supervisor", prompt })` | `spawn_agent({ agent_type: "tlv4_supervisor", items })` |
|
|
21
21
|
| Supervisor wake | `SendMessage({ recipient: "supervisor", content })` | `send_input({ id: supervisorId, items })` |
|
|
22
|
-
| Supervisor shutdown | `SendMessage({ type: "shutdown_request" })` | `close_agent({
|
|
22
|
+
| Supervisor shutdown | `SendMessage({ type: "shutdown_request" })` | `close_agent({ target: supervisorId })` |
|
|
23
23
|
| 等待完成 | 后台回调 -> monitor.md | `wait_agent({ ids, timeout_ms })` |
|
|
24
24
|
| 任务状态 | `TaskCreate` / `TaskUpdate` | `tasks.json` 文件读写 |
|
|
25
25
|
| 团队管理 | `TeamCreate` / `TeamDelete` | session folder init / cleanup |
|
|
@@ -222,14 +222,14 @@ scope: [${task.deps}]
|
|
|
222
222
|
pipeline_progress: ${done}/${total} tasks completed` }
|
|
223
223
|
]
|
|
224
224
|
})
|
|
225
|
-
wait_agent({
|
|
225
|
+
wait_agent({ targets: [supervisorId], timeout_ms: 300000 })
|
|
226
226
|
```
|
|
227
227
|
|
|
228
228
|
### Supervisor Shutdown
|
|
229
229
|
|
|
230
230
|
```javascript
|
|
231
231
|
// 对齐 Claude Code SendMessage({ type: "shutdown_request" })
|
|
232
|
-
close_agent({
|
|
232
|
+
close_agent({ target: supervisorId })
|
|
233
233
|
```
|
|
234
234
|
|
|
235
235
|
### Wave 执行引擎
|
|
@@ -300,7 +300,7 @@ pipeline_phase: ${task.pipeline_phase}` },
|
|
|
300
300
|
|
|
301
301
|
// 2) 批量等待
|
|
302
302
|
if (agentMap.length > 0) {
|
|
303
|
-
wait_agent({
|
|
303
|
+
wait_agent({ targets: agentMap.map(a => a.agentId), timeout_ms: 900000 })
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
// 3) 收集结果,合并到 tasks.json
|
|
@@ -315,7 +315,7 @@ pipeline_phase: ${task.pipeline_phase}` },
|
|
|
315
315
|
state.tasks[taskId].status = 'failed'
|
|
316
316
|
state.tasks[taskId].error = 'No discovery file produced'
|
|
317
317
|
}
|
|
318
|
-
close_agent({
|
|
318
|
+
close_agent({ target: agentId })
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
// 4) 执行 CHECKPOINT 任务 (send_input 唤醒 supervisor)
|
|
@@ -329,7 +329,7 @@ scope: [${task.deps.join(', ')}]
|
|
|
329
329
|
pipeline_progress: ${completedCount}/${totalCount} tasks completed` }
|
|
330
330
|
]
|
|
331
331
|
})
|
|
332
|
-
wait_agent({
|
|
332
|
+
wait_agent({ targets: [supervisorId], timeout_ms: 300000 })
|
|
333
333
|
|
|
334
334
|
// 读取 checkpoint 报告
|
|
335
335
|
try {
|