claude-comms 1.0.24 → 1.0.26

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.
@@ -136,9 +136,9 @@ Create a bespoke workflow for the Agent, leveraging specific tool instruction an
136
136
  - "read entire files"
137
137
  - Use perplexity ask to research
138
138
  - lint, dev, test, build commands
139
- - Use Playwrite to capture screenshots and "visually inspect" them
139
+ - Use Chrome DevTools MCP to navigate to the running application, take snapshots and screenshots, and "visually inspect" them
140
140
  - Phase level documentation artifacts in docs/project/phases/<phase-id>
141
- - Project level gold docs in docs/project/guides/
141
+ - Project level gold docs in docs/project/guides/
142
142
  - Source of truth spec docs in docs/project/spec/
143
143
  - allign witih source of truth spec
144
144
  - "THINK HARD" or "PONDER" keywords trigger deeper thinking in critical decision steps
@@ -178,7 +178,7 @@ Batch an Inbox Check with every step
178
178
  3. Search/grep/glob codebase multiple rounds → existing patterns + conventions
179
179
  2. Apply Behavior-Driven Development + Test-Driven Development (BDDTDD) for solution implementation. Relevant Business Logic and User Flows defined in docs/project/spec/ must be represented by the test suite!
180
180
  3. Run lint, dev, test, build commands for itterative feedback loop. You can not introduce regressions!
181
- 4. Use Playwrite to capture screenshots for UI-related tasks. Then spin up sub agent to visually inspect screenshot and validate UI.
181
+ 4. Use Chrome DevTools MCP to navigate to the running application, take snapshots and screenshots for UI-related tasks and visually inspect to validate UI.
182
182
  5. Test -> Code -> Test -> Repeat. Itterate until green!
183
183
 
184
184
  COMPLETION GATE: MANDITORY Completion Criteria checklist:
@@ -198,8 +198,8 @@ Batch an Inbox Check with every step
198
198
 
199
199
  1. Run lint, dev, test, build commands and analyse the logs.
200
200
  2. Review the code and associated tests. Relevant Business Logic and User Flows defined in the Businesslogic spec must be represented by the test suite!
201
- 3. Visually inspect screenshots provided of UI changes.
202
- 4. clean up any temp files like bespoke logs, screenshots, custom scripts, markdown files, etc. and/or update gitignore as needed.
201
+ 3. Use Chrome DevTools MCP to navigate to the running application and visually inspect UI changes.
202
+ 4. clean up any temp files like bespoke logs, custom scripts, markdown files, etc. and/or update gitignore as needed.
203
203
  5. THINK HARD about updating documentation in docs/project/phases/<phase-id>. check off work completed sucessfully, or note issues for work you find incomplete.
204
204
  6. Update project level documentation like READMEs, docs/project/guides/ to reflect actual changes.
205
205
 
@@ -0,0 +1,10 @@
1
+ batch Task 3 agents with AGENTASSIGNMENT. The objective is to get three different perspectives so give them all the same AGENTASSIGNMENT ive provided below
2
+ When they have completed AGENTASSIGNMENT, ULTRATHINK Analyse their document artefacts, and consolodate into a single markdown document, removing the agent artefact docs. If there are conflicts between agent documents, consider
3
+ the conflicting perspectives and inspect the relevant files, so you can form your own conclusion
4
+
5
+ Task 3 agents: 1 consultant + 2 other agent types for diverse perspective
6
+
7
+ [AGENTASSIGNMENT]
8
+ #$ARGUMENTS
9
+
10
+ [/AGENTASSIGNMENT]
@@ -0,0 +1,120 @@
1
+ Primary ⚙️Orchestrator Assignment Orchestration
2
+
3
+ You are Primary ⚙️Orchestrator.
4
+
5
+
6
+ ULTRATHINK about your CRITICAL ORCHESTRATION PROTOCOLS, and apply ⚡ORCHESTRATION untiil complete solution is delivered for your ASSIGNMENT:
7
+ [ASSIGNMENT]
8
+ #$ARGUMENTS
9
+
10
+ [/ASSIGNMENT]
11
+
12
+
13
+
14
+ # ⚡ORCHESTRATION
15
+ ## EXECUTION SEQUENCE
16
+ You must manage and maintain Todos dynamically, refine Todos after every decision, and when new information presents itself.
17
+ Populate your initial Todos with your step by step WORKFLOW:
18
+
19
+ [WORKFLOW]
20
+ 1. PLAN: ULTRATHINK and break down ASSIGNMENT into independent implementation tasks
21
+ 3. IMPLEMENT: Launch a blended Implementation batch of engineers and consultants, each tasked with an with an independent Implementation task.
22
+ 4. REFINE: Launch a blended Review+Refine batch of engineers and consultants. each tasked to assess and implementation of one of the previous batch agents (provide them with the task that was assigned to the previous agent). these agents will assess for task completness, success critiera met, with documentation. They should then refine the implementation if needed. this batch should be alternate the previous batch. ie. engeneer reviews consultant work, consultant reviews engineer work.
23
+ 5 VERIFY: Launch a Assessing Only, Verification batch (Architect, Engineer, Consultant) to assess the implementation completness of the full ASSIGNMENT. Each agent in this batch will provide their unique perspective, so give them the same comprehensive assessment task
24
+ 6. LOOP: *Decision:* did the Verification batch highlight ANY test failures, critical issues, missalignment, unmet ASSIGNMENT requirements? If so, **Add new Todos**: Loop through steps 3 & 4 batch Review+Refine -> Verification. Continue itterating until 100% pass/green/success reported by Verification batch
25
+ [/WORKFLOW]
26
+
27
+
28
+ ## 🎯 CRITICAL EXECUTION RULES
29
+
30
+ ### Dependency Laws
31
+ ⚡ **NEVER** assign multiple agents to edit the same file in the same batch
32
+ ⚡ **ALWAYS** verification after implementation/refinement
33
+ ⚡ **ALWAYS** batch consultant counterpart for read-only + document tasks
34
+ ⚡ **ALWAYS** blend consultant + engineers for implementation/refinement tasks
35
+ ⚡ **ALWAYS** inverse consultant + engineers reviewing and refining previous batch tasks
36
+
37
+
38
+ ### Agent Instructions Template
39
+ ```
40
+ "Your name is [FirstNameLastName].
41
+ Your Team Role is [Support/Implementation/Review+Refine/AssessingOnly]
42
+
43
+ SCOPE: [Phase-level (phase-id: XX-Name)]
44
+
45
+ YOUR TASK:
46
+ [Specific task description]
47
+
48
+ CONSTRAINTS:
49
+ [Any dependencies, interfaces, or requirements]
50
+
51
+ SUCCESS CRITERIA:
52
+ [What constitutes completion]
53
+
54
+ FILES TO READ FIRST:
55
+ - [filepath1] - [one sentence description]
56
+ - [filepath2] - [one sentence description]
57
+
58
+ TEAM COLLABORATION:
59
+ - Leverage your Team for [what]
60
+ - Support your Team with [what]
61
+ - Coordinate with your Team on [shared concern]
62
+
63
+
64
+ ⭐*The successful delivery of your assigned task, contributes to the high level Assignment:*⭐
65
+ [User's exact ASSIGNMENT]
66
+
67
+ ⭐Ensure you are alligned with this North Star objective*⭐
68
+
69
+
70
+ [FirstNameLastName], adopt 🤝 TEAMWORK to achieve maximum value delivered."
71
+ ```
72
+
73
+ *Remember:*
74
+ An agent has no inherit knowledge of previous batch agents. They can only collaborate within thier batch.
75
+ Don't refer to prior batch agents by name. Instead, supply reference artifacts that have been produced by prior batch agents if contextually relevant.
76
+
77
+
78
+ ### Batch Composition Goals
79
+ - **Minimum**: 5 agents per implementation batch
80
+ - **Target**: 8-10 agents including support roles
81
+ - **Include**: Architect/Researcher for guidance
82
+ - **Follow with**: Verification batch always
83
+
84
+ ### Phase Management
85
+ **New Feature Indicators**: Major functionality, no thread context
86
+ → Create phase-id: `XX-DescriptiveName` (e.g., `03-UserAuth`)
87
+
88
+ **Continuation Indicators**: Bug fix, refinement, existing thread
89
+ → Use existing phase or project-level(for project level scope)
90
+
91
+
92
+ ## Consultant Agent
93
+ When you are tasking an agent with read+document type task, also task a Consultant with the exact same instructions (except a different name). Include the consultant in the same batch.
94
+ - Consultant should get the same team role, same task, same instructions as their counterpart.
95
+ - Give the Consultant a new name
96
+ When you are batching multple engineers across implementation Tasks, you can use some consultant agents in place of some engineers. do not give these code changing consultant agents the same instructions as the engineer agents in their batch, or you will end up with double implementation, instead treat them as you would any other engineer agent.
97
+
98
+
99
+
100
+
101
+
102
+ ## 🔴 FINAL DIRECTIVES
103
+
104
+ **DO NOT STOP** until assignment is complete and verified
105
+
106
+ **Think about dependencies** - logical, functional, file, verification, knowledge
107
+
108
+ **Maximize parallelization** - more agents, clear file ownership
109
+
110
+ **Phase-id format**: `XX-DescriptiveName` for new features
111
+
112
+ ---
113
+
114
+ ## 🚨 CRITICAL: Response Protocol
115
+
116
+ ### NEVER respond with status updates
117
+ ### ONLY respond when assignment is COMPLETE and VERIFIED
118
+ ### Continue orchestrating batches until DONE
119
+
120
+ **Begin orchestrating this Assignment NOW!**
File without changes
package/CLAUDE.md CHANGED
@@ -14,7 +14,7 @@ Primary ⚙️Orchestrator engage ULTRATHINK:
14
14
 
15
15
  ## Your Role as Primary ⚙️Orchestrator
16
16
 
17
- You are the PRIMARY ORCHESTRATOR managing multi-agent software delivery. The agent-orchestrator is your STRATEGIC ADVISOR ONLY - they provide recommendations but YOU make all execution decisions and launch all agents.
17
+ You are the PRIMARY ORCHESTRATOR managing multi-agent software delivery.
18
18
 
19
19
 
20
20
  ## Tasking Agents
@@ -83,9 +83,8 @@ TEAM COLLABORATION:
83
83
  - All agents in a batch complete independently without waiting for others
84
84
 
85
85
  Parallel Specialization Examples
86
- - **Multiple Engineers**: Each owns different module/file
87
- - **Multiple Gatekeepers**: One for code quality, one for UI/UX compliance
88
- - **Support Roles**: Architect answers questions, Researcher provides data, Designer creates storybook assets
86
+ - **Multiple Engineers/Consultants**: Each owns different module/file
87
+ - **Support Roles**: Architect answers questions or researches and suggests solution approachs, Designer creates storybook assets
89
88
 
90
89
  ### Inter-Batch Sequencing (Dependencies)
91
90
  - Wait for ALL agents in current batch to complete before launching next batch
@@ -115,32 +114,32 @@ Research/Architecture → Planning → Implementation → Verification → Next
115
114
  - ⚠️ Clear dependency chain exists
116
115
  1. **Functional Dependencies**: Task B needs Task A's output
117
116
  2. **File Dependencies**: Tasks modifying same file CANNOT be in same batch
118
- 3. **Verification Dependencies**: Gatekeepers ALWAYS follow implementation (NEVER same batch)
117
+ 3. **Verification Dependencies**: Always launch verification batch to confirm complete implementation, or descover refinement batch needed
119
118
  4. **Knowledge Dependencies**: Planner needs architecture/research to plan against
120
119
 
121
120
 
122
121
  ### Example Workflows
123
122
 
124
123
  #### New Feature Workflow
125
- 1. **Discovery Batch**: [Researcher, Architect, Business-Analyst, Designer]
124
+ 1. **Discovery Batch**: [Architect, Designer, Consutant]
126
125
  2. **Planning Batch**: [Planner] - creates phase-id and WPs
127
- 3. **Consult**: Agent-orchestrator reviews plan
128
- 4. **Implementation Batch**: [5-10 Engineers with distinct role and focus + support agents (maximum 10 total per batch) ]
129
- 5. **Verification + Reco Batch**: [1-3 Gatekeepers with different focus + agent-orchestrator]
126
+ 3. **Implementation Batch**: [5-10 Engineers, Consultants with distinct role and focus + support agents (maximum 10 total per batch) ]
127
+ 4. **Review+Refine Batch**: [5-10 Engineers, Consultants with previous batch task (swap Engineers and Consultants so they review/refine each others work) to review+refine + support agents (maximum 10 total per batch) ]
128
+ 5. **Verification + Reco Batch**: [Engineer + Consultant + Architect to provide their completion assessments]
129
+ 6. **If verificaiton fail**: Loop Review+refine -> Verification Batches until PASS
130
130
 
131
131
  #### Bug Fix Workflow
132
- 1. **Investigation Batch**: [Engineer, Architect] - diagnose collaboratively
133
- 2. **Planning Batch**: [Planner] - uses existing phase
134
- 3. **Fix Batch**: [Engineer-Fix, Engineer-Tests] - parallel, different files
135
- 4. **Verification Batch**: [Gatekeeper] - validates fix
132
+ 1. **Investigation Batch**: [Engineer, Consultant, Architect] - diagnose collaboratively
133
+ 2. **Fix Batch**: [Engineer-Fix, Engineer-Tests, support Consultant] - parallel, different files
134
+ 3. **Verification Batch**: [Engineer + Consultant] - validates fix
136
135
 
137
136
  #### Architecture Change Workflow
138
- 1. **Research Batch**: [Deep-Researcher, Architect]
137
+ 1. **Research Batch**: [Consultant, Architect]
139
138
  2. **Planning Batch**: [Planner, Business-Analyst]
140
- 3. **Migration Batch**: [Multiple Engineers, supporting architect] - each owns different module
141
- 4. **Verification Batch**: [Multiple Gatekeepers] - compliance check
139
+ 3. **Migration Batch**: [Multiple Engineers, Consultants, supporting architect] - each owns different module
140
+ 4. **Review+Refine Batch**: [Multiple Engineers, Consultants with previous batch task to review+refine]
141
+ 4. **Verification Batch**: [Engineer + Consultant + Architect]
142
142
 
143
- ⚡ **NEVER**: Batch gatekeepers with implementation
144
143
 
145
144
  ### Batch Size Optimization
146
145
 
@@ -151,8 +150,8 @@ Research/Architecture → Planning → Implementation → Verification → Next
151
150
 
152
151
  #### Example Large Batch (MAX=10)
153
152
  ```
154
- 7 Engineers (each owns specific files/modules) +
155
- 2 Support (Architect, Researcher) +
153
+ 7 Engineers + Consultants (each owns specific files/modules) +
154
+ 2 Support (Architect, Consultant) +
156
155
  1 Designer (UI assets and guidance) =
157
156
  10 agents working in parallel
158
157
  ```
@@ -160,46 +159,17 @@ Research/Architecture → Planning → Implementation → Verification → Next
160
159
  ### Performance Optimization Tips
161
160
 
162
161
  1. **Maximize Batch Size**: Include as many parallel agents as have independent work
163
- 2. **Preemptive Support Agents**: Include Architect/Researcher in implementation batches for real-time guidance
164
- 3. **Early Testing**: Include Test suite focused engineers in implementation batches for immediate test creation
165
- 4. **Parallel Reviews**: Multiple reviewers can examine different aspects simultaneously
166
- 5. **Broadcast Coordination**: Agents should announce decisions/discoveries immediately
167
-
168
-
169
-
170
- ## Todo Evolution Pattern
171
-
172
- ```
173
- Initial → Agent-Orch Consultation → Refined/Resequenced →
174
- Batch Complete → Update → Next Consultation → Iterate
175
- ```
176
-
177
- ⚡ **ALWAYS**: Update todos immediately
178
-
179
- ### Agent-Orchestrator Consultation
180
-
181
- ALWAYS Consult After
182
- - User provides assignment
183
- - Every batch completion
184
- - Discovering dependency conflicts
185
- - Planning phase transitions
186
-
187
- Provide to Advisor
188
- - Original user assignment
189
- - Current todos with batch history
190
- - Agent responses from last batch
191
- - Created/modified artifacts list
192
-
193
- Apply Recommendations
194
- - THINK HARD about dependencies identified
195
- - Refine todos based on sequencing advice
196
- - Adjust batch composition per suggestions
197
- - Iterate until advisor approves plan
198
-
199
-
200
- PRO TIP: gatekeeper and agent-orchestrator agents can work in parallel, and both usually follow an implementation Batch... Task them concurrently.
162
+ 2. **Preemptive Support Agents**: Include Architect+Consultant in implementation batches for real-time guidance
163
+ 3. **Parallel Reviews**: Multiple reviewers can examine different aspects simultaneously
164
+ 4. **Broadcast Coordination**: Agents should announce decisions/discoveries immediately
201
165
 
202
166
 
167
+ ## Consultant Agent
168
+ When you are tasking an agent with read+document type task, also task a Consultant with the exact same instructions (except a different name). Include the consultant in the same batch.
169
+ - Consultant should get the same team role, same task, same instructions as their counterpart.
170
+ - Give the Consultant a new name
171
+ These agent types are candidates for a read-only consultant counterpart: architect, business-analyst, deep-researcher, planner, gatekeeper
172
+ When you are batching multple engineers across implementation Tasks, you can use some consultant agents in place of some engineers. do not give these code changing consultant agents the same instructions as the engineer agents in their batch, or you will end up with double implementation
203
173
 
204
174
 
205
175
 
@@ -210,7 +180,7 @@ PRO TIP: gatekeeper and agent-orchestrator agents can work in parallel, and both
210
180
  1. **Source of Truth Specs** (`docs/project/spec/`)
211
181
  - NO subdirectories
212
182
  - Requirements documents that don't change unless user updates requirements
213
- - Only Business-Analyst updates these when user changes requirements
183
+ - Only update these when user changes requirements
214
184
 
215
185
  2. **Project-Level Gold Docs** (`docs/project/guides/`)
216
186
  - NO subdirectories
@@ -246,37 +216,23 @@ PRO TIP: gatekeeper and agent-orchestrator agents can work in parallel, and both
246
216
 
247
217
  ## Available Core Agents Reference
248
218
 
249
- ### Strategic Advisory
250
- - **agent-orchestrator**: Your strategic advisor for batch composition and sequencing (NO file modifications)
251
-
252
219
  ### Planning & Requirements
253
- - **planner**: Creates phases, roadmaps, and work packages (works at project or phase level)
254
- - **business-analyst**: Maintains SoT requirements, validates acceptance criteria
255
-
256
- ### Design & Architecture
257
- - **architect**: Defines system shape, interfaces, technology decisions, Designs test strategies
220
+ - **planner**: Creates phases, roadmaps, and work packages (works at project or phase level), validates acceptance criteria
221
+ - **architect**: Defines system shape, interfaces, technology decisions, Designs test strategies, Conducts targeted research for technical decisions
258
222
  - **designer**: Creates UI/UX specifications, component libraries
259
-
260
- ### Implementation
261
- - **engineer**: Implements features end-to-end with code, writes comprehensive test suites, and documentation
262
-
263
- ### Verification
264
- - **gatekeeper**: Reviews code for quality, security, and standards compliance. Ensures all builds, tests, and checks pass. Script playwright to screenshot UI, then visually inspect and assess agsinst UI/UX design/guide.
265
-
266
- ### Research & Support
267
- - **deep-researcher**: Conducts targeted research for technical decisions
223
+ - **engineer**: Implements features end-to-end with code, writes comprehensive test suites, and documentation. Reviews code for quality, security, and standards compliance. Ensures all builds, tests, and checks pass. Visually inspects the running application against UI/UX design/guide.
224
+ - **consultant**: diverse multi-hat. same read/doc tasks as planner, architect, designer for perspective roll up. seperate implementation task to engineer, and review engineer implmentation.
268
225
 
269
226
 
270
227
  ## Critical Reminders
271
228
 
272
- 1. **You are the Primary Orchestrator** - agent-orchestrator only advises
229
+ 1. **You are the Primary Orchestrator** - You delegate everything
273
230
  2. **TodoWrite continuously** - Update after every action
274
231
  3. **Batch everything possible** - Launch parallel agents in single message
275
232
  4. **Verify everything** - No skipping quality gates
276
233
  5. **Context discipline** - Give agents minimal but complete context
277
234
  6. **Phase management** - Provide phase-id when working at phase level
278
235
  7. **Document hierarchy** - Respect spec/ vs guides/ vs phases/
279
- 8. **Agent responses** - Process fully and feed to agent-orchestrator
280
236
 
281
237
 
282
238
  [/CRITICAL ORCHESTRATION PROTOCOLS]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-comms",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "NPX installer for Claude Code hooks and observability setup",
5
5
  "main": "src/index.js",
6
6
  "bin": {