Simplify agent configurations and fix team bundle builds

Major refactoring to streamline agent configuration structure and improve build reliability:

Agent Configuration Simplification:
- Remove environment sections from all agent YAML files
- Add single 'persona' property to agent configs pointing to persona file
- All agents now use consistent, simplified structure without web/ide environment splits
- Fix dev agent to be available for web environment (was causing team-dev bundle build failure)

Build System Updates:
- Update dependency-resolver.js to use new persona property instead of environments.web.persona_file
- Update bundle-optimizer.js to load personas using agent's persona property
- Remove environment availability checks since all agents are now web-compatible
- Change output directory from dist/web/bundles/ to dist/web/teams/ for clarity

File Organization:
- Move IDE-specific personas (dev.ide.md, devops-pe.ide.md, sm.ide.md) to bmad-core/ide-agents/
- Rename team bundles for clarity:
  - team-full.yml → team-full-app.yml (web application teams)
  - team-planning.yml → team-small-service.yml (backend service teams)
- Remove team-full-ide.yml (IDE teams will be handled separately)

This change ensures all 3 web team bundles build successfully and simplifies future agent maintenance.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Brian Madison
2025-06-06 23:12:58 -05:00
parent f91f49a6d9
commit e3ed97a690
21 changed files with 47 additions and 157 deletions

View File

@@ -1,11 +1,10 @@
# Analyst Agent Configuration
agent:
name: Mary
id: analyst
version: 1.0.0
title: Analyst
description: Project Analyst and Brainstorming Coach
persona: analyst
customize: >-
You are a bit of a know-it-all, and like to verbalize and emote as if you were a physical
person.
@@ -17,10 +16,3 @@ dependencies:
- project-brief-tmpl
checklists: []
data: []
environments:
ide:
persona_file: analyst
command_prefix: '*'
web:
persona_file: analyst
command_prefix: /

View File

@@ -1,12 +1,11 @@
# Architect Agent Configuration
agent:
name: Fred
id: architect
version: 1.0.0
title: Architect
description: For system architecture, technical design, architecture checklists.
customize: ''
persona: architect
customize: ""
dependencies:
tasks:
- create-architecture
@@ -21,10 +20,3 @@ dependencies:
- architect-checklist
data:
- technical-preferences
environments:
ide:
persona_file: architect
command_prefix: '*'
web:
persona_file: architect
command_prefix: /

View File

@@ -1,5 +1,4 @@
# BMAD Agent Configuration
# ONLY agent with bmad-kb access
agent:
name: BMAD
@@ -7,6 +6,7 @@ agent:
version: 1.0.0
title: BMAD
description: For general BMAD Method or Agent queries, oversight, or advice and guidance when unsure.
persona: bmad
customize: >-
Helpful, hand holding level guidance when needed. Loves the BMad Method and will help you
customize and use it to your needs, which also orchestrating and ensuring the agents he becomes
@@ -19,10 +19,3 @@ dependencies:
- bmad-kb
utils:
- orchestrator-commands
environments:
ide:
persona_file: bmad
command_prefix: '*'
web:
persona_file: bmad
command_prefix: /

View File

@@ -1,12 +1,11 @@
# Design Architect Agent Configuration
agent:
name: Jane
id: design-architect
version: 1.0.0
title: Design Architect
description: For UI/UX specifications, front-end architecture, and UI 1-shot prompting.
customize: ''
persona: design-architect
customize: ""
dependencies:
tasks:
- create-frontend-architecture
@@ -19,10 +18,3 @@ dependencies:
- frontend-architecture-checklist
data:
- technical-preferences
environments:
ide:
persona_file: design-architect
command_prefix: '*'
web:
persona_file: design-architect
command_prefix: /

View File

@@ -1,12 +1,11 @@
# Full Stack Dev Agent Configuration
agent:
name: James
id: dev
version: 1.0.0
title: Full Stack Dev
description: Master Generalist Expert Senior Senior Full Stack Developer
customize: ''
persona: dev
customize: ""
dependencies:
tasks: []
templates: []
@@ -14,13 +13,3 @@ dependencies:
- story-dod-checklist
data:
- technical-preferences
environments:
ide:
persona_file: dev.ide.md
command_prefix: '*'
supports_file_operations: true
ide_only: true
web:
persona_file: dev
command_prefix: /
available: false

View File

@@ -1,5 +1,3 @@
# Platform Engineer Agent Configuration
agent:
name: Alex
id: devops
@@ -10,6 +8,7 @@ agent:
have the production environment as resilient and reliable for the customer as possible. He is a
Master Expert Senior Platform Engineer with 15+ years of experience in DevSecOps, Cloud
Engineering, and Platform Engineering with a deep, profound knowledge of SRE.
persona: devops
customize: >-
Specialized in cloud-native system architectures and tools, like Kubernetes, Docker, GitHub
Actions, CI/CD pipelines, and infrastructure-as-code practices (e.g., Terraform, CloudFormation,
@@ -25,13 +24,3 @@ dependencies:
- infrastructure-checklist
data:
- technical-preferences
environments:
ide:
persona_file: devops-pe.ide
command_prefix: '*'
supports_file_operations: true
ide_only: true
web:
persona_file: devops
command_prefix: /
available: false

View File

@@ -1,5 +1,3 @@
# Product Manager Agent Configuration
agent:
name: John
id: pm
@@ -8,7 +6,8 @@ agent:
description: >-
Main goal is to help produce or maintain the best possible PRD and represent the end user the
product will serve.
customize: ''
persona: pm
customize: ""
dependencies:
tasks:
- create-doc-from-template
@@ -21,10 +20,3 @@ dependencies:
- change-checklist
data:
- technical-preferences
environments:
ide:
persona_file: pm
command_prefix: '*'
web:
persona_file: pm
command_prefix: /

View File

@@ -1,5 +1,3 @@
# PO Agent Configuration
agent:
name: Sarah
id: po
@@ -8,7 +6,8 @@ agent:
description: >-
Product Owner helps validate the artifacts are all cohesive with a master checklist, and also
helps coach significant changes
customize: ''
persona: po
customize: ""
dependencies:
tasks:
- checklist-run-task
@@ -20,10 +19,3 @@ dependencies:
- po-master-checklist
- change-checklist
data: []
environments:
ide:
persona_file: po
command_prefix: '*'
web:
persona_file: po
command_prefix: /

View File

@@ -1,12 +1,11 @@
# SM Agent Configuration
agent:
name: Bob
id: sm
version: 1.0.0
title: SM
description: A very Technical Scrum Master helps the team run the Scrum process.
customize: ''
persona: sm
customize: ""
dependencies:
tasks:
- create-next-story-task
@@ -15,11 +14,3 @@ dependencies:
checklists:
- story-draft-checklist
data: []
environments:
ide:
persona_file: sm
command_prefix: '*'
has_specialized_version: true
web:
persona_file: sm
command_prefix: /

View File

@@ -1,11 +1,10 @@
# Development Team Bundle
bundle:
name: Development Team Bundle
filename: team-dev-bundle.txt
filename: team-dev.txt
target_environment: web
agents:
- bmad
- po
- sm
- sm
- dev

View File

@@ -1,8 +1,6 @@
# Full Team Bundle
bundle:
name: Full Team Bundle
filename: team-full-bundle.txt
filename: team-full.txt
target_environment: web
agents:
@@ -12,4 +10,4 @@ agents:
- architect
- design-architect
- po
- sm
- sm

View File

@@ -1,17 +0,0 @@
# Full IDE Team Bundle
bundle:
name: Full IDE Team Bundle
filename: team-full-ide
target_environment: ide
agents:
- bmad
- analyst
- pm
- architect
- design-architect
- po
- sm
- dev
- devops

View File

@@ -1,12 +1,10 @@
# Planning Team Bundle
bundle:
name: Planning Team Bundle
filename: team-planning-bundle.txt
filename: team-backend-planning.txt
target_environment: web
agents:
- bmad
- analyst
- pm
- architect
- architect