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.
Files changed (181) hide show
  1. package/.codex/skills/team-arch-opt/SKILL.md +242 -175
  2. package/.codex/skills/team-arch-opt/roles/analyzer/role.md +78 -78
  3. package/.codex/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
  4. package/.codex/skills/team-arch-opt/roles/coordinator/commands/monitor.md +246 -204
  5. package/.codex/skills/team-arch-opt/roles/coordinator/role.md +196 -184
  6. package/.codex/skills/team-arch-opt/roles/designer/role.md +115 -115
  7. package/.codex/skills/team-arch-opt/roles/refactorer/role.md +102 -102
  8. package/.codex/skills/team-arch-opt/roles/reviewer/role.md +111 -111
  9. package/.codex/skills/team-arch-opt/roles/validator/role.md +115 -115
  10. package/.codex/skills/team-arch-opt/specs/pipelines.md +102 -102
  11. package/.codex/skills/team-brainstorm/SKILL.md +72 -4
  12. package/.codex/skills/team-brainstorm/roles/challenger/role.md +61 -61
  13. package/.codex/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
  14. package/.codex/skills/team-brainstorm/roles/coordinator/commands/monitor.md +212 -171
  15. package/.codex/skills/team-brainstorm/roles/coordinator/role.md +172 -160
  16. package/.codex/skills/team-brainstorm/roles/evaluator/role.md +56 -56
  17. package/.codex/skills/team-brainstorm/roles/ideator/role.md +69 -69
  18. package/.codex/skills/team-brainstorm/roles/synthesizer/role.md +57 -57
  19. package/.codex/skills/team-brainstorm/specs/pipelines.md +72 -72
  20. package/.codex/skills/team-coordinate/SKILL.md +71 -3
  21. package/.codex/skills/team-coordinate/roles/coordinator/commands/monitor.md +45 -5
  22. package/.codex/skills/team-coordinate/roles/coordinator/role.md +402 -389
  23. package/.codex/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
  24. package/.codex/skills/team-coordinate/specs/pipelines.md +97 -97
  25. package/.codex/skills/team-coordinate/specs/quality-gates.md +112 -112
  26. package/.codex/skills/team-designer/SKILL.md +153 -153
  27. package/.codex/skills/team-designer/phases/01-requirements-analysis.md +250 -250
  28. package/.codex/skills/team-designer/phases/02-scaffold-generation.md +228 -228
  29. package/.codex/skills/team-designer/phases/03-content-generation.md +330 -330
  30. package/.codex/skills/team-designer/phases/04-validation.md +320 -320
  31. package/.codex/skills/team-executor/SKILL.md +29 -2
  32. package/.codex/skills/team-executor/roles/executor/commands/monitor.md +23 -15
  33. package/.codex/skills/team-frontend/SKILL.md +77 -3
  34. package/.codex/skills/team-frontend/roles/analyst/role.md +92 -92
  35. package/.codex/skills/team-frontend/roles/architect/role.md +86 -86
  36. package/.codex/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
  37. package/.codex/skills/team-frontend/roles/coordinator/commands/monitor.md +222 -188
  38. package/.codex/skills/team-frontend/roles/coordinator/role.md +189 -177
  39. package/.codex/skills/team-frontend/roles/developer/role.md +93 -93
  40. package/.codex/skills/team-frontend/roles/qa/role.md +79 -79
  41. package/.codex/skills/team-frontend/specs/pipelines.md +76 -76
  42. package/.codex/skills/team-frontend-debug/SKILL.md +66 -3
  43. package/.codex/skills/team-frontend-debug/roles/analyzer/role.md +208 -208
  44. package/.codex/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
  45. package/.codex/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +198 -198
  46. package/.codex/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +177 -143
  47. package/.codex/skills/team-frontend-debug/roles/coordinator/role.md +164 -152
  48. package/.codex/skills/team-frontend-debug/roles/fixer/role.md +147 -147
  49. package/.codex/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
  50. package/.codex/skills/team-frontend-debug/roles/tester/role.md +231 -231
  51. package/.codex/skills/team-frontend-debug/roles/verifier/role.md +172 -172
  52. package/.codex/skills/team-frontend-debug/specs/debug-tools.md +215 -215
  53. package/.codex/skills/team-frontend-debug/specs/pipelines.md +94 -94
  54. package/.codex/skills/team-issue/SKILL.md +83 -4
  55. package/.codex/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
  56. package/.codex/skills/team-issue/roles/coordinator/commands/dispatch.md +273 -273
  57. package/.codex/skills/team-issue/roles/coordinator/commands/monitor.md +235 -194
  58. package/.codex/skills/team-issue/roles/coordinator/role.md +206 -194
  59. package/.codex/skills/team-issue/roles/explorer/role.md +94 -94
  60. package/.codex/skills/team-issue/roles/implementer/role.md +87 -87
  61. package/.codex/skills/team-issue/roles/integrator/role.md +84 -84
  62. package/.codex/skills/team-issue/roles/planner/role.md +81 -81
  63. package/.codex/skills/team-issue/roles/reviewer/role.md +86 -86
  64. package/.codex/skills/team-issue/specs/pipelines.md +124 -124
  65. package/.codex/skills/team-iterdev/SKILL.md +64 -3
  66. package/.codex/skills/team-iterdev/roles/architect/role.md +65 -65
  67. package/.codex/skills/team-iterdev/roles/coordinator/commands/analyze.md +62 -62
  68. package/.codex/skills/team-iterdev/roles/coordinator/commands/monitor.md +227 -186
  69. package/.codex/skills/team-iterdev/roles/coordinator/role.md +193 -181
  70. package/.codex/skills/team-iterdev/roles/developer/role.md +74 -74
  71. package/.codex/skills/team-iterdev/roles/reviewer/role.md +66 -66
  72. package/.codex/skills/team-iterdev/roles/tester/role.md +88 -88
  73. package/.codex/skills/team-iterdev/specs/pipelines.md +94 -94
  74. package/.codex/skills/team-lifecycle-v4/MIGRATION-PLAN.md +6 -6
  75. package/.codex/skills/team-lifecycle-v4/SKILL.md +305 -242
  76. package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +1 -1
  77. package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +66 -24
  78. package/.codex/skills/team-lifecycle-v4/roles/coordinator/role.md +13 -1
  79. package/.codex/skills/team-lifecycle-v4/roles/supervisor/role.md +1 -1
  80. package/.codex/skills/team-lifecycle-v4/templates/architecture.md +254 -254
  81. package/.codex/skills/team-lifecycle-v4/templates/epics.md +196 -196
  82. package/.codex/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
  83. package/.codex/skills/team-lifecycle-v4/templates/requirements.md +224 -224
  84. package/.codex/skills/team-perf-opt/SKILL.md +68 -3
  85. package/.codex/skills/team-perf-opt/roles/benchmarker/role.md +89 -89
  86. package/.codex/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
  87. package/.codex/skills/team-perf-opt/roles/coordinator/commands/monitor.md +35 -1
  88. package/.codex/skills/team-perf-opt/roles/coordinator/role.md +179 -167
  89. package/.codex/skills/team-perf-opt/roles/optimizer/role.md +97 -97
  90. package/.codex/skills/team-perf-opt/roles/profiler/role.md +73 -73
  91. package/.codex/skills/team-perf-opt/roles/reviewer/role.md +75 -75
  92. package/.codex/skills/team-perf-opt/roles/strategist/role.md +94 -94
  93. package/.codex/skills/team-perf-opt/specs/pipelines.md +65 -65
  94. package/.codex/skills/team-planex/SKILL.md +65 -3
  95. package/.codex/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
  96. package/.codex/skills/team-planex/roles/coordinator/commands/monitor.md +210 -164
  97. package/.codex/skills/team-planex/roles/coordinator/role.md +171 -159
  98. package/.codex/skills/team-planex/roles/executor/role.md +91 -91
  99. package/.codex/skills/team-planex/roles/planner/role.md +112 -112
  100. package/.codex/skills/team-planex/specs/pipelines.md +93 -93
  101. package/.codex/skills/team-quality-assurance/SKILL.md +60 -3
  102. package/.codex/skills/team-quality-assurance/roles/analyst/role.md +80 -80
  103. package/.codex/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
  104. package/.codex/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +108 -108
  105. package/.codex/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +243 -209
  106. package/.codex/skills/team-quality-assurance/roles/coordinator/role.md +176 -164
  107. package/.codex/skills/team-quality-assurance/roles/executor/role.md +66 -66
  108. package/.codex/skills/team-quality-assurance/roles/generator/role.md +68 -68
  109. package/.codex/skills/team-quality-assurance/roles/scout/role.md +67 -67
  110. package/.codex/skills/team-quality-assurance/roles/strategist/role.md +71 -71
  111. package/.codex/skills/team-quality-assurance/specs/pipelines.md +115 -115
  112. package/.codex/skills/team-review/SKILL.md +58 -3
  113. package/.codex/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
  114. package/.codex/skills/team-review/roles/coordinator/commands/dispatch.md +90 -90
  115. package/.codex/skills/team-review/roles/coordinator/commands/monitor.md +225 -185
  116. package/.codex/skills/team-review/roles/coordinator/role.md +175 -163
  117. package/.codex/skills/team-review/roles/fixer/role.md +76 -76
  118. package/.codex/skills/team-review/roles/reviewer/role.md +68 -68
  119. package/.codex/skills/team-review/roles/scanner/role.md +71 -71
  120. package/.codex/skills/team-review/specs/pipelines.md +102 -102
  121. package/.codex/skills/team-roadmap-dev/SKILL.md +55 -3
  122. package/.codex/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
  123. package/.codex/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +502 -468
  124. package/.codex/skills/team-roadmap-dev/roles/coordinator/role.md +335 -322
  125. package/.codex/skills/team-roadmap-dev/roles/executor/role.md +71 -71
  126. package/.codex/skills/team-roadmap-dev/roles/planner/role.md +76 -76
  127. package/.codex/skills/team-roadmap-dev/roles/verifier/role.md +74 -74
  128. package/.codex/skills/team-roadmap-dev/specs/pipelines.md +93 -93
  129. package/.codex/skills/team-tech-debt/SKILL.md +56 -3
  130. package/.codex/skills/team-tech-debt/roles/assessor/role.md +69 -69
  131. package/.codex/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
  132. package/.codex/skills/team-tech-debt/roles/coordinator/commands/monitor.md +272 -231
  133. package/.codex/skills/team-tech-debt/roles/coordinator/role.md +172 -160
  134. package/.codex/skills/team-tech-debt/roles/executor/role.md +76 -76
  135. package/.codex/skills/team-tech-debt/roles/planner/role.md +69 -69
  136. package/.codex/skills/team-tech-debt/roles/scanner/role.md +82 -82
  137. package/.codex/skills/team-tech-debt/roles/validator/role.md +75 -75
  138. package/.codex/skills/team-tech-debt/specs/pipelines.md +47 -47
  139. package/.codex/skills/team-testing/SKILL.md +72 -3
  140. package/.codex/skills/team-testing/roles/analyst/role.md +95 -95
  141. package/.codex/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
  142. package/.codex/skills/team-testing/roles/coordinator/commands/dispatch.md +106 -106
  143. package/.codex/skills/team-testing/roles/coordinator/commands/monitor.md +283 -242
  144. package/.codex/skills/team-testing/roles/coordinator/role.md +184 -172
  145. package/.codex/skills/team-testing/roles/executor/role.md +96 -96
  146. package/.codex/skills/team-testing/roles/generator/role.md +95 -95
  147. package/.codex/skills/team-testing/roles/strategist/role.md +83 -83
  148. package/.codex/skills/team-testing/specs/pipelines.md +101 -101
  149. package/.codex/skills/team-uidesign/SKILL.md +65 -3
  150. package/.codex/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
  151. package/.codex/skills/team-uidesign/roles/coordinator/commands/dispatch.md +156 -156
  152. package/.codex/skills/team-uidesign/roles/coordinator/commands/monitor.md +234 -194
  153. package/.codex/skills/team-uidesign/roles/coordinator/role.md +211 -199
  154. package/.codex/skills/team-uidesign/roles/designer/role.md +69 -69
  155. package/.codex/skills/team-uidesign/roles/implementer/role.md +72 -72
  156. package/.codex/skills/team-uidesign/roles/researcher/role.md +82 -82
  157. package/.codex/skills/team-uidesign/roles/reviewer/role.md +67 -67
  158. package/.codex/skills/team-uidesign/specs/pipelines.md +76 -76
  159. package/.codex/skills/team-ultra-analyze/SKILL.md +73 -3
  160. package/.codex/skills/team-ultra-analyze/roles/analyst/role.md +90 -90
  161. package/.codex/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
  162. package/.codex/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +50 -9
  163. package/.codex/skills/team-ultra-analyze/roles/coordinator/role.md +255 -243
  164. package/.codex/skills/team-ultra-analyze/roles/discussant/role.md +104 -104
  165. package/.codex/skills/team-ultra-analyze/roles/explorer/role.md +74 -74
  166. package/.codex/skills/team-ultra-analyze/roles/synthesizer/role.md +78 -78
  167. package/.codex/skills/team-ultra-analyze/specs/pipelines.md +64 -64
  168. package/.codex/skills/team-ux-improve/SKILL.md +64 -3
  169. package/.codex/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
  170. package/.codex/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +233 -233
  171. package/.codex/skills/team-ux-improve/roles/coordinator/commands/monitor.md +195 -160
  172. package/.codex/skills/team-ux-improve/roles/coordinator/role.md +170 -158
  173. package/.codex/skills/team-ux-improve/roles/designer/role.md +122 -122
  174. package/.codex/skills/team-ux-improve/roles/diagnoser/role.md +93 -93
  175. package/.codex/skills/team-ux-improve/roles/explorer/role.md +77 -77
  176. package/.codex/skills/team-ux-improve/roles/implementer/role.md +102 -102
  177. package/.codex/skills/team-ux-improve/roles/scanner/role.md +93 -93
  178. package/.codex/skills/team-ux-improve/roles/tester/role.md +84 -84
  179. package/.codex/skills/team-ux-improve/specs/pipelines.md +54 -54
  180. package/README.md +1 -0
  181. package/package.json +1 -1
@@ -1,72 +1,72 @@
1
- # Analyze Task
2
-
3
- Parse user task -> detect QA capabilities -> build dependency graph -> 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
- | scan, discover, find issues, audit | scout | SCOUT |
12
- | strategy, plan, test layers, coverage | strategist | QASTRAT |
13
- | generate tests, write tests, create tests | generator | QAGEN |
14
- | run tests, execute, fix tests | executor | QARUN |
15
- | analyze, report, quality score | analyst | QAANA |
16
-
17
- ## QA Mode Detection
18
-
19
- | Condition | Mode |
20
- |-----------|------|
21
- | Keywords: discovery, scan, issues, bug-finding | discovery |
22
- | Keywords: test, coverage, TDD, unit, integration | testing |
23
- | Both keyword types OR no clear match | full |
24
-
25
- ## Dependency Graph
26
-
27
- Natural ordering tiers for QA pipeline:
28
- - Tier 0: scout (issue discovery)
29
- - Tier 1: strategist (strategy requires scout discoveries)
30
- - Tier 2: generator (generation requires strategy)
31
- - Tier 3: executor (execution requires generated tests)
32
- - Tier 4: analyst (analysis requires execution results)
33
-
34
- ## Pipeline Definitions
35
-
36
- ```
37
- Discovery Mode: SCOUT -> QASTRAT -> QAGEN(L1) -> QARUN(L1) -> QAANA
38
- Testing Mode: QASTRAT -> QAGEN(L1) -> QARUN(L1) -> QAGEN(L2) -> QARUN(L2) -> QAANA
39
- Full Mode: SCOUT -> QASTRAT -> [QAGEN(L1) || QAGEN(L2)] -> [QARUN(L1) || QARUN(L2)] -> QAANA -> SCOUT(regression)
40
- ```
41
-
42
- ## Complexity Scoring
43
-
44
- | Factor | Points |
45
- |--------|--------|
46
- | Per capability | +1 |
47
- | Cross-domain (test + discovery) | +2 |
48
- | Parallel tracks | +1 per track |
49
- | Serial depth > 3 | +1 |
50
-
51
- Results: 1-3 Low, 4-6 Medium, 7+ High
52
-
53
- ## Role Minimization
54
-
55
- - Cap at 6 roles (coordinator + 5 workers)
56
- - Merge overlapping capabilities
57
- - Absorb trivial single-step roles
58
-
59
- ## Output
60
-
61
- Write <session>/task-analysis.json:
62
- ```json
63
- {
64
- "task_description": "<original>",
65
- "pipeline_mode": "<discovery|testing|full>",
66
- "capabilities": [{ "name": "<cap>", "prefix": "<PREFIX>", "keywords": ["..."] }],
67
- "dependency_graph": { "<TASK-ID>": { "role": "<role>", "addBlockedBy": ["..."], "priority": "P0|P1|P2" } },
68
- "roles": [{ "name": "<role>", "prefix": "<PREFIX>", "inner_loop": false }],
69
- "complexity": { "score": 0, "level": "Low|Medium|High" },
70
- "gc_loop_enabled": true
71
- }
72
- ```
1
+ # Analyze Task
2
+
3
+ Parse user task -> detect QA capabilities -> build dependency graph -> 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
+ | scan, discover, find issues, audit | scout | SCOUT |
12
+ | strategy, plan, test layers, coverage | strategist | QASTRAT |
13
+ | generate tests, write tests, create tests | generator | QAGEN |
14
+ | run tests, execute, fix tests | executor | QARUN |
15
+ | analyze, report, quality score | analyst | QAANA |
16
+
17
+ ## QA Mode Detection
18
+
19
+ | Condition | Mode |
20
+ |-----------|------|
21
+ | Keywords: discovery, scan, issues, bug-finding | discovery |
22
+ | Keywords: test, coverage, TDD, unit, integration | testing |
23
+ | Both keyword types OR no clear match | full |
24
+
25
+ ## Dependency Graph
26
+
27
+ Natural ordering tiers for QA pipeline:
28
+ - Tier 0: scout (issue discovery)
29
+ - Tier 1: strategist (strategy requires scout discoveries)
30
+ - Tier 2: generator (generation requires strategy)
31
+ - Tier 3: executor (execution requires generated tests)
32
+ - Tier 4: analyst (analysis requires execution results)
33
+
34
+ ## Pipeline Definitions
35
+
36
+ ```
37
+ Discovery Mode: SCOUT -> QASTRAT -> QAGEN(L1) -> QARUN(L1) -> QAANA
38
+ Testing Mode: QASTRAT -> QAGEN(L1) -> QARUN(L1) -> QAGEN(L2) -> QARUN(L2) -> QAANA
39
+ Full Mode: SCOUT -> QASTRAT -> [QAGEN(L1) || QAGEN(L2)] -> [QARUN(L1) || QARUN(L2)] -> QAANA -> SCOUT(regression)
40
+ ```
41
+
42
+ ## Complexity Scoring
43
+
44
+ | Factor | Points |
45
+ |--------|--------|
46
+ | Per capability | +1 |
47
+ | Cross-domain (test + discovery) | +2 |
48
+ | Parallel tracks | +1 per track |
49
+ | Serial depth > 3 | +1 |
50
+
51
+ Results: 1-3 Low, 4-6 Medium, 7+ High
52
+
53
+ ## Role Minimization
54
+
55
+ - Cap at 6 roles (coordinator + 5 workers)
56
+ - Merge overlapping capabilities
57
+ - Absorb trivial single-step roles
58
+
59
+ ## Output
60
+
61
+ Write <session>/task-analysis.json:
62
+ ```json
63
+ {
64
+ "task_description": "<original>",
65
+ "pipeline_mode": "<discovery|testing|full>",
66
+ "capabilities": [{ "name": "<cap>", "prefix": "<PREFIX>", "keywords": ["..."] }],
67
+ "dependency_graph": { "<TASK-ID>": { "role": "<role>", "addBlockedBy": ["..."], "priority": "P0|P1|P2" } },
68
+ "roles": [{ "name": "<role>", "prefix": "<PREFIX>", "inner_loop": false }],
69
+ "complexity": { "score": 0, "level": "Low|Medium|High" },
70
+ "gc_loop_enabled": true
71
+ }
72
+ ```
@@ -1,108 +1,108 @@
1
- # Dispatch Tasks
2
-
3
- Create task chains from dependency graph with proper blockedBy relationships.
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 blockedBy)
10
- 4. Validate all owners exist in role registry (SKILL.md)
11
- 5. For each task (in order):
12
- - Build JSON entry with structured description (see template below)
13
- - Set blockedBy and owner fields in the entry
14
- 6. Write all entries to `<session>/tasks.json`
15
- 7. Update session.json with pipeline.tasks_total
16
- 8. Validate chain (no orphans, no cycles, all refs valid)
17
-
18
- ## Task Description Template
19
-
20
- Each task is a JSON entry in the tasks array:
21
-
22
- ```json
23
- {
24
- "id": "<TASK-ID>",
25
- "subject": "<TASK-ID>",
26
- "description": "PURPOSE: <goal> | Success: <criteria>\nTASK:\n - <step 1>\n - <step 2>\nCONTEXT:\n - Session: <session-folder>\n - Layer: <L1-unit|L2-integration|L3-e2e> (if applicable)\n - Upstream artifacts: <list>\n - Shared memory: <session>/wisdom/.msg/meta.json\nEXPECTED: <artifact path> + <quality criteria>\nCONSTRAINTS: <scope limits>\n---\nInnerLoop: <true|false>\nRoleSpec: ~ or <project>/.codex/skills/team-quality-assurance/roles/<role>/role.md",
27
- "status": "pending",
28
- "owner": "<role>",
29
- "blockedBy": ["<dependency-list>"]
30
- }
31
- ```
32
-
33
- ## Pipeline Task Registry
34
-
35
- ### Discovery Mode
36
- ```
37
- SCOUT-001 (scout): Multi-perspective issue scanning
38
- blockedBy: []
39
- QASTRAT-001 (strategist): Test strategy formulation
40
- blockedBy: [SCOUT-001]
41
- QAGEN-001 (generator): L1 unit test generation
42
- blockedBy: [QASTRAT-001], meta: layer=L1
43
- QARUN-001 (executor): L1 test execution + fix cycles
44
- blockedBy: [QAGEN-001], inner_loop: true, meta: layer=L1
45
- QAANA-001 (analyst): Quality analysis report
46
- blockedBy: [QARUN-001]
47
- ```
48
-
49
- ### Testing Mode
50
- ```
51
- QASTRAT-001 (strategist): Test strategy formulation
52
- blockedBy: []
53
- QAGEN-L1-001 (generator): L1 unit test generation
54
- blockedBy: [QASTRAT-001], meta: layer=L1
55
- QARUN-L1-001 (executor): L1 test execution + fix cycles
56
- blockedBy: [QAGEN-L1-001], inner_loop: true, meta: layer=L1
57
- QAGEN-L2-001 (generator): L2 integration test generation
58
- blockedBy: [QARUN-L1-001], meta: layer=L2
59
- QARUN-L2-001 (executor): L2 test execution + fix cycles
60
- blockedBy: [QAGEN-L2-001], inner_loop: true, meta: layer=L2
61
- QAANA-001 (analyst): Quality analysis report
62
- blockedBy: [QARUN-L2-001]
63
- ```
64
-
65
- ### Full Mode
66
- ```
67
- SCOUT-001 (scout): Multi-perspective issue scanning
68
- blockedBy: []
69
- QASTRAT-001 (strategist): Test strategy formulation
70
- blockedBy: [SCOUT-001]
71
- QAGEN-L1-001 (generator-1): L1 unit test generation
72
- blockedBy: [QASTRAT-001], meta: layer=L1
73
- QAGEN-L2-001 (generator-2): L2 integration test generation
74
- blockedBy: [QASTRAT-001], meta: layer=L2
75
- QARUN-L1-001 (executor-1): L1 test execution + fix cycles
76
- blockedBy: [QAGEN-L1-001], inner_loop: true, meta: layer=L1
77
- QARUN-L2-001 (executor-2): L2 test execution + fix cycles
78
- blockedBy: [QAGEN-L2-001], inner_loop: true, meta: layer=L2
79
- QAANA-001 (analyst): Quality analysis report
80
- blockedBy: [QARUN-L1-001, QARUN-L2-001]
81
- SCOUT-002 (scout): Regression scan after fixes
82
- blockedBy: [QAANA-001]
83
- ```
84
-
85
- ## InnerLoop Flag Rules
86
-
87
- - true: executor roles (run-fix cycles)
88
- - false: scout, strategist, generator, analyst roles
89
-
90
- ## Dependency Validation
91
-
92
- - No orphan tasks (all tasks have valid owner)
93
- - No circular dependencies
94
- - All blockedBy references exist
95
- - Session reference in every task description
96
- - RoleSpec reference in every task description
97
-
98
- ## Log After Creation
99
-
100
- ```
101
- mcp__ccw-tools__team_msg({
102
- operation: "log",
103
- session_id: <session-id>,
104
- from: "coordinator",
105
- type: "pipeline_selected",
106
- data: { pipeline: "<mode>", task_count: <N> }
107
- })
108
- ```
1
+ # Dispatch Tasks
2
+
3
+ Create task chains from dependency graph with proper blockedBy relationships.
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 blockedBy)
10
+ 4. Validate all owners exist in role registry (SKILL.md)
11
+ 5. For each task (in order):
12
+ - Build JSON entry with structured description (see template below)
13
+ - Set blockedBy and owner fields in the entry
14
+ 6. Write all entries to `<session>/tasks.json`
15
+ 7. Update session.json with pipeline.tasks_total
16
+ 8. Validate chain (no orphans, no cycles, all refs valid)
17
+
18
+ ## Task Description Template
19
+
20
+ Each task is a JSON entry in the tasks array:
21
+
22
+ ```json
23
+ {
24
+ "id": "<TASK-ID>",
25
+ "subject": "<TASK-ID>",
26
+ "description": "PURPOSE: <goal> | Success: <criteria>\nTASK:\n - <step 1>\n - <step 2>\nCONTEXT:\n - Session: <session-folder>\n - Layer: <L1-unit|L2-integration|L3-e2e> (if applicable)\n - Upstream artifacts: <list>\n - Shared memory: <session>/wisdom/.msg/meta.json\nEXPECTED: <artifact path> + <quality criteria>\nCONSTRAINTS: <scope limits>\n---\nInnerLoop: <true|false>\nRoleSpec: ~ or <project>/.codex/skills/team-quality-assurance/roles/<role>/role.md",
27
+ "status": "pending",
28
+ "owner": "<role>",
29
+ "blockedBy": ["<dependency-list>"]
30
+ }
31
+ ```
32
+
33
+ ## Pipeline Task Registry
34
+
35
+ ### Discovery Mode
36
+ ```
37
+ SCOUT-001 (scout): Multi-perspective issue scanning
38
+ blockedBy: []
39
+ QASTRAT-001 (strategist): Test strategy formulation
40
+ blockedBy: [SCOUT-001]
41
+ QAGEN-001 (generator): L1 unit test generation
42
+ blockedBy: [QASTRAT-001], meta: layer=L1
43
+ QARUN-001 (executor): L1 test execution + fix cycles
44
+ blockedBy: [QAGEN-001], inner_loop: true, meta: layer=L1
45
+ QAANA-001 (analyst): Quality analysis report
46
+ blockedBy: [QARUN-001]
47
+ ```
48
+
49
+ ### Testing Mode
50
+ ```
51
+ QASTRAT-001 (strategist): Test strategy formulation
52
+ blockedBy: []
53
+ QAGEN-L1-001 (generator): L1 unit test generation
54
+ blockedBy: [QASTRAT-001], meta: layer=L1
55
+ QARUN-L1-001 (executor): L1 test execution + fix cycles
56
+ blockedBy: [QAGEN-L1-001], inner_loop: true, meta: layer=L1
57
+ QAGEN-L2-001 (generator): L2 integration test generation
58
+ blockedBy: [QARUN-L1-001], meta: layer=L2
59
+ QARUN-L2-001 (executor): L2 test execution + fix cycles
60
+ blockedBy: [QAGEN-L2-001], inner_loop: true, meta: layer=L2
61
+ QAANA-001 (analyst): Quality analysis report
62
+ blockedBy: [QARUN-L2-001]
63
+ ```
64
+
65
+ ### Full Mode
66
+ ```
67
+ SCOUT-001 (scout): Multi-perspective issue scanning
68
+ blockedBy: []
69
+ QASTRAT-001 (strategist): Test strategy formulation
70
+ blockedBy: [SCOUT-001]
71
+ QAGEN-L1-001 (generator-1): L1 unit test generation
72
+ blockedBy: [QASTRAT-001], meta: layer=L1
73
+ QAGEN-L2-001 (generator-2): L2 integration test generation
74
+ blockedBy: [QASTRAT-001], meta: layer=L2
75
+ QARUN-L1-001 (executor-1): L1 test execution + fix cycles
76
+ blockedBy: [QAGEN-L1-001], inner_loop: true, meta: layer=L1
77
+ QARUN-L2-001 (executor-2): L2 test execution + fix cycles
78
+ blockedBy: [QAGEN-L2-001], inner_loop: true, meta: layer=L2
79
+ QAANA-001 (analyst): Quality analysis report
80
+ blockedBy: [QARUN-L1-001, QARUN-L2-001]
81
+ SCOUT-002 (scout): Regression scan after fixes
82
+ blockedBy: [QAANA-001]
83
+ ```
84
+
85
+ ## InnerLoop Flag Rules
86
+
87
+ - true: executor roles (run-fix cycles)
88
+ - false: scout, strategist, generator, analyst roles
89
+
90
+ ## Dependency Validation
91
+
92
+ - No orphan tasks (all tasks have valid owner)
93
+ - No circular dependencies
94
+ - All blockedBy references exist
95
+ - Session reference in every task description
96
+ - RoleSpec reference in every task description
97
+
98
+ ## Log After Creation
99
+
100
+ ```
101
+ mcp__ccw-tools__team_msg({
102
+ operation: "log",
103
+ session_id: <session-id>,
104
+ from: "coordinator",
105
+ type: "pipeline_selected",
106
+ data: { pipeline: "<mode>", task_count: <N> }
107
+ })
108
+ ```