claude-code-workflow 7.2.23 → 7.2.24
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/.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-iterdev/SKILL.md +64 -3
- package/.codex/skills/team-iterdev/roles/architect/role.md +65 -65
- package/.codex/skills/team-iterdev/roles/coordinator/commands/analyze.md +62 -62
- package/.codex/skills/team-iterdev/roles/coordinator/commands/monitor.md +227 -186
- package/.codex/skills/team-iterdev/roles/coordinator/role.md +193 -181
- package/.codex/skills/team-iterdev/roles/developer/role.md +74 -74
- package/.codex/skills/team-iterdev/roles/reviewer/role.md +66 -66
- package/.codex/skills/team-iterdev/roles/tester/role.md +88 -88
- package/.codex/skills/team-iterdev/specs/pipelines.md +94 -94
- 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/README.md +1 -0
- package/package.json +1 -1
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
---
|
|
2
|
-
role: analyst
|
|
3
|
-
prefix: TESTANA
|
|
4
|
-
inner_loop: false
|
|
5
|
-
message_types:
|
|
6
|
-
success: analysis_ready
|
|
7
|
-
error: error
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Test Quality Analyst
|
|
11
|
-
|
|
12
|
-
Analyze defect patterns, identify coverage gaps, assess GC loop effectiveness, and generate a quality report with actionable recommendations.
|
|
13
|
-
|
|
14
|
-
## Phase 2: Context Loading
|
|
15
|
-
|
|
16
|
-
| Input | Source | Required |
|
|
17
|
-
|-------|--------|----------|
|
|
18
|
-
| Task description | From task subject/description | Yes |
|
|
19
|
-
| Session path | Extracted from task description | Yes |
|
|
20
|
-
| Execution results | <session>/results/run-*.json | Yes |
|
|
21
|
-
| Test strategy | <session>/strategy/test-strategy.md | Yes |
|
|
22
|
-
| .msg/meta.json | <session>/wisdom/.msg/meta.json | Yes |
|
|
23
|
-
|
|
24
|
-
1. Extract session path from task description
|
|
25
|
-
2. Read .msg/meta.json for execution context (executor, generator namespaces)
|
|
26
|
-
3. Read all execution results:
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
Glob("<session>/results/run-*.json")
|
|
30
|
-
Read("<session>/results/run-001.json")
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
4. Read test strategy:
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
Read("<session>/strategy/test-strategy.md")
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
5. Read test files for pattern analysis:
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
Glob("<session>/tests/**/*")
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## Phase 3: Quality Analysis
|
|
46
|
-
|
|
47
|
-
**Analysis dimensions**:
|
|
48
|
-
|
|
49
|
-
1. **Coverage Analysis** -- Aggregate coverage by layer:
|
|
50
|
-
|
|
51
|
-
| Layer | Coverage | Target | Status |
|
|
52
|
-
|-------|----------|--------|--------|
|
|
53
|
-
| L1 | X% | Y% | Met/Below |
|
|
54
|
-
|
|
55
|
-
2. **Defect Pattern Analysis** -- Frequency and severity:
|
|
56
|
-
|
|
57
|
-
| Pattern | Frequency | Severity |
|
|
58
|
-
|---------|-----------|----------|
|
|
59
|
-
| pattern | count | HIGH (>=3) / MEDIUM (>=2) / LOW (<2) |
|
|
60
|
-
|
|
61
|
-
3. **GC Loop Effectiveness**:
|
|
62
|
-
|
|
63
|
-
| Metric | Value | Assessment |
|
|
64
|
-
|--------|-------|------------|
|
|
65
|
-
| Rounds | N | - |
|
|
66
|
-
| Coverage Improvement | +/-X% | HIGH (>10%) / MEDIUM (>5%) / LOW (<=5%) |
|
|
67
|
-
|
|
68
|
-
4. **Coverage Gaps** -- per module/feature:
|
|
69
|
-
- Area, Current %, Gap %, Reason, Recommendation
|
|
70
|
-
|
|
71
|
-
5. **Quality Score**:
|
|
72
|
-
|
|
73
|
-
| Dimension | Score (1-10) | Weight |
|
|
74
|
-
|-----------|-------------|--------|
|
|
75
|
-
| Coverage Achievement | score | 30% |
|
|
76
|
-
| Test Effectiveness | score | 25% |
|
|
77
|
-
| Defect Detection | score | 25% |
|
|
78
|
-
| GC Loop Efficiency | score | 20% |
|
|
79
|
-
|
|
80
|
-
Write report to `<session>/analysis/quality-report.md`
|
|
81
|
-
|
|
82
|
-
## Phase 4: Trend Analysis & State Update
|
|
83
|
-
|
|
84
|
-
**Historical comparison** (if multiple sessions exist):
|
|
85
|
-
|
|
86
|
-
```
|
|
87
|
-
Glob(".workflow/.team/TST-*/.msg/meta.json")
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
- Track coverage trends over time
|
|
91
|
-
- Identify defect pattern evolution
|
|
92
|
-
- Compare GC loop effectiveness across sessions
|
|
93
|
-
|
|
94
|
-
Update `<session>/wisdom/.msg/meta.json` under `analyst` namespace:
|
|
95
|
-
- Merge `{ "analyst": { quality_score, coverage_gaps, top_defect_patterns, gc_effectiveness, recommendations } }`
|
|
1
|
+
---
|
|
2
|
+
role: analyst
|
|
3
|
+
prefix: TESTANA
|
|
4
|
+
inner_loop: false
|
|
5
|
+
message_types:
|
|
6
|
+
success: analysis_ready
|
|
7
|
+
error: error
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Test Quality Analyst
|
|
11
|
+
|
|
12
|
+
Analyze defect patterns, identify coverage gaps, assess GC loop effectiveness, and generate a quality report with actionable recommendations.
|
|
13
|
+
|
|
14
|
+
## Phase 2: Context Loading
|
|
15
|
+
|
|
16
|
+
| Input | Source | Required |
|
|
17
|
+
|-------|--------|----------|
|
|
18
|
+
| Task description | From task subject/description | Yes |
|
|
19
|
+
| Session path | Extracted from task description | Yes |
|
|
20
|
+
| Execution results | <session>/results/run-*.json | Yes |
|
|
21
|
+
| Test strategy | <session>/strategy/test-strategy.md | Yes |
|
|
22
|
+
| .msg/meta.json | <session>/wisdom/.msg/meta.json | Yes |
|
|
23
|
+
|
|
24
|
+
1. Extract session path from task description
|
|
25
|
+
2. Read .msg/meta.json for execution context (executor, generator namespaces)
|
|
26
|
+
3. Read all execution results:
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
Glob("<session>/results/run-*.json")
|
|
30
|
+
Read("<session>/results/run-001.json")
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
4. Read test strategy:
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
Read("<session>/strategy/test-strategy.md")
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
5. Read test files for pattern analysis:
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
Glob("<session>/tests/**/*")
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Phase 3: Quality Analysis
|
|
46
|
+
|
|
47
|
+
**Analysis dimensions**:
|
|
48
|
+
|
|
49
|
+
1. **Coverage Analysis** -- Aggregate coverage by layer:
|
|
50
|
+
|
|
51
|
+
| Layer | Coverage | Target | Status |
|
|
52
|
+
|-------|----------|--------|--------|
|
|
53
|
+
| L1 | X% | Y% | Met/Below |
|
|
54
|
+
|
|
55
|
+
2. **Defect Pattern Analysis** -- Frequency and severity:
|
|
56
|
+
|
|
57
|
+
| Pattern | Frequency | Severity |
|
|
58
|
+
|---------|-----------|----------|
|
|
59
|
+
| pattern | count | HIGH (>=3) / MEDIUM (>=2) / LOW (<2) |
|
|
60
|
+
|
|
61
|
+
3. **GC Loop Effectiveness**:
|
|
62
|
+
|
|
63
|
+
| Metric | Value | Assessment |
|
|
64
|
+
|--------|-------|------------|
|
|
65
|
+
| Rounds | N | - |
|
|
66
|
+
| Coverage Improvement | +/-X% | HIGH (>10%) / MEDIUM (>5%) / LOW (<=5%) |
|
|
67
|
+
|
|
68
|
+
4. **Coverage Gaps** -- per module/feature:
|
|
69
|
+
- Area, Current %, Gap %, Reason, Recommendation
|
|
70
|
+
|
|
71
|
+
5. **Quality Score**:
|
|
72
|
+
|
|
73
|
+
| Dimension | Score (1-10) | Weight |
|
|
74
|
+
|-----------|-------------|--------|
|
|
75
|
+
| Coverage Achievement | score | 30% |
|
|
76
|
+
| Test Effectiveness | score | 25% |
|
|
77
|
+
| Defect Detection | score | 25% |
|
|
78
|
+
| GC Loop Efficiency | score | 20% |
|
|
79
|
+
|
|
80
|
+
Write report to `<session>/analysis/quality-report.md`
|
|
81
|
+
|
|
82
|
+
## Phase 4: Trend Analysis & State Update
|
|
83
|
+
|
|
84
|
+
**Historical comparison** (if multiple sessions exist):
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
Glob(".workflow/.team/TST-*/.msg/meta.json")
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
- Track coverage trends over time
|
|
91
|
+
- Identify defect pattern evolution
|
|
92
|
+
- Compare GC loop effectiveness across sessions
|
|
93
|
+
|
|
94
|
+
Update `<session>/wisdom/.msg/meta.json` under `analyst` namespace:
|
|
95
|
+
- Merge `{ "analyst": { quality_score, coverage_gaps, top_defect_patterns, gc_effectiveness, recommendations } }`
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
# Analyze Task
|
|
2
|
-
|
|
3
|
-
Parse user task -> detect testing capabilities -> select pipeline -> design roles.
|
|
4
|
-
|
|
5
|
-
**CONSTRAINT**: Text-level analysis only. NO source code reading, NO codebase exploration.
|
|
6
|
-
|
|
7
|
-
## Signal Detection
|
|
8
|
-
|
|
9
|
-
| Keywords | Capability | Prefix |
|
|
10
|
-
|----------|------------|--------|
|
|
11
|
-
| strategy, plan, layers, scope | strategist | STRATEGY |
|
|
12
|
-
| generate tests, write tests, create tests | generator | TESTGEN |
|
|
13
|
-
| run tests, execute, coverage | executor | TESTRUN |
|
|
14
|
-
| analyze, report, quality, defects | analyst | TESTANA |
|
|
15
|
-
|
|
16
|
-
## Pipeline Mode Detection
|
|
17
|
-
|
|
18
|
-
| Condition | Pipeline |
|
|
19
|
-
|-----------|----------|
|
|
20
|
-
| fileCount <= 3 AND moduleCount <= 1 | targeted |
|
|
21
|
-
| fileCount <= 10 AND moduleCount <= 3 | standard |
|
|
22
|
-
| Otherwise | comprehensive |
|
|
23
|
-
|
|
24
|
-
## Dependency Graph
|
|
25
|
-
|
|
26
|
-
Natural ordering for testing pipeline:
|
|
27
|
-
- Tier 0: strategist (change analysis, no upstream dependency)
|
|
28
|
-
- Tier 1: generator (requires strategy)
|
|
29
|
-
- Tier 2: executor (requires generated tests; GC loop with generator)
|
|
30
|
-
- Tier 3: analyst (requires execution results)
|
|
31
|
-
|
|
32
|
-
## Pipeline Definitions
|
|
33
|
-
|
|
34
|
-
```
|
|
35
|
-
Targeted: STRATEGY -> TESTGEN(L1) -> TESTRUN(L1)
|
|
36
|
-
Standard: STRATEGY -> TESTGEN(L1) -> TESTRUN(L1) -> TESTGEN(L2) -> TESTRUN(L2) -> TESTANA
|
|
37
|
-
Comprehensive: STRATEGY -> [TESTGEN(L1) || TESTGEN(L2)] -> [TESTRUN(L1) || TESTRUN(L2)] -> TESTGEN(L3) -> TESTRUN(L3) -> TESTANA
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Complexity Scoring
|
|
41
|
-
|
|
42
|
-
| Factor | Points |
|
|
43
|
-
|--------|--------|
|
|
44
|
-
| Per test layer | +1 |
|
|
45
|
-
| Parallel tracks | +1 per track |
|
|
46
|
-
| GC loop enabled | +1 |
|
|
47
|
-
| Serial depth > 3 | +1 |
|
|
48
|
-
|
|
49
|
-
Results: 1-2 Low, 3-5 Medium, 6+ High
|
|
50
|
-
|
|
51
|
-
## Role Minimization
|
|
52
|
-
|
|
53
|
-
- Cap at 5 roles (coordinator + 4 workers)
|
|
54
|
-
- GC loop: generator <-> executor iterate up to 3 rounds per layer
|
|
55
|
-
|
|
56
|
-
## Output
|
|
57
|
-
|
|
58
|
-
Write <session>/task-analysis.json:
|
|
59
|
-
```json
|
|
60
|
-
{
|
|
61
|
-
"task_description": "<original>",
|
|
62
|
-
"pipeline_mode": "<targeted|standard|comprehensive>",
|
|
63
|
-
"capabilities": [{ "name": "<cap>", "prefix": "<PREFIX>", "keywords": ["..."] }],
|
|
64
|
-
"dependency_graph": { "<TASK-ID>": { "role": "<role>", "blockedBy": ["..."], "layer": "L1|L2|L3" } },
|
|
65
|
-
"roles": [{ "name": "<role>", "prefix": "<PREFIX>", "inner_loop": true }],
|
|
66
|
-
"complexity": { "score": 0, "level": "Low|Medium|High" },
|
|
67
|
-
"coverage_targets": { "L1": 80, "L2": 60, "L3": 40 },
|
|
68
|
-
"gc_loop_enabled": true
|
|
69
|
-
}
|
|
70
|
-
```
|
|
1
|
+
# Analyze Task
|
|
2
|
+
|
|
3
|
+
Parse user task -> detect testing capabilities -> select pipeline -> design roles.
|
|
4
|
+
|
|
5
|
+
**CONSTRAINT**: Text-level analysis only. NO source code reading, NO codebase exploration.
|
|
6
|
+
|
|
7
|
+
## Signal Detection
|
|
8
|
+
|
|
9
|
+
| Keywords | Capability | Prefix |
|
|
10
|
+
|----------|------------|--------|
|
|
11
|
+
| strategy, plan, layers, scope | strategist | STRATEGY |
|
|
12
|
+
| generate tests, write tests, create tests | generator | TESTGEN |
|
|
13
|
+
| run tests, execute, coverage | executor | TESTRUN |
|
|
14
|
+
| analyze, report, quality, defects | analyst | TESTANA |
|
|
15
|
+
|
|
16
|
+
## Pipeline Mode Detection
|
|
17
|
+
|
|
18
|
+
| Condition | Pipeline |
|
|
19
|
+
|-----------|----------|
|
|
20
|
+
| fileCount <= 3 AND moduleCount <= 1 | targeted |
|
|
21
|
+
| fileCount <= 10 AND moduleCount <= 3 | standard |
|
|
22
|
+
| Otherwise | comprehensive |
|
|
23
|
+
|
|
24
|
+
## Dependency Graph
|
|
25
|
+
|
|
26
|
+
Natural ordering for testing pipeline:
|
|
27
|
+
- Tier 0: strategist (change analysis, no upstream dependency)
|
|
28
|
+
- Tier 1: generator (requires strategy)
|
|
29
|
+
- Tier 2: executor (requires generated tests; GC loop with generator)
|
|
30
|
+
- Tier 3: analyst (requires execution results)
|
|
31
|
+
|
|
32
|
+
## Pipeline Definitions
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
Targeted: STRATEGY -> TESTGEN(L1) -> TESTRUN(L1)
|
|
36
|
+
Standard: STRATEGY -> TESTGEN(L1) -> TESTRUN(L1) -> TESTGEN(L2) -> TESTRUN(L2) -> TESTANA
|
|
37
|
+
Comprehensive: STRATEGY -> [TESTGEN(L1) || TESTGEN(L2)] -> [TESTRUN(L1) || TESTRUN(L2)] -> TESTGEN(L3) -> TESTRUN(L3) -> TESTANA
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Complexity Scoring
|
|
41
|
+
|
|
42
|
+
| Factor | Points |
|
|
43
|
+
|--------|--------|
|
|
44
|
+
| Per test layer | +1 |
|
|
45
|
+
| Parallel tracks | +1 per track |
|
|
46
|
+
| GC loop enabled | +1 |
|
|
47
|
+
| Serial depth > 3 | +1 |
|
|
48
|
+
|
|
49
|
+
Results: 1-2 Low, 3-5 Medium, 6+ High
|
|
50
|
+
|
|
51
|
+
## Role Minimization
|
|
52
|
+
|
|
53
|
+
- Cap at 5 roles (coordinator + 4 workers)
|
|
54
|
+
- GC loop: generator <-> executor iterate up to 3 rounds per layer
|
|
55
|
+
|
|
56
|
+
## Output
|
|
57
|
+
|
|
58
|
+
Write <session>/task-analysis.json:
|
|
59
|
+
```json
|
|
60
|
+
{
|
|
61
|
+
"task_description": "<original>",
|
|
62
|
+
"pipeline_mode": "<targeted|standard|comprehensive>",
|
|
63
|
+
"capabilities": [{ "name": "<cap>", "prefix": "<PREFIX>", "keywords": ["..."] }],
|
|
64
|
+
"dependency_graph": { "<TASK-ID>": { "role": "<role>", "blockedBy": ["..."], "layer": "L1|L2|L3" } },
|
|
65
|
+
"roles": [{ "name": "<role>", "prefix": "<PREFIX>", "inner_loop": true }],
|
|
66
|
+
"complexity": { "score": 0, "level": "Low|Medium|High" },
|
|
67
|
+
"coverage_targets": { "L1": 80, "L2": 60, "L3": 40 },
|
|
68
|
+
"gc_loop_enabled": true
|
|
69
|
+
}
|
|
70
|
+
```
|
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
# Dispatch Tasks
|
|
2
|
-
|
|
3
|
-
Create testing task chains with correct dependencies. Supports targeted, standard, and comprehensive pipelines.
|
|
4
|
-
|
|
5
|
-
## Workflow
|
|
6
|
-
|
|
7
|
-
1. Read task-analysis.json -> extract pipeline_mode and dependency_graph
|
|
8
|
-
2. Read specs/pipelines.md -> get task registry for selected pipeline
|
|
9
|
-
3. Topological sort tasks (respect deps)
|
|
10
|
-
4. Validate all owners exist in role registry (SKILL.md)
|
|
11
|
-
5. For each task (in order):
|
|
12
|
-
- Add task entry to tasks.json `tasks` object (see template below)
|
|
13
|
-
- Set deps array with upstream task IDs
|
|
14
|
-
6. Update tasks.json metadata: total count
|
|
15
|
-
7. Validate chain (no orphans, no cycles, all refs valid)
|
|
16
|
-
|
|
17
|
-
## Task Entry Template
|
|
18
|
-
|
|
19
|
-
Each task in tasks.json `tasks` object:
|
|
20
|
-
```json
|
|
21
|
-
{
|
|
22
|
-
"<TASK-ID>": {
|
|
23
|
-
"title": "<concise title>",
|
|
24
|
-
"description": "PURPOSE: <goal> | Success: <criteria>\nTASK:\n - <step 1>\n - <step 2>\nCONTEXT:\n - Session: <session-folder>\n - Scope: <scope>\n - Layer: <L1-unit|L2-integration|L3-e2e>\n - Upstream artifacts: <artifact-1>, <artifact-2>\n - Shared memory: <session>/wisdom/.msg/meta.json\nEXPECTED: <deliverable path> + <quality criteria>\nCONSTRAINTS: <scope limits, focus areas>\n---\nInnerLoop: <true|false>\nRoleSpec: <project>/.codex/skills/team-testing/roles/<role>/role.md",
|
|
25
|
-
"role": "<role-name>",
|
|
26
|
-
"prefix": "<PREFIX>",
|
|
27
|
-
"deps": ["<upstream-task-id>"],
|
|
28
|
-
"status": "pending",
|
|
29
|
-
"findings": null,
|
|
30
|
-
"error": null
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## Pipeline Task Registry
|
|
36
|
-
|
|
37
|
-
### Targeted Pipeline
|
|
38
|
-
```
|
|
39
|
-
STRATEGY-001 (strategist): Analyze change scope, define test strategy
|
|
40
|
-
deps: []
|
|
41
|
-
TESTGEN-001 (generator): Generate L1 unit tests
|
|
42
|
-
deps: [STRATEGY-001], meta: layer=L1-unit
|
|
43
|
-
TESTRUN-001 (executor): Execute L1 tests, collect coverage
|
|
44
|
-
deps: [TESTGEN-001], inner_loop: true, meta: layer=L1-unit, coverage_target=80%
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Standard Pipeline
|
|
48
|
-
```
|
|
49
|
-
STRATEGY-001 (strategist): Analyze change scope, define test strategy
|
|
50
|
-
deps: []
|
|
51
|
-
TESTGEN-001 (generator): Generate L1 unit tests
|
|
52
|
-
deps: [STRATEGY-001], meta: layer=L1-unit
|
|
53
|
-
TESTRUN-001 (executor): Execute L1 tests, collect coverage
|
|
54
|
-
deps: [TESTGEN-001], inner_loop: true, meta: layer=L1-unit, coverage_target=80%
|
|
55
|
-
TESTGEN-002 (generator): Generate L2 integration tests
|
|
56
|
-
deps: [TESTRUN-001], meta: layer=L2-integration
|
|
57
|
-
TESTRUN-002 (executor): Execute L2 tests, collect coverage
|
|
58
|
-
deps: [TESTGEN-002], inner_loop: true, meta: layer=L2-integration, coverage_target=60%
|
|
59
|
-
TESTANA-001 (analyst): Defect pattern analysis, quality report
|
|
60
|
-
deps: [TESTRUN-002]
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### Comprehensive Pipeline
|
|
64
|
-
```
|
|
65
|
-
STRATEGY-001 (strategist): Analyze change scope, define test strategy
|
|
66
|
-
deps: []
|
|
67
|
-
TESTGEN-001 (generator-1): Generate L1 unit tests
|
|
68
|
-
deps: [STRATEGY-001], meta: layer=L1-unit
|
|
69
|
-
TESTGEN-002 (generator-2): Generate L2 integration tests
|
|
70
|
-
deps: [STRATEGY-001], meta: layer=L2-integration
|
|
71
|
-
TESTRUN-001 (executor-1): Execute L1 tests, collect coverage
|
|
72
|
-
deps: [TESTGEN-001], inner_loop: true, meta: layer=L1-unit, coverage_target=80%
|
|
73
|
-
TESTRUN-002 (executor-2): Execute L2 tests, collect coverage
|
|
74
|
-
deps: [TESTGEN-002], inner_loop: true, meta: layer=L2-integration, coverage_target=60%
|
|
75
|
-
TESTGEN-003 (generator): Generate L3 E2E tests
|
|
76
|
-
deps: [TESTRUN-001, TESTRUN-002], meta: layer=L3-e2e
|
|
77
|
-
TESTRUN-003 (executor): Execute L3 tests, collect coverage
|
|
78
|
-
deps: [TESTGEN-003], inner_loop: true, meta: layer=L3-e2e, coverage_target=40%
|
|
79
|
-
TESTANA-001 (analyst): Defect pattern analysis, quality report
|
|
80
|
-
deps: [TESTRUN-003]
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
## InnerLoop Flag Rules
|
|
84
|
-
|
|
85
|
-
- true: generator, executor roles (GC loop iterations)
|
|
86
|
-
- false: strategist, analyst roles
|
|
87
|
-
|
|
88
|
-
## Dependency Validation
|
|
89
|
-
|
|
90
|
-
- No orphan tasks (all tasks have valid owner)
|
|
91
|
-
- No circular dependencies
|
|
92
|
-
- All deps references exist in tasks object
|
|
93
|
-
- Session reference in every task description
|
|
94
|
-
- RoleSpec reference in every task description
|
|
95
|
-
|
|
96
|
-
## Log After Creation
|
|
97
|
-
|
|
98
|
-
```
|
|
99
|
-
mcp__ccw-tools__team_msg({
|
|
100
|
-
operation: "log",
|
|
101
|
-
session_id: <session-id>,
|
|
102
|
-
from: "coordinator",
|
|
103
|
-
type: "pipeline_selected",
|
|
104
|
-
data: { pipeline: "<mode>", task_count: <N> }
|
|
105
|
-
})
|
|
106
|
-
```
|
|
1
|
+
# Dispatch Tasks
|
|
2
|
+
|
|
3
|
+
Create testing task chains with correct dependencies. Supports targeted, standard, and comprehensive pipelines.
|
|
4
|
+
|
|
5
|
+
## Workflow
|
|
6
|
+
|
|
7
|
+
1. Read task-analysis.json -> extract pipeline_mode and dependency_graph
|
|
8
|
+
2. Read specs/pipelines.md -> get task registry for selected pipeline
|
|
9
|
+
3. Topological sort tasks (respect deps)
|
|
10
|
+
4. Validate all owners exist in role registry (SKILL.md)
|
|
11
|
+
5. For each task (in order):
|
|
12
|
+
- Add task entry to tasks.json `tasks` object (see template below)
|
|
13
|
+
- Set deps array with upstream task IDs
|
|
14
|
+
6. Update tasks.json metadata: total count
|
|
15
|
+
7. Validate chain (no orphans, no cycles, all refs valid)
|
|
16
|
+
|
|
17
|
+
## Task Entry Template
|
|
18
|
+
|
|
19
|
+
Each task in tasks.json `tasks` object:
|
|
20
|
+
```json
|
|
21
|
+
{
|
|
22
|
+
"<TASK-ID>": {
|
|
23
|
+
"title": "<concise title>",
|
|
24
|
+
"description": "PURPOSE: <goal> | Success: <criteria>\nTASK:\n - <step 1>\n - <step 2>\nCONTEXT:\n - Session: <session-folder>\n - Scope: <scope>\n - Layer: <L1-unit|L2-integration|L3-e2e>\n - Upstream artifacts: <artifact-1>, <artifact-2>\n - Shared memory: <session>/wisdom/.msg/meta.json\nEXPECTED: <deliverable path> + <quality criteria>\nCONSTRAINTS: <scope limits, focus areas>\n---\nInnerLoop: <true|false>\nRoleSpec: <project>/.codex/skills/team-testing/roles/<role>/role.md",
|
|
25
|
+
"role": "<role-name>",
|
|
26
|
+
"prefix": "<PREFIX>",
|
|
27
|
+
"deps": ["<upstream-task-id>"],
|
|
28
|
+
"status": "pending",
|
|
29
|
+
"findings": null,
|
|
30
|
+
"error": null
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Pipeline Task Registry
|
|
36
|
+
|
|
37
|
+
### Targeted Pipeline
|
|
38
|
+
```
|
|
39
|
+
STRATEGY-001 (strategist): Analyze change scope, define test strategy
|
|
40
|
+
deps: []
|
|
41
|
+
TESTGEN-001 (generator): Generate L1 unit tests
|
|
42
|
+
deps: [STRATEGY-001], meta: layer=L1-unit
|
|
43
|
+
TESTRUN-001 (executor): Execute L1 tests, collect coverage
|
|
44
|
+
deps: [TESTGEN-001], inner_loop: true, meta: layer=L1-unit, coverage_target=80%
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Standard Pipeline
|
|
48
|
+
```
|
|
49
|
+
STRATEGY-001 (strategist): Analyze change scope, define test strategy
|
|
50
|
+
deps: []
|
|
51
|
+
TESTGEN-001 (generator): Generate L1 unit tests
|
|
52
|
+
deps: [STRATEGY-001], meta: layer=L1-unit
|
|
53
|
+
TESTRUN-001 (executor): Execute L1 tests, collect coverage
|
|
54
|
+
deps: [TESTGEN-001], inner_loop: true, meta: layer=L1-unit, coverage_target=80%
|
|
55
|
+
TESTGEN-002 (generator): Generate L2 integration tests
|
|
56
|
+
deps: [TESTRUN-001], meta: layer=L2-integration
|
|
57
|
+
TESTRUN-002 (executor): Execute L2 tests, collect coverage
|
|
58
|
+
deps: [TESTGEN-002], inner_loop: true, meta: layer=L2-integration, coverage_target=60%
|
|
59
|
+
TESTANA-001 (analyst): Defect pattern analysis, quality report
|
|
60
|
+
deps: [TESTRUN-002]
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Comprehensive Pipeline
|
|
64
|
+
```
|
|
65
|
+
STRATEGY-001 (strategist): Analyze change scope, define test strategy
|
|
66
|
+
deps: []
|
|
67
|
+
TESTGEN-001 (generator-1): Generate L1 unit tests
|
|
68
|
+
deps: [STRATEGY-001], meta: layer=L1-unit
|
|
69
|
+
TESTGEN-002 (generator-2): Generate L2 integration tests
|
|
70
|
+
deps: [STRATEGY-001], meta: layer=L2-integration
|
|
71
|
+
TESTRUN-001 (executor-1): Execute L1 tests, collect coverage
|
|
72
|
+
deps: [TESTGEN-001], inner_loop: true, meta: layer=L1-unit, coverage_target=80%
|
|
73
|
+
TESTRUN-002 (executor-2): Execute L2 tests, collect coverage
|
|
74
|
+
deps: [TESTGEN-002], inner_loop: true, meta: layer=L2-integration, coverage_target=60%
|
|
75
|
+
TESTGEN-003 (generator): Generate L3 E2E tests
|
|
76
|
+
deps: [TESTRUN-001, TESTRUN-002], meta: layer=L3-e2e
|
|
77
|
+
TESTRUN-003 (executor): Execute L3 tests, collect coverage
|
|
78
|
+
deps: [TESTGEN-003], inner_loop: true, meta: layer=L3-e2e, coverage_target=40%
|
|
79
|
+
TESTANA-001 (analyst): Defect pattern analysis, quality report
|
|
80
|
+
deps: [TESTRUN-003]
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## InnerLoop Flag Rules
|
|
84
|
+
|
|
85
|
+
- true: generator, executor roles (GC loop iterations)
|
|
86
|
+
- false: strategist, analyst roles
|
|
87
|
+
|
|
88
|
+
## Dependency Validation
|
|
89
|
+
|
|
90
|
+
- No orphan tasks (all tasks have valid owner)
|
|
91
|
+
- No circular dependencies
|
|
92
|
+
- All deps references exist in tasks object
|
|
93
|
+
- Session reference in every task description
|
|
94
|
+
- RoleSpec reference in every task description
|
|
95
|
+
|
|
96
|
+
## Log After Creation
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
mcp__ccw-tools__team_msg({
|
|
100
|
+
operation: "log",
|
|
101
|
+
session_id: <session-id>,
|
|
102
|
+
from: "coordinator",
|
|
103
|
+
type: "pipeline_selected",
|
|
104
|
+
data: { pipeline: "<mode>", task_count: <N> }
|
|
105
|
+
})
|
|
106
|
+
```
|