build cleanup

This commit is contained in:
Brian Madison
2025-06-08 20:46:44 -05:00
parent 8788c1d20f
commit 8ad54024d5
11 changed files with 26 additions and 62 deletions

View File

@@ -1,16 +1,7 @@
bundle:
name: Every Agent Team Bundle
description: This is a full organization of agents and includes every possible agent. This will produce the larges bundle but give the most options for discussion in a single session
target_environment: web
agents:
- bmad
- "*"
workflows:
- greenfield-mvp
- fullstack-app
- api-only
- brownfield-enhancement
- frontend-only
- backend-service

View File

@@ -7,14 +7,9 @@ bundle:
to deliver complete solutions from concept to deployment. Specializes in
full-stack applications, SaaS platforms, enterprise apps, feature additions,
refactoring, and system modernization.
target_environment: web
agents:
- bmad
- pm
- ux-expert
- fullstack-architect
workflows:
- greenfield-fullstack
- brownfield-fullstack

View File

@@ -0,0 +1,10 @@
bundle:
name: Team No UI
description: This is a team that is responsible for planning the project without any UI/UX design. This is for projects that do not require UI/UX design.
agents:
- bmad
- analyst
- pm
- architect
- po

View File

@@ -1,16 +0,0 @@
bundle:
name: Team Planning No UI
description: This is a team that is responsible for planning the project without any UI/UX design. This is for backend only projects.
target_environment: web
agents:
- bmad
- analyst
- pm
- architect
- po
workflows:
- api-only
- brownfield-enhancement
- backend-service

View File

@@ -1,7 +1,6 @@
bundle:
name: Development Team Bundle
description: This is a core development Agile implementation scrum team.
target_environment: web
agents:
- bmad

View File

@@ -1,7 +1,6 @@
bundle:
name: Technical Planning and Assessment Team Bundle
description: This is good for deep technical discussions and assessments.
target_environment: web
agents:
- bmad

View File

@@ -139,7 +139,6 @@ Bundles group related agents for specific use cases:
bundle:
name: Full Team Bundle
description: Complete development team
target_environment: web
agents:
- bmad # Orchestrator

View File

@@ -59,7 +59,6 @@ bundle:
name: {Team Name}
description: >-
{Detailed description of the team's purpose and capabilities}
target_environment: web
agents:
- {agent-id-1}
@@ -101,7 +100,6 @@ bundle:
name: Development Team Bundle
description: >-
Core development team for building features from story to deployment
target_environment: web
agents:
- sm # Sprint coordination
@@ -116,7 +114,6 @@ bundle:
name: Planning Team Bundle
description: >-
Strategic planning team for project inception and architecture
target_environment: web
agents:
- analyst # Requirements gathering
@@ -131,7 +128,6 @@ bundle:
name: Full-Stack Team Bundle
description: >-
Complete team for full-stack application development
target_environment: web
agents:
- fullstack-architect # Holistic design

View File

@@ -79,7 +79,6 @@ Team bundles are defined in the `/agent-teams/` directory as `team-*.yml` files:
```yaml
bundle:
name: Full Team Bundle
target_environment: web
agents:
- bmad

View File

@@ -176,7 +176,7 @@ class WebBuilder {
// Resolve dependencies
const agentDependencies = this.resolver.resolveBundleDependencies(
agentIds,
bundleConfig.target_environment,
'web',
bundleConfig.optimize !== false
);
@@ -274,7 +274,7 @@ class WebBuilder {
// Add bundle metadata as a comment
content += `<!-- Bundle: ${bundle.metadata.name} -->\n`;
content += `<!-- Generated: ${bundle.metadata.generatedAt} -->\n`;
content += `<!-- Environment: ${bundle.metadata.environment} -->\n\n`;
content += `<!-- Environment: web -->\n\n`;
// Add agent configurations section
content += `==================== START: agent-config ====================\n`;
@@ -305,7 +305,7 @@ class WebBuilder {
const agentConfigContent = yaml.dump({
name: bundle.metadata.name,
version: bundle.metadata.version || '1.0.0',
environment: bundle.metadata.environment,
environment: 'web',
agents: bundle.agents,
commands: config.output?.orchestrator_commands || [],
metadata: {
@@ -417,8 +417,6 @@ class WebBuilder {
// Check if this has bundle config
if (config.bundle) {
// Only include web bundles (exclude IDE-specific bundles)
if (config.bundle.target_environment === 'web') {
// Merge agents list from root level into bundle config
const bundleConfig = { ...config.bundle };
if (config.agents && !bundleConfig.agents) {
@@ -426,7 +424,6 @@ class WebBuilder {
}
configs.push(bundleConfig);
}
}
} catch (error) {
console.warn(`Warning: Failed to load config ${file}:`, error.message);
}
@@ -442,8 +439,6 @@ class WebBuilder {
// Check if this is a team bundle (team-*.yml) with bundle config
if (filename.startsWith('team-') && config.bundle) {
// Only include web bundles (exclude IDE-specific bundles)
if (config.bundle.target_environment === 'web') {
// Merge agents list from root level into bundle config
const bundleConfig = { ...config.bundle };
if (config.agents && !bundleConfig.agents) {
@@ -451,7 +446,6 @@ class WebBuilder {
}
configs.push(bundleConfig);
}
}
} catch (error) {
console.warn(`Warning: Failed to load config ${file}:`, error.message);
}

View File

@@ -20,7 +20,7 @@ class BundleOptimizer {
metadata: {
name: bundleConfig.name,
version: bundleConfig.version,
environment: bundleConfig.target_environment,
environment: 'web',
generatedAt: new Date().toISOString(),
optimization: bundleConfig.optimize || false
},
@@ -55,9 +55,7 @@ class BundleOptimizer {
this.loadResources(optimizedBundle, agentDependencies.bundleResources, agentDependencies.agents);
// Create optimized sections for web output
if (bundleConfig.target_environment === 'web') {
this.createWebSections(optimizedBundle, bundleConfig);
}
// Calculate statistics
optimizedBundle.statistics = this.calculateBundleStats(optimizedBundle, agentDependencies);
@@ -176,7 +174,7 @@ class BundleOptimizer {
const bundleConfig = {
name: `${agentDep.config.name} Standalone`,
version: agentDep.config.version || '1.0.0',
target_environment: environment,
// Environment is always 'web' for standalone agents
optimize: true
};