claude-code-workflow 7.2.3 → 7.2.4

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 (99) hide show
  1. package/.claude/agents/team-worker.md +2 -2
  2. package/.claude/skills/team-arch-opt/SKILL.md +1 -1
  3. package/.claude/skills/team-arch-opt/roles/coordinator/commands/monitor.md +1 -1
  4. package/.claude/skills/team-arch-opt/specs/team-config.json +1 -1
  5. package/.claude/skills/team-brainstorm/SKILL.md +2 -2
  6. package/.claude/skills/team-brainstorm/roles/coordinator/commands/monitor.md +1 -1
  7. package/.claude/skills/team-designer/SKILL.md +2 -2
  8. package/.claude/skills/team-designer/phases/03-content-generation.md +2 -2
  9. package/.claude/skills/team-edict/SKILL.md +1 -1
  10. package/.claude/skills/team-edict/role-specs/xingbu.md +1 -1
  11. package/.claude/skills/team-edict/roles/coordinator/role.md +4 -4
  12. package/.claude/skills/team-frontend/SKILL.md +1 -1
  13. package/.claude/skills/team-frontend/roles/coordinator/commands/monitor.md +1 -1
  14. package/.claude/skills/team-frontend-debug/SKILL.md +1 -1
  15. package/.claude/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +11 -11
  16. package/.claude/skills/team-issue/SKILL.md +2 -2
  17. package/.claude/skills/team-issue/roles/coordinator/commands/monitor.md +2 -2
  18. package/.claude/skills/team-iterdev/SKILL.md +1 -1
  19. package/.claude/skills/team-iterdev/roles/coordinator/commands/monitor.md +1 -1
  20. package/.claude/skills/team-lifecycle-v4/SKILL.md +2 -2
  21. package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +2 -2
  22. package/.claude/skills/team-perf-opt/SKILL.md +1 -1
  23. package/.claude/skills/team-perf-opt/roles/coordinator/commands/monitor.md +1 -1
  24. package/.claude/skills/team-perf-opt/roles/coordinator/role.md +1 -1
  25. package/.claude/skills/team-perf-opt/specs/team-config.json +1 -1
  26. package/.claude/skills/team-planex/SKILL.md +1 -1
  27. package/.claude/skills/team-planex/roles/coordinator/commands/monitor.md +1 -1
  28. package/.claude/skills/team-quality-assurance/SKILL.md +1 -1
  29. package/.claude/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +1 -1
  30. package/.claude/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +3 -3
  31. package/.claude/skills/team-review/SKILL.md +1 -1
  32. package/.claude/skills/team-review/roles/coordinator/commands/dispatch.md +1 -1
  33. package/.claude/skills/team-review/roles/coordinator/commands/monitor.md +4 -4
  34. package/.claude/skills/team-roadmap-dev/SKILL.md +1 -1
  35. package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +4 -4
  36. package/.claude/skills/team-roadmap-dev/specs/pipelines.md +3 -3
  37. package/.claude/skills/team-roadmap-dev/specs/team-config.json +1 -1
  38. package/.claude/skills/team-tech-debt/SKILL.md +1 -1
  39. package/.claude/skills/team-tech-debt/roles/coordinator/commands/monitor.md +1 -1
  40. package/.claude/skills/team-testing/SKILL.md +1 -1
  41. package/.claude/skills/team-testing/roles/coordinator/commands/dispatch.md +1 -1
  42. package/.claude/skills/team-testing/roles/coordinator/commands/monitor.md +7 -7
  43. package/.claude/skills/team-uidesign/SKILL.md +1 -1
  44. package/.claude/skills/team-uidesign/roles/coordinator/commands/monitor.md +1 -1
  45. package/.claude/skills/team-ultra-analyze/SKILL.md +1 -1
  46. package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +5 -5
  47. package/.claude/skills/team-ultra-analyze/roles/coordinator/role.md +1 -1
  48. package/.claude/skills/team-ux-improve/SKILL.md +1 -1
  49. package/.claude/skills/team-ux-improve/roles/coordinator/commands/monitor.md +1 -1
  50. package/.claude/skills/team-ux-improve/roles/coordinator/role.md +2 -2
  51. package/.claude/skills/team-ux-improve/specs/pipelines.md +1 -1
  52. package/.claude/skills/team-ux-improve/specs/team-config.json +1 -1
  53. package/.codex/skills/team-arch-opt/SKILL.md +38 -0
  54. package/.codex/skills/team-arch-opt/instructions/agent-instruction.md +114 -114
  55. package/.codex/skills/team-brainstorm/SKILL.md +725 -687
  56. package/.codex/skills/team-coordinate/SKILL.md +38 -0
  57. package/.codex/skills/team-designer/SKILL.md +691 -653
  58. package/.codex/skills/team-designer/schemas/tasks-schema.md +180 -180
  59. package/.codex/skills/team-edict/SKILL.md +781 -742
  60. package/.codex/skills/team-edict/agents/aggregator.md +246 -246
  61. package/.codex/skills/team-edict/agents/qa-verifier.md +274 -274
  62. package/.codex/skills/team-edict/agents/shangshu-dispatcher.md +247 -247
  63. package/.codex/skills/team-edict/agents/zhongshu-planner.md +198 -198
  64. package/.codex/skills/team-edict/instructions/agent-instruction.md +177 -177
  65. package/.codex/skills/team-executor/SKILL.md +38 -0
  66. package/.codex/skills/team-frontend/SKILL.md +38 -0
  67. package/.codex/skills/team-frontend-debug/SKILL.md +38 -0
  68. package/.codex/skills/team-issue/SKILL.md +740 -702
  69. package/.codex/skills/team-iterdev/SKILL.md +826 -788
  70. package/.codex/skills/team-lifecycle/SKILL.md +38 -0
  71. package/.codex/skills/team-lifecycle/agents/analyst.md +6 -6
  72. package/.codex/skills/team-lifecycle/agents/discuss-agent.md +1 -1
  73. package/.codex/skills/team-lifecycle/agents/explore-agent.md +3 -3
  74. package/.codex/skills/team-lifecycle/agents/writer.md +3 -3
  75. package/.codex/skills/team-lifecycle/phases/01-requirement-clarification.md +1 -1
  76. package/.codex/skills/team-lifecycle/phases/02-team-initialization.md +1 -1
  77. package/.codex/skills/team-lifecycle/phases/03-task-chain-creation.md +1 -1
  78. package/.codex/skills/team-lifecycle/phases/04-pipeline-coordination.md +1 -1
  79. package/.codex/skills/team-lifecycle/phases/05-completion-report.md +1 -1
  80. package/.codex/skills/team-lifecycle-v4/SKILL.md +775 -737
  81. package/.codex/skills/team-perf-opt/SKILL.md +38 -0
  82. package/.codex/skills/team-perf-opt/instructions/agent-instruction.md +122 -122
  83. package/.codex/skills/team-planex/SKILL.md +38 -0
  84. package/.codex/skills/team-planex-v2/SKILL.md +39 -1
  85. package/.codex/skills/team-quality-assurance/SKILL.md +38 -0
  86. package/.codex/skills/team-review/SKILL.md +38 -0
  87. package/.codex/skills/team-roadmap-dev/SKILL.md +38 -0
  88. package/.codex/skills/team-tech-debt/SKILL.md +38 -0
  89. package/.codex/skills/team-testing/SKILL.md +38 -0
  90. package/.codex/skills/team-uidesign/SKILL.md +38 -0
  91. package/.codex/skills/team-ultra-analyze/SKILL.md +787 -749
  92. package/.codex/skills/team-ux-improve/SKILL.md +38 -0
  93. package/ccw/dist/tools/smart-search.d.ts +23 -0
  94. package/ccw/dist/tools/smart-search.d.ts.map +1 -1
  95. package/ccw/dist/tools/smart-search.js +41 -10
  96. package/ccw/dist/tools/smart-search.js.map +1 -1
  97. package/codex-lens/src/codexlens/config.py +32 -0
  98. package/codex-lens/src/codexlens/storage/index_tree.py +101 -33
  99. package/package.json +1 -1
@@ -1,177 +1,177 @@
1
- ## TASK ASSIGNMENT
2
-
3
- ### MANDATORY FIRST STEPS
4
- 1. Read shared discoveries: .workflow/.csv-wave/{session-id}/discoveries.ndjson (if exists, skip if not)
5
- 2. Read dispatch plan: .workflow/.csv-wave/{session-id}/plan/dispatch-plan.md (task details and acceptance criteria)
6
- 3. Read approved plan: .workflow/.csv-wave/{session-id}/plan/zhongshu-plan.md (overall strategy and context)
7
- 4. Read quality gates: .codex/skills/team-edict/specs/quality-gates.md (quality standards)
8
- 5. Read team config: .codex/skills/team-edict/specs/team-config.json (routing rules and artifact paths)
9
-
10
- > **Note**: The session directory path is provided by the orchestrator in `additional_instructions`. Use it to resolve the paths above.
11
-
12
- ---
13
-
14
- ## Your Task
15
-
16
- **Task ID**: {id}
17
- **Title**: {title}
18
- **Description**: {description}
19
- **Department**: {department}
20
- **Task Prefix**: {task_prefix}
21
- **Priority**: {priority}
22
- **Dispatch Batch**: {dispatch_batch}
23
- **Acceptance Criteria**: {acceptance_criteria}
24
-
25
- ### Previous Tasks' Findings (Context)
26
- {prev_context}
27
-
28
- ---
29
-
30
- ## Execution Protocol
31
-
32
- 1. **Read discoveries**: Load the session's discoveries.ndjson for shared exploration findings from other agents
33
- 2. **Use context**: Apply previous tasks' findings from prev_context above
34
- 3. **Report state start**: Append a state_update discovery with state "Doing":
35
- ```bash
36
- echo '{{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","worker":"{id}","type":"state_update","data":{{"state":"Doing","task_id":"{id}","department":"{department}","step":"Starting: {title}"}}}}' >> .workflow/.csv-wave/{session-id}/discoveries.ndjson
37
- ```
38
- 4. **Execute based on department**:
39
-
40
- **If department = gongbu (Engineering)**:
41
- - Read target files listed in description
42
- - Explore codebase to understand existing patterns and conventions
43
- - Implement changes following project coding style
44
- - Validate changes compile/lint correctly (use IDE diagnostics if available)
45
- - Write output artifact to session artifacts directory
46
- - Run relevant tests if available
47
-
48
- **If department = bingbu (Operations)**:
49
- - Analyze infrastructure requirements from description
50
- - Create/modify deployment scripts, CI/CD configs, or monitoring setup
51
- - Validate configuration syntax
52
- - Write output artifact to session artifacts directory
53
-
54
- **If department = hubu (Data & Resources)**:
55
- - Analyze data sources and requirements from description
56
- - Perform data analysis, generate reports or dashboards
57
- - Include key metrics and visualizations where applicable
58
- - Write output artifact to session artifacts directory
59
-
60
- **If department = libu (Documentation)**:
61
- - Read source code and existing documentation
62
- - Generate documentation following format specified in description
63
- - Ensure accuracy against current implementation
64
- - Include code examples where appropriate
65
- - Write output artifact to session artifacts directory
66
-
67
- **If department = libu-hr (Personnel)**:
68
- - Read agent/skill files as needed
69
- - Analyze patterns, generate training materials or evaluations
70
- - Write output artifact to session artifacts directory
71
-
72
- **If department = xingbu (Quality Assurance)**:
73
- - This department typically runs as interactive (test-fix loop)
74
- - If running as csv-wave: execute one-shot review/audit
75
- - Read code and test files, run analysis
76
- - Classify findings by severity (Critical/High/Medium/Low)
77
- - Write report artifact to session artifacts directory
78
-
79
- 5. **Write artifact**: Save your output to the appropriate artifact file:
80
- - gongbu -> `artifacts/gongbu-output.md`
81
- - bingbu -> `artifacts/bingbu-output.md`
82
- - hubu -> `artifacts/hubu-output.md`
83
- - libu -> `artifacts/libu-output.md`
84
- - libu-hr -> `artifacts/libu-hr-output.md`
85
- - xingbu -> `artifacts/xingbu-report.md`
86
-
87
- If multiple tasks exist for the same department, append task ID: `artifacts/gongbu-output-{id}.md`
88
-
89
- 6. **Share discoveries**: Append exploration findings to shared board:
90
- ```bash
91
- echo '{{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","worker":"{id}","type":"<type>","data":{{...}}}}' >> .workflow/.csv-wave/{session-id}/discoveries.ndjson
92
- ```
93
-
94
- 7. **Report completion state**:
95
- ```bash
96
- echo '{{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","worker":"{id}","type":"state_update","data":{{"state":"Done","task_id":"{id}","department":"{department}","remark":"Completed: <summary>"}}}}' >> .workflow/.csv-wave/{session-id}/discoveries.ndjson
97
- ```
98
-
99
- 8. **Report result**: Return JSON via report_agent_job_result
100
-
101
- ### Discovery Types to Share
102
- - `codebase_pattern`: `{pattern_name, files, description}` -- Identified codebase patterns and conventions
103
- - `dependency_found`: `{dep_name, version, used_by}` -- External dependency discoveries
104
- - `risk_identified`: `{risk_id, severity, description, mitigation}` -- Risk findings
105
- - `implementation_note`: `{file_path, note, line_range}` -- Implementation decisions
106
- - `test_result`: `{test_suite, pass_rate, failures}` -- Test execution results
107
- - `quality_issue`: `{issue_id, severity, file, description}` -- Quality issues found
108
-
109
- ---
110
-
111
- ## Artifact Output Format
112
-
113
- Write your artifact file in this structure:
114
-
115
- ```markdown
116
- # {department} Output Report -- {id}
117
-
118
- ## Task
119
- {title}
120
-
121
- ## Implementation Summary
122
- <What was done, key decisions made>
123
-
124
- ## Files Modified/Created
125
- - `path/to/file1` -- description of change
126
- - `path/to/file2` -- description of change
127
-
128
- ## Acceptance Criteria Verification
129
- | Criterion | Status | Evidence |
130
- |-----------|--------|----------|
131
- | <from acceptance_criteria> | Pass/Fail | <specific evidence> |
132
-
133
- ## Key Findings
134
- - Finding 1 with file:line reference
135
- - Finding 2 with file:line reference
136
-
137
- ## Risks / Open Issues
138
- - Any remaining risks or issues (if none, state "None identified")
139
- ```
140
-
141
- ---
142
-
143
- ## Output (report_agent_job_result)
144
-
145
- Return JSON:
146
- ```json
147
- {
148
- "id": "{id}",
149
- "status": "completed",
150
- "findings": "Key discoveries and implementation notes (max 500 chars)",
151
- "artifact_path": "artifacts/<department>-output.md",
152
- "error": ""
153
- }
154
- ```
155
-
156
- If the task fails:
157
- ```json
158
- {
159
- "id": "{id}",
160
- "status": "failed",
161
- "findings": "Partial progress description",
162
- "artifact_path": "",
163
- "error": "Specific error description"
164
- }
165
- ```
166
-
167
- ---
168
-
169
- ## Error Handling
170
-
171
- | Scenario | Resolution |
172
- |----------|------------|
173
- | Target files not found | Report in findings, attempt with available context |
174
- | Acceptance criteria ambiguous | Interpret conservatively, note assumption in findings |
175
- | Blocked by missing dependency output | Report "Blocked" state in discoveries, set status to failed with reason |
176
- | Compilation/lint errors in changes | Attempt to fix; if unfixable, report in findings with details |
177
- | Test failures | Report in findings with specific failures, continue with remaining work |
1
+ ## TASK ASSIGNMENT
2
+
3
+ ### MANDATORY FIRST STEPS
4
+ 1. Read shared discoveries: .workflow/.csv-wave/{session-id}/discoveries.ndjson (if exists, skip if not)
5
+ 2. Read dispatch plan: .workflow/.csv-wave/{session-id}/plan/dispatch-plan.md (task details and acceptance criteria)
6
+ 3. Read approved plan: .workflow/.csv-wave/{session-id}/plan/zhongshu-plan.md (overall strategy and context)
7
+ 4. Read quality gates: ~ or <project>/.codex/skills/team-edict/specs/quality-gates.md (quality standards)
8
+ 5. Read team config: ~ or <project>/.codex/skills/team-edict/specs/team-config.json (routing rules and artifact paths)
9
+
10
+ > **Note**: The session directory path is provided by the orchestrator in `additional_instructions`. Use it to resolve the paths above.
11
+
12
+ ---
13
+
14
+ ## Your Task
15
+
16
+ **Task ID**: {id}
17
+ **Title**: {title}
18
+ **Description**: {description}
19
+ **Department**: {department}
20
+ **Task Prefix**: {task_prefix}
21
+ **Priority**: {priority}
22
+ **Dispatch Batch**: {dispatch_batch}
23
+ **Acceptance Criteria**: {acceptance_criteria}
24
+
25
+ ### Previous Tasks' Findings (Context)
26
+ {prev_context}
27
+
28
+ ---
29
+
30
+ ## Execution Protocol
31
+
32
+ 1. **Read discoveries**: Load the session's discoveries.ndjson for shared exploration findings from other agents
33
+ 2. **Use context**: Apply previous tasks' findings from prev_context above
34
+ 3. **Report state start**: Append a state_update discovery with state "Doing":
35
+ ```bash
36
+ echo '{{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","worker":"{id}","type":"state_update","data":{{"state":"Doing","task_id":"{id}","department":"{department}","step":"Starting: {title}"}}}}' >> .workflow/.csv-wave/{session-id}/discoveries.ndjson
37
+ ```
38
+ 4. **Execute based on department**:
39
+
40
+ **If department = gongbu (Engineering)**:
41
+ - Read target files listed in description
42
+ - Explore codebase to understand existing patterns and conventions
43
+ - Implement changes following project coding style
44
+ - Validate changes compile/lint correctly (use IDE diagnostics if available)
45
+ - Write output artifact to session artifacts directory
46
+ - Run relevant tests if available
47
+
48
+ **If department = bingbu (Operations)**:
49
+ - Analyze infrastructure requirements from description
50
+ - Create/modify deployment scripts, CI/CD configs, or monitoring setup
51
+ - Validate configuration syntax
52
+ - Write output artifact to session artifacts directory
53
+
54
+ **If department = hubu (Data & Resources)**:
55
+ - Analyze data sources and requirements from description
56
+ - Perform data analysis, generate reports or dashboards
57
+ - Include key metrics and visualizations where applicable
58
+ - Write output artifact to session artifacts directory
59
+
60
+ **If department = libu (Documentation)**:
61
+ - Read source code and existing documentation
62
+ - Generate documentation following format specified in description
63
+ - Ensure accuracy against current implementation
64
+ - Include code examples where appropriate
65
+ - Write output artifact to session artifacts directory
66
+
67
+ **If department = libu-hr (Personnel)**:
68
+ - Read agent/skill files as needed
69
+ - Analyze patterns, generate training materials or evaluations
70
+ - Write output artifact to session artifacts directory
71
+
72
+ **If department = xingbu (Quality Assurance)**:
73
+ - This department typically runs as interactive (test-fix loop)
74
+ - If running as csv-wave: execute one-shot review/audit
75
+ - Read code and test files, run analysis
76
+ - Classify findings by severity (Critical/High/Medium/Low)
77
+ - Write report artifact to session artifacts directory
78
+
79
+ 5. **Write artifact**: Save your output to the appropriate artifact file:
80
+ - gongbu -> `artifacts/gongbu-output.md`
81
+ - bingbu -> `artifacts/bingbu-output.md`
82
+ - hubu -> `artifacts/hubu-output.md`
83
+ - libu -> `artifacts/libu-output.md`
84
+ - libu-hr -> `artifacts/libu-hr-output.md`
85
+ - xingbu -> `artifacts/xingbu-report.md`
86
+
87
+ If multiple tasks exist for the same department, append task ID: `artifacts/gongbu-output-{id}.md`
88
+
89
+ 6. **Share discoveries**: Append exploration findings to shared board:
90
+ ```bash
91
+ echo '{{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","worker":"{id}","type":"<type>","data":{{...}}}}' >> .workflow/.csv-wave/{session-id}/discoveries.ndjson
92
+ ```
93
+
94
+ 7. **Report completion state**:
95
+ ```bash
96
+ echo '{{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","worker":"{id}","type":"state_update","data":{{"state":"Done","task_id":"{id}","department":"{department}","remark":"Completed: <summary>"}}}}' >> .workflow/.csv-wave/{session-id}/discoveries.ndjson
97
+ ```
98
+
99
+ 8. **Report result**: Return JSON via report_agent_job_result
100
+
101
+ ### Discovery Types to Share
102
+ - `codebase_pattern`: `{pattern_name, files, description}` -- Identified codebase patterns and conventions
103
+ - `dependency_found`: `{dep_name, version, used_by}` -- External dependency discoveries
104
+ - `risk_identified`: `{risk_id, severity, description, mitigation}` -- Risk findings
105
+ - `implementation_note`: `{file_path, note, line_range}` -- Implementation decisions
106
+ - `test_result`: `{test_suite, pass_rate, failures}` -- Test execution results
107
+ - `quality_issue`: `{issue_id, severity, file, description}` -- Quality issues found
108
+
109
+ ---
110
+
111
+ ## Artifact Output Format
112
+
113
+ Write your artifact file in this structure:
114
+
115
+ ```markdown
116
+ # {department} Output Report -- {id}
117
+
118
+ ## Task
119
+ {title}
120
+
121
+ ## Implementation Summary
122
+ <What was done, key decisions made>
123
+
124
+ ## Files Modified/Created
125
+ - `path/to/file1` -- description of change
126
+ - `path/to/file2` -- description of change
127
+
128
+ ## Acceptance Criteria Verification
129
+ | Criterion | Status | Evidence |
130
+ |-----------|--------|----------|
131
+ | <from acceptance_criteria> | Pass/Fail | <specific evidence> |
132
+
133
+ ## Key Findings
134
+ - Finding 1 with file:line reference
135
+ - Finding 2 with file:line reference
136
+
137
+ ## Risks / Open Issues
138
+ - Any remaining risks or issues (if none, state "None identified")
139
+ ```
140
+
141
+ ---
142
+
143
+ ## Output (report_agent_job_result)
144
+
145
+ Return JSON:
146
+ ```json
147
+ {
148
+ "id": "{id}",
149
+ "status": "completed",
150
+ "findings": "Key discoveries and implementation notes (max 500 chars)",
151
+ "artifact_path": "artifacts/<department>-output.md",
152
+ "error": ""
153
+ }
154
+ ```
155
+
156
+ If the task fails:
157
+ ```json
158
+ {
159
+ "id": "{id}",
160
+ "status": "failed",
161
+ "findings": "Partial progress description",
162
+ "artifact_path": "",
163
+ "error": "Specific error description"
164
+ }
165
+ ```
166
+
167
+ ---
168
+
169
+ ## Error Handling
170
+
171
+ | Scenario | Resolution |
172
+ |----------|------------|
173
+ | Target files not found | Report in findings, attempt with available context |
174
+ | Acceptance criteria ambiguous | Interpret conservatively, note assumption in findings |
175
+ | Blocked by missing dependency output | Report "Blocked" state in discoveries, set status to failed with reason |
176
+ | Compilation/lint errors in changes | Attempt to fix; if unfixable, report in findings with details |
177
+ | Test failures | Report in findings with specific failures, continue with remaining work |
@@ -475,3 +475,41 @@ if (action === "Archive & Clean") {
475
475
  8. **Lifecycle Balance**: Every spawn_agent MUST have a matching close_agent (tracked in registry.json)
476
476
  9. **Cleanup Temp Files**: Remove wave-{N}.csv after results are merged
477
477
  10. **DO NOT STOP**: Continuous execution until all waves complete or all remaining tasks are skipped
478
+
479
+
480
+ ---
481
+
482
+ ## Coordinator Role Constraints (Main Agent)
483
+
484
+ **CRITICAL**: The coordinator (main agent executing this skill) is responsible for **orchestration only**, NOT implementation.
485
+
486
+ 15. **Coordinator Does NOT Execute Code**: The main agent MUST NOT write, modify, or implement any code directly. All implementation work is delegated to spawned team agents. The coordinator only:
487
+ - Spawns agents with task assignments
488
+ - Waits for agent callbacks
489
+ - Merges results and coordinates workflow
490
+ - Manages workflow transitions between phases
491
+
492
+ 16. **Patient Waiting is Mandatory**: Agent execution takes significant time (typically 10-30 minutes per phase, sometimes longer). The coordinator MUST:
493
+ - Wait patiently for `wait()` calls to complete
494
+ - NOT skip workflow steps due to perceived delays
495
+ - NOT assume agents have failed just because they're taking time
496
+ - Trust the timeout mechanisms defined in the skill
497
+
498
+ 17. **Use send_input for Clarification**: When agents need guidance or appear stuck, the coordinator MUST:
499
+ - Use `send_input()` to ask questions or provide clarification
500
+ - NOT skip the agent or move to next phase prematurely
501
+ - Give agents opportunity to respond before escalating
502
+ - Example: `send_input({ id: agent_id, message: "Please provide status update or clarify blockers" })`
503
+
504
+ 18. **No Workflow Shortcuts**: The coordinator MUST NOT:
505
+ - Skip phases or stages defined in the workflow
506
+ - Bypass required approval or review steps
507
+ - Execute dependent tasks before prerequisites complete
508
+ - Assume task completion without explicit agent callback
509
+ - Make up or fabricate agent results
510
+
511
+ 19. **Respect Long-Running Processes**: This is a complex multi-agent workflow that requires patience:
512
+ - Total execution time may range from 30-90 minutes or longer
513
+ - Each phase may take 10-30 minutes depending on complexity
514
+ - The coordinator must remain active and attentive throughout the entire process
515
+ - Do not terminate or skip steps due to time concerns
@@ -710,3 +710,41 @@ Convergence: qa.score >= 8 && qa.critical_count === 0
710
710
  8. **GC Loop Cap**: Max 2 generator-critic rounds between developer and qa
711
711
  9. **Cleanup Temp Files**: Remove wave-{N}.csv after results are merged
712
712
  10. **DO NOT STOP**: Continuous execution until all waves complete or all remaining tasks are skipped
713
+
714
+
715
+ ---
716
+
717
+ ## Coordinator Role Constraints (Main Agent)
718
+
719
+ **CRITICAL**: The coordinator (main agent executing this skill) is responsible for **orchestration only**, NOT implementation.
720
+
721
+ 15. **Coordinator Does NOT Execute Code**: The main agent MUST NOT write, modify, or implement any code directly. All implementation work is delegated to spawned team agents. The coordinator only:
722
+ - Spawns agents with task assignments
723
+ - Waits for agent callbacks
724
+ - Merges results and coordinates workflow
725
+ - Manages workflow transitions between phases
726
+
727
+ 16. **Patient Waiting is Mandatory**: Agent execution takes significant time (typically 10-30 minutes per phase, sometimes longer). The coordinator MUST:
728
+ - Wait patiently for `wait()` calls to complete
729
+ - NOT skip workflow steps due to perceived delays
730
+ - NOT assume agents have failed just because they're taking time
731
+ - Trust the timeout mechanisms defined in the skill
732
+
733
+ 17. **Use send_input for Clarification**: When agents need guidance or appear stuck, the coordinator MUST:
734
+ - Use `send_input()` to ask questions or provide clarification
735
+ - NOT skip the agent or move to next phase prematurely
736
+ - Give agents opportunity to respond before escalating
737
+ - Example: `send_input({ id: agent_id, message: "Please provide status update or clarify blockers" })`
738
+
739
+ 18. **No Workflow Shortcuts**: The coordinator MUST NOT:
740
+ - Skip phases or stages defined in the workflow
741
+ - Bypass required approval or review steps
742
+ - Execute dependent tasks before prerequisites complete
743
+ - Assume task completion without explicit agent callback
744
+ - Make up or fabricate agent results
745
+
746
+ 19. **Respect Long-Running Processes**: This is a complex multi-agent workflow that requires patience:
747
+ - Total execution time may range from 30-90 minutes or longer
748
+ - Each phase may take 10-30 minutes depending on complexity
749
+ - The coordinator must remain active and attentive throughout the entire process
750
+ - Do not terminate or skip steps due to time concerns
@@ -781,3 +781,41 @@ After TEST-001 completes, evaluate issues:
781
781
  9. **Iteration Bounds**: Max 2 reproduction rounds, max 3 fix rounds
782
782
  10. **Cleanup Temp Files**: Remove wave-{N}.csv after results are merged
783
783
  11. **DO NOT STOP**: Continuous execution until all waves complete or all remaining tasks are skipped
784
+
785
+
786
+ ---
787
+
788
+ ## Coordinator Role Constraints (Main Agent)
789
+
790
+ **CRITICAL**: The coordinator (main agent executing this skill) is responsible for **orchestration only**, NOT implementation.
791
+
792
+ 15. **Coordinator Does NOT Execute Code**: The main agent MUST NOT write, modify, or implement any code directly. All implementation work is delegated to spawned team agents. The coordinator only:
793
+ - Spawns agents with task assignments
794
+ - Waits for agent callbacks
795
+ - Merges results and coordinates workflow
796
+ - Manages workflow transitions between phases
797
+
798
+ 16. **Patient Waiting is Mandatory**: Agent execution takes significant time (typically 10-30 minutes per phase, sometimes longer). The coordinator MUST:
799
+ - Wait patiently for `wait()` calls to complete
800
+ - NOT skip workflow steps due to perceived delays
801
+ - NOT assume agents have failed just because they're taking time
802
+ - Trust the timeout mechanisms defined in the skill
803
+
804
+ 17. **Use send_input for Clarification**: When agents need guidance or appear stuck, the coordinator MUST:
805
+ - Use `send_input()` to ask questions or provide clarification
806
+ - NOT skip the agent or move to next phase prematurely
807
+ - Give agents opportunity to respond before escalating
808
+ - Example: `send_input({ id: agent_id, message: "Please provide status update or clarify blockers" })`
809
+
810
+ 18. **No Workflow Shortcuts**: The coordinator MUST NOT:
811
+ - Skip phases or stages defined in the workflow
812
+ - Bypass required approval or review steps
813
+ - Execute dependent tasks before prerequisites complete
814
+ - Assume task completion without explicit agent callback
815
+ - Make up or fabricate agent results
816
+
817
+ 19. **Respect Long-Running Processes**: This is a complex multi-agent workflow that requires patience:
818
+ - Total execution time may range from 30-90 minutes or longer
819
+ - Each phase may take 10-30 minutes depending on complexity
820
+ - The coordinator must remain active and attentive throughout the entire process
821
+ - Do not terminate or skip steps due to time concerns