automatasaurus 0.1.18 → 0.1.19

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  <img src="logo.jpeg" alt="Automatasaurus Logo" width="200">
4
4
 
5
- An automated software development workflow powered by Claude Code. Uses specialized subagents, stop hooks, and skills to enable extended autonomous development sessions with multiple coordinated agents.
5
+ An automated software development workflow powered by Claude Code. Uses specialized subagents, agent teams, stop hooks, and skills to enable extended autonomous development sessions with multiple coordinated agents.
6
6
 
7
7
  ## Quick Start
8
8
 
@@ -99,10 +99,11 @@ User: /auto-work-all
99
99
  │ - Open PR with "Closes #X" │
100
100
  │ - Writes REPORT-implement.md │
101
101
  │ │
102
- │ 5. Review Cycle (parallel)
102
+ │ 5. Review Cycle (parallel subagents OR review team)
103
103
  │ ├→ Architect: REQUIRED review (reads/writes briefing/report) │
104
104
  │ ├→ Designer: Review if UI-relevant │
105
- └→ Developer: Address feedback, push fixes │
105
+ ├→ Developer: Address feedback, push fixes │
106
+ │ └→ (Team mode: reviewers coordinate findings in real-time) │
106
107
  │ │
107
108
  │ 6. Tester: Verification │
108
109
  │ - Reads BRIEFING-test.md (includes all prior reports) │
@@ -123,6 +124,7 @@ User: /auto-work-all
123
124
  | **Evolver** | Sonnet | Preparation | Synthesizes discovery/planning into agent-specific PROJECT.md files |
124
125
  | **Developer** | Sonnet | Implementation | Feature development, bug fixes, PRs, addresses feedback |
125
126
  | **Designer** | Sonnet | Experience | UI/UX specs, accessibility, design reviews (if UI changes) |
127
+ | **Researcher** | Sonnet | Research | Deep codebase analysis, technology evaluation, structured reports |
126
128
  | **Tester** | Sonnet | Quality | Test execution, Playwright verification, required PR reviews |
127
129
 
128
130
  **Note:** Commands (`/auto-discovery`, `/auto-work-issue`, `/auto-work-all`) handle orchestration. There is no separate PM agent.
@@ -137,12 +139,14 @@ All agents prefix their comments with their identity:
137
139
  **[Developer]** Fixed in commit abc1234. Ready for re-review.
138
140
  **[Architect]** ✅ APPROVED - Architect. Clean separation of concerns.
139
141
  **[Designer]** N/A - No UI changes in this PR.
142
+ **[Researcher]** Research complete. Report written with findings and sources.
140
143
  **[Tester]** ✅ APPROVED - Tester. All tests passing.
141
144
  ```
142
145
 
143
146
  ## Features
144
147
 
145
148
  - **Bidirectional Context Flow**: Agents communicate through briefings and reports, creating an audit trail
149
+ - **Agent Teams (Experimental)**: Multiple agents coordinate via shared task lists and peer-to-peer messaging for real-time collaboration
146
150
  - **Stop Hooks**: Intelligent evaluation ensures tasks are complete before stopping
147
151
  - **Subagent Coordination**: Specialized agents with role-specific completion criteria
148
152
  - **GitHub Integration**: All work coordinated through issues, PRs, and labels
@@ -229,6 +233,7 @@ your-project/
229
233
  │ │ ├── evolver/ # Agent context generation
230
234
  │ │ ├── developer/ # Implementation & PRs
231
235
  │ │ ├── designer/ # UI/UX design specs
236
+ │ │ ├── researcher/ # Deep research and investigation
232
237
  │ │ └── tester/ # QA, Playwright, merge authority
233
238
  │ ├── skills/ # Knowledge modules
234
239
  │ │ ├── workflow-orchestration/
@@ -388,6 +393,7 @@ After planning, run this command to prepare each agent with project-specific gui
388
393
  - Developer gets implementation guidance, architecture patterns, tech decisions
389
394
  - Architect gets review context, NFRs, integration dependencies
390
395
  - Designer gets user personas, flows, accessibility requirements
396
+ - Researcher gets project domain, technology stack, and common research context
391
397
  - Tester gets acceptance criteria, edge cases, test coverage needs
392
398
 
393
399
  The generated context helps agents make better decisions aligned with your project.
@@ -449,6 +455,7 @@ You can also invoke agents directly:
449
455
  ```
450
456
  Use the architect agent to review the database schema
451
457
  Use the tester agent to create a test plan for the API
458
+ Use the researcher agent to evaluate authentication libraries
452
459
  Use the tester agent with playwright to verify the checkout flow
453
460
  ```
454
461
 
@@ -554,6 +561,39 @@ Default values in `.claude/settings.json`:
554
561
 
555
562
  **Note:** Don't edit `settings.json` directly—your changes will be overwritten on update. Use `settings.local.json` for all customizations.
556
563
 
564
+ ### Agent Teams (Experimental)
565
+
566
+ Agent teams allow multiple agents to coordinate via shared task lists and direct messaging instead of the default subagent approach. This is most valuable for review cycles where cross-pollination of findings matters.
567
+
568
+ Teams are enabled by default via `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` in settings. Control team behavior in `.claude/settings.local.json`:
569
+
570
+ ```json
571
+ {
572
+ "automatasaurus": {
573
+ "limits": {
574
+ "teamMaxTeammates": 4,
575
+ "teamPreferForReviews": true,
576
+ "teamPreferForImplementation": false
577
+ }
578
+ }
579
+ }
580
+ ```
581
+
582
+ | Setting | Default | Description |
583
+ |---------|---------|-------------|
584
+ | `teamMaxTeammates` | 4 | Maximum concurrent teammates (cost control) |
585
+ | `teamPreferForReviews` | true | Use review teams instead of parallel subagents |
586
+ | `teamPreferForImplementation` | false | Use implementation teams for UI issues |
587
+
588
+ To disable agent teams entirely, set in `settings.local.json`:
589
+ ```json
590
+ {
591
+ "env": {
592
+ "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "0"
593
+ }
594
+ }
595
+ ```
596
+
557
597
  ### Notifications
558
598
 
559
599
  Configure notification behavior via environment variables:
@@ -587,7 +627,7 @@ The developer agent loads language-specific skills on demand:
587
627
  name: agent-name
588
628
  description: When to use this agent
589
629
  tools: Read, Edit, Write, Bash, Grep, Glob
590
- model: sonnet
630
+ model: opus
591
631
  ---
592
632
  ```
593
633
  3. Write a detailed system prompt including:
@@ -612,6 +652,7 @@ The developer agent loads language-specific skills on demand:
612
652
  ## Roadmap
613
653
 
614
654
  - [x] CLI tool for easy installation (`automatasaurus init`)
655
+ - [x] Agent teams support (experimental) — peer-to-peer agent coordination
615
656
  - [ ] Project detection and automatic command configuration
616
657
  - [ ] Additional MCP integrations (database, API testing)
617
658
  - [ ] Custom agent templates
@@ -642,6 +683,7 @@ This opens a browser for authentication (works with passkeys/security keys).
642
683
  - [Subagents Reference](https://code.claude.com/docs/en/sub-agents)
643
684
  - [Hooks Reference](https://code.claude.com/docs/en/hooks)
644
685
  - [Skills Reference](https://code.claude.com/docs/en/skills)
686
+ - [Agent Teams (Experimental)](https://code.claude.com/docs/en/agent-teams)
645
687
  - [Playwright MCP](https://github.com/microsoft/playwright-mcp)
646
688
  - [GitHub CLI](https://cli.github.com/)
647
689
  - [Best Practices](https://www.anthropic.com/engineering/claude-code-best-practices)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automatasaurus",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Automated software development workflow powered by Claude Code",
5
5
  "type": "module",
6
6
  "bin": {
@@ -51,6 +51,7 @@ The following agents are available in `.claude/agents/`:
51
51
  | `evolver` | PROJECT.md generation, context synthesis | Opus | N/A |
52
52
  | `designer` | UI/UX specs, accessibility, design review | Opus | If UI changes |
53
53
  | `developer` | Implementation, PRs, addressing feedback | Opus | N/A |
54
+ | `researcher` | Deep research, technology evaluation, codebase analysis | Sonnet | N/A |
54
55
  | `tester` | QA, Playwright, verification | Opus | **Required** |
55
56
 
56
57
  **Note:** Commands handle orchestration. Agents are autonomous workers invoked by commands.
@@ -75,6 +76,7 @@ Every GitHub comment, issue body, and PR description must start with:
75
76
  | Designer | `**[Designer]**` |
76
77
  | Developer | `**[Developer]**` |
77
78
  | Tester | `**[Tester]**` |
79
+ | Researcher | `**[Researcher]**` |
78
80
  | Product Owner | `**[Product Owner]**` |
79
81
 
80
82
  ### Where to Use
@@ -283,6 +285,51 @@ orchestration/
283
285
 
284
286
  This provides a full audit trail of agent communication for each issue.
285
287
 
288
+ ## Agent Teams (Experimental)
289
+
290
+ Automatasaurus supports two coordination modes for multi-agent work:
291
+
292
+ ### Subagents (Default)
293
+
294
+ The standard approach — agents are spawned via the Task tool, read a briefing, do their work, and write a report. Communication flows through the orchestrator only.
295
+
296
+ ### Agent Teams
297
+
298
+ An experimental alternative — multiple agents run as independent Claude Code sessions that coordinate via shared task lists and peer-to-peer messaging. Agents can communicate directly with each other during work.
299
+
300
+ ### When to Use Each
301
+
302
+ | Workflow Step | Subagents | Teams | Decision Factor |
303
+ |--------------|-----------|-------|-----------------|
304
+ | Design specs | Always | N/A | Single-agent task |
305
+ | Implementation | Default | When UI work needs real-time designer feedback | `teamPreferForImplementation` |
306
+ | Reviews | Default | When cross-pollination of findings adds value | `teamPreferForReviews` |
307
+ | Feedback fixes | Always | N/A | Single-agent task |
308
+ | Stuck analysis | Always | N/A | Single-agent task |
309
+
310
+ ### Team Composition Patterns
311
+
312
+ | Pattern | Teammates | Use Case |
313
+ |---------|-----------|----------|
314
+ | Review Team | Architect + Tester + Designer | PR reviews with coordinated findings |
315
+ | Implementation Team | Developer + Designer | UI features with real-time iteration |
316
+ | Discovery Review Team | Architect + Designer | Discovery plan reviews |
317
+
318
+ ### Limitations
319
+
320
+ - Agent teams are experimental and may not be available in all environments
321
+ - Playwright MCP may not be available in teammate sessions (Tester fallback to subagent)
322
+ - Teams use more tokens than subagents due to concurrent sessions and messaging
323
+ - Always have a fallback to subagents if team creation fails
324
+
325
+ ### Audit Trail
326
+
327
+ Both modes use the same orchestration folder structure. Teams additionally produce:
328
+ - `REPORT-team-review.md` — synthesized findings from team reviews
329
+ - `REPORT-design-review-inline.md` — inline designer feedback during implementation teams
330
+
331
+ For detailed patterns, load the `team-coordination` skill.
332
+
286
333
  ## GitHub Integration
287
334
 
288
335
  This project uses the `gh` CLI for GitHub operations. Ensure you are authenticated:
@@ -302,6 +349,7 @@ Available skills in `.claude/skills/`:
302
349
  - `pr-writing` - Best practices for writing clear PR descriptions
303
350
  - `code-review` - Best practices for performing thorough code reviews
304
351
  - `agent-coordination` - Multi-agent workflow patterns and briefing/report protocol
352
+ - `team-coordination` - Agent teams patterns (experimental) — peer-to-peer coordination
305
353
  - `project-commands` - Finding and using project-specific commands
306
354
  - `notifications` - User notification system for questions, approvals, and alerts
307
355
 
@@ -340,6 +388,7 @@ Notifications are also sent automatically on stop based on context.
340
388
  | `GITHUB_WORKFLOW` | Set to "enabled" for GitHub integration |
341
389
  | `AUTOMATASAURUS_SOUND` | Set to "false" to disable notification sounds |
342
390
  | `AUTOMATASAURUS_LOG` | Custom log file location |
391
+ | `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` | Set to "1" to enable agent teams (experimental) |
343
392
 
344
393
  ## Sandbox Configuration
345
394
 
@@ -1,6 +1,6 @@
1
1
  # Automatasaurus Framework Files
2
2
 
3
- This folder contains the Automatasaurus framework - an automated software development workflow powered by Claude Code.
3
+ This folder contains the Automatasaurus framework - an automated software development workflow powered by Claude Code. Agents coordinate via subagents or experimental agent teams for real-time collaboration.
4
4
 
5
5
  **Do not edit files in this folder directly.** They are managed by the installer and will be overwritten on updates.
6
6
 
@@ -9,7 +9,7 @@ This folder contains the Automatasaurus framework - an automated software develo
9
9
  | Folder | Purpose |
10
10
  |--------|---------|
11
11
  | `agents/` | Specialized AI personas (Developer, Architect, Tester, etc.) |
12
- | `skills/` | Knowledge modules (coding standards, workflows, etc.) |
12
+ | `skills/` | Knowledge modules (coding standards, workflows, team coordination, etc.) |
13
13
  | `hooks/` | Shell scripts for notifications and workflow control |
14
14
  | `commands/` | Slash commands (`/auto-discovery`, `/auto-work-issue`, `/auto-work-all`, `/auto-work-milestone`) |
15
15
 
@@ -2,7 +2,7 @@
2
2
  name: architect
3
3
  description: Software Architect for system design, technical decisions, and code review. Use for reviewing discovery plans, reviewing PRs, or analyzing stuck issues. Required reviewer for all PRs.
4
4
  tools: Read, Edit, Write, Grep, Glob, Bash, WebSearch
5
- model: sonnet
5
+ model: opus
6
6
  skills:
7
7
  - code-review
8
8
  ---
@@ -103,6 +103,8 @@ Provide structured feedback:
103
103
 
104
104
  Load the `code-review` skill for detailed guidance.
105
105
 
106
+ **Your default posture is skepticism.** Assume the code has problems until you've proven otherwise. An approval from the Architect carries weight — don't give it cheaply.
107
+
106
108
  ### Review Process
107
109
 
108
110
  ```bash
@@ -110,32 +112,43 @@ gh pr view {number}
110
112
  gh pr diff {number}
111
113
  ```
112
114
 
115
+ Read every line of the diff. Check that the approach is architecturally sound, not just that it "works." Ask yourself:
116
+ - Does this introduce technical debt?
117
+ - Does this follow existing patterns, or does it invent new ones unnecessarily?
118
+ - Are there missing error paths, race conditions, or security issues?
119
+ - Is this the right abstraction, or will it need to be rewritten?
120
+ - Are edge cases handled?
121
+ - Is there adequate test coverage for the changes?
122
+
113
123
  ### Posting Reviews
114
124
 
115
- **Approve:**
125
+ **Request changes (this should be your most common outcome):**
116
126
  ```bash
117
127
  gh pr comment {number} --body "**[Architect]**
118
128
 
119
- APPROVED - Architect
129
+ CHANGES REQUESTED - Architect
130
+
131
+ **Blockers:**
132
+ 1. [Issue that must be fixed]
133
+ 2. [Issue that must be fixed]
120
134
 
121
- Clean architecture and good separation of concerns.
135
+ **Concerns:**
136
+ 1. [Issue that likely needs fixing]
122
137
 
123
- Suggestions (not blocking):
124
- - Consider extracting X for reuse"
138
+ Fix these and request re-review."
125
139
  ```
126
140
 
127
- **Request changes (for legitimate issues):**
141
+ **Approve (only when the PR is genuinely solid — no issues found):**
128
142
  ```bash
129
143
  gh pr comment {number} --body "**[Architect]**
130
144
 
131
- CHANGES REQUESTED - Architect
132
-
133
- Found a security issue:
134
- - SQL injection vulnerability in search query
145
+ APPROVED - Architect
135
146
 
136
- Quick fix and we can merge."
147
+ Implementation is correct, well-structured, and follows existing patterns. No issues found."
137
148
  ```
138
149
 
150
+ **Do NOT approve with caveats.** If you have "suggestions" that you actually want addressed, request changes instead. "Approved with suggestions" is how real issues slip through.
151
+
139
152
  ---
140
153
 
141
154
  ## Stuck Issue Analysis
@@ -216,6 +229,45 @@ For significant decisions, create an Architecture Decision Record:
216
229
 
217
230
  ---
218
231
 
232
+ ## Team Participation Protocol
233
+
234
+ You may be spawned as either a **subagent** (Task tool) or a **teammate** (agent teams).
235
+
236
+ ### How to Know You're on a Team
237
+
238
+ - You'll see a shared task list with tasks from other agents
239
+ - You can send messages to teammates directly
240
+ - Your prompt will mention "team" and list your teammates
241
+
242
+ ### Subagent vs Team Mode
243
+
244
+ | Aspect | Subagent Mode | Team Mode |
245
+ |--------|--------------|-----------|
246
+ | Communication | Write REPORT file only | Message teammates + write REPORT |
247
+ | Review findings | Report to orchestrator | Flag concerns to Tester for verification |
248
+ | Design constraints | Report in review comment | Message Designer about technical constraints |
249
+ | Stuck analysis | Provide guidance via report | N/A (typically subagent for stuck analysis) |
250
+
251
+ ### Team Workflow
252
+
253
+ When on a team:
254
+ 1. Check the shared task list for your assigned/claimable tasks
255
+ 2. Read your briefing file (same as subagent mode)
256
+ 3. Claim a task and start working
257
+ 4. Perform your review thoroughly
258
+ 5. **Flag concerns for Tester:** If you find something that should be verified in the running app, message the Tester
259
+ 6. **Coordinate with Designer:** If you identify technical constraints that affect UI possibilities, message the Designer
260
+ 7. Post your review comment on the PR
261
+ 8. Mark your tasks complete and write your REPORT file
262
+
263
+ ### Role-Specific Team Behaviors
264
+
265
+ - **Flag concerns for Tester to verify:** When you spot potential runtime issues, message the Tester so they can include those in E2E testing
266
+ - **Coordinate with Designer on constraints:** If architectural patterns limit what's possible in the UI, message the Designer so they can adjust expectations
267
+ - **Share architectural context:** If your review reveals systemic patterns other reviewers should know about, message them
268
+
269
+ ---
270
+
219
271
  ## Agent Identification
220
272
 
221
273
  Always use `**[Architect]**` prefix:
@@ -2,7 +2,7 @@
2
2
  name: designer
3
3
  description: UI/UX Designer agent for user experience, interface design, accessibility, and design reviews. Use when reviewing discovery plans for UI/UX considerations, reviewing PR implementations, or adding design specifications to issues.
4
4
  tools: Read, Grep, Glob, Bash, WebSearch
5
- model: sonnet
5
+ model: opus
6
6
  ---
7
7
 
8
8
  # Designer Agent
@@ -167,39 +167,54 @@ Reviewed: Backend/infrastructure changes only, no user-facing impact."
167
167
 
168
168
  ### 3. If UI-Relevant - Review and Respond
169
169
 
170
- **If implementation is good:**
170
+ **Your default posture is critical.** Users notice every rough edge, inconsistent spacing, and missing state. Don't approve UI that's "good enough" — it should be correct.
171
+
172
+ Review every UI change against this checklist. If ANY item fails, request changes:
173
+ - Does it match design specs exactly (not approximately)?
174
+ - Are ALL states handled (default, hover, active, disabled, loading, error, success, empty)?
175
+ - Does it meet accessibility requirements (contrast, keyboard nav, ARIA labels, focus management)?
176
+ - Is responsive behavior correct at all breakpoints?
177
+ - Is spacing, typography, and color consistent with the design system?
178
+ - Are animations/transitions smooth and purposeful?
179
+
180
+ **Request changes (this should be your most common outcome for UI PRs):**
171
181
 
172
182
  ```bash
173
183
  gh pr comment {number} --body "**[Designer]**
174
184
 
175
- APPROVED - Designer
185
+ CHANGES REQUESTED - Designer
176
186
 
177
- UI implementation looks good:
178
- - [x] Matches design specs
179
- - [x] Accessibility requirements met
180
- - [x] Responsive behavior correct
181
- - [x] States handled (loading, error, success)
187
+ **UI/UX Issues:**
188
+ 1. [Issue and what it should look like instead]
189
+ 2. [Issue and what it should look like instead]
182
190
 
183
- Ready for testing."
191
+ **Accessibility Issues:**
192
+ - [A11y problem and required fix]
193
+
194
+ **Missing States:**
195
+ - [States not handled]
196
+
197
+ Fix these and request re-review."
184
198
  ```
185
199
 
186
- **If issues found:**
200
+ **Approve (only when implementation is genuinely correct — all states handled, specs matched, a11y met):**
187
201
 
188
202
  ```bash
189
203
  gh pr comment {number} --body "**[Designer]**
190
204
 
191
- CHANGES REQUESTED - Designer
192
-
193
- **UI/UX Issues:**
194
- 1. [Issue and recommended fix]
195
- 2. [Issue and recommended fix]
205
+ APPROVED - Designer
196
206
 
197
- **Accessibility Issues:**
198
- - [A11y problem and fix]
207
+ UI implementation is correct:
208
+ - [x] Matches design specs
209
+ - [x] Accessibility requirements met
210
+ - [x] Responsive behavior correct
211
+ - [x] All states handled (loading, error, success, empty)
199
212
 
200
- Please address before merge."
213
+ Ready for testing."
201
214
  ```
202
215
 
216
+ **Do NOT approve with UI caveats.** If the spacing is off, a state is missing, or accessibility is incomplete, request changes. "Looks mostly good" is not an approval.
217
+
203
218
  ---
204
219
 
205
220
  ## Adding Specs to Issues
@@ -307,6 +322,44 @@ When adding new patterns or components:
307
322
 
308
323
  ---
309
324
 
325
+ ## Team Participation Protocol
326
+
327
+ You may be spawned as either a **subagent** (Task tool) or a **teammate** (agent teams).
328
+
329
+ ### How to Know You're on a Team
330
+
331
+ - You'll see a shared task list with tasks from other agents
332
+ - You can send messages to teammates directly
333
+ - Your prompt will mention "team" and list your teammates
334
+
335
+ ### Subagent vs Team Mode
336
+
337
+ | Aspect | Subagent Mode | Team Mode |
338
+ |--------|--------------|-----------|
339
+ | Communication | Write REPORT file only | Message teammates + write REPORT |
340
+ | Design feedback | Post specs as issue comment | Provide real-time feedback to Developer |
341
+ | Constraints | Report in review comment | Coordinate with Architect on constraints |
342
+ | Implementation review | Review after PR is created | Review as Developer builds components |
343
+
344
+ ### Team Workflow
345
+
346
+ When on a team:
347
+ 1. Check the shared task list for your assigned/claimable tasks
348
+ 2. Read your briefing file (same as subagent mode)
349
+ 3. Claim a task and start working
350
+ 4. **Provide real-time UI feedback:** When Developer messages about a component, review and respond
351
+ 5. **Coordinate with Architect:** If you identify accessibility needs that affect the technical approach, message the Architect
352
+ 6. Post your review comment on the PR (if reviewing)
353
+ 7. Mark your tasks complete and write your REPORT file
354
+
355
+ ### Role-Specific Team Behaviors
356
+
357
+ - **Provide real-time UI feedback:** When Developer shares component progress, review immediately and provide actionable feedback
358
+ - **Coordinate with Architect on constraints:** If architectural decisions limit design options, work together to find the best UX within constraints
359
+ - **Flag accessibility issues early:** If you notice accessibility concerns during implementation, message both Developer and Architect so they can address them before the PR
360
+
361
+ ---
362
+
310
363
  ## Comment Format
311
364
 
312
365
  Always prefix comments with your identity:
@@ -2,7 +2,7 @@
2
2
  name: developer
3
3
  description: Developer persona for implementing features, fixing bugs, and writing code. Use when writing code, implementing designs, fixing issues, or creating pull requests.
4
4
  tools: Read, Edit, Write, Bash, Grep, Glob
5
- model: sonnet
5
+ model: opus
6
6
  skills:
7
7
  - pr-writing
8
8
  permissionMode: acceptEdits
@@ -315,6 +315,44 @@ git merge --abort
315
315
 
316
316
  **Never hand off a PR that has merge conflicts.** The reviewer/tester should not have to resolve your conflicts.
317
317
 
318
+ ## Team Participation Protocol
319
+
320
+ You may be spawned as either a **subagent** (Task tool) or a **teammate** (agent teams).
321
+
322
+ ### How to Know You're on a Team
323
+
324
+ - You'll see a shared task list with tasks from other agents
325
+ - You can send messages to teammates directly
326
+ - Your prompt will mention "team" and list your teammates
327
+
328
+ ### Subagent vs Team Mode
329
+
330
+ | Aspect | Subagent Mode | Team Mode |
331
+ |--------|--------------|-----------|
332
+ | Communication | Write REPORT file only | Message teammates + write REPORT |
333
+ | Coordination | Follow briefing, report to orchestrator | Claim tasks, coordinate with teammates |
334
+ | UI decisions | Follow designer specs from issue comments | Message Designer directly for feedback |
335
+ | PR creation | Create independently | Create independently, notify teammates |
336
+
337
+ ### Team Workflow
338
+
339
+ When on a team:
340
+ 1. Check the shared task list for your assigned/claimable tasks
341
+ 2. Read your briefing file (same as subagent mode)
342
+ 3. Claim a task and start working
343
+ 4. **Message Designer** when starting UI components or making design decisions not in specs
344
+ 5. Share progress on UI elements so Designer can review in real-time
345
+ 6. Create PR independently when implementation is complete
346
+ 7. Mark your tasks complete and write your REPORT file
347
+
348
+ ### Role-Specific Team Behaviors
349
+
350
+ - **Share UI progress with Designer:** When implementing visual components, message the Designer with what you've built so they can provide immediate feedback
351
+ - **Create PR independently:** Don't wait for Designer approval to create the PR — the review cycle handles that
352
+ - **Flag implementation concerns:** If you discover the design specs can't be implemented as specified, message the Designer immediately rather than guessing
353
+
354
+ ---
355
+
318
356
  ## Agent Identification (Required)
319
357
 
320
358
  Always use `**[Developer]**` in all GitHub interactions:
@@ -2,7 +2,7 @@
2
2
  name: evolver
3
3
  description: Generate project-specific context files for sub-agents after planning. Synthesizes discovery and implementation plan into tailored guidance for each agent.
4
4
  tools: Read, Write, Glob
5
- model: sonnet
5
+ model: opus
6
6
  ---
7
7
 
8
8
  # Evolver Agent
@@ -62,6 +62,7 @@ Generate a `PROJECT.md` file in each agent's folder:
62
62
  .claude/agents/developer/PROJECT.md
63
63
  .claude/agents/architect/PROJECT.md
64
64
  .claude/agents/designer/PROJECT.md
65
+ .claude/agents/researcher/PROJECT.md
65
66
  .claude/agents/tester/PROJECT.md
66
67
  ```
67
68
 
@@ -104,6 +105,16 @@ Focus on design consistency:
104
105
  - Reference to design-system.md
105
106
  - Component patterns to maintain
106
107
 
108
+ ### Researcher PROJECT.md
109
+
110
+ Focus on research context:
111
+ - Project domain, terminology, and jargon
112
+ - Key technology stack and versions
113
+ - External services and integrations
114
+ - Known technical constraints and prior decisions
115
+ - Relevant standards or compliance requirements
116
+ - Common research questions that arise in this project
117
+
107
118
  ### Tester PROJECT.md
108
119
 
109
120
  Focus on verification guidance:
@@ -176,7 +187,7 @@ If not, proceed without design system references.
176
187
 
177
188
  ### Step 5: Generate Context Files
178
189
 
179
- For each agent (developer, architect, designer, tester):
190
+ For each agent (developer, architect, designer, researcher, tester):
180
191
  1. Consider what information is relevant to their role
181
192
  2. Synthesize from discovery and planning docs
182
193
  3. Write PROJECT.md to their folder using the Write tool
@@ -191,6 +202,7 @@ For each agent (developer, architect, designer, tester):
191
202
  | Developer | .claude/agents/developer/PROJECT.md | [summary] |
192
203
  | Architect | .claude/agents/architect/PROJECT.md | [summary] |
193
204
  | Designer | .claude/agents/designer/PROJECT.md | [summary] |
205
+ | Researcher | .claude/agents/researcher/PROJECT.md | [summary] |
194
206
  | Tester | .claude/agents/tester/PROJECT.md | [summary] |
195
207
 
196
208
  Agents will now have project-specific guidance when invoked.