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,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