Skip to content

Commit dc2c89b

Browse files
committed
refactor: remove bmad workflow templates and related files as it's going to imported externally
1 parent 0577eaa commit dc2c89b

85 files changed

Lines changed: 2 additions & 11852 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config/agent-characters.json

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -77,29 +77,7 @@
7777
}
7878
},
7979
"agents": {
80-
"bmad-analyst": "friendly",
81-
"bmad-pm": "analytical",
82-
"bmad-ux": "cheerful",
83-
"bmad-architect": "analytical",
84-
"bmad-epics": "analytical",
85-
"bmad-tea": "precise",
86-
"bmad-readiness": "precise",
87-
"bmad-sprints": "cheerful",
88-
"bmad-stories": "cheerful",
89-
"bmad-dev": "technical",
90-
"bmad-po": "analytical",
91-
"cm-workflow-builder": "friendly",
92-
"init": "friendly",
93-
"principal-analyst": "analytical",
94-
"blueprint-orchestrator": "analytical",
95-
"plan-agent": "analytical",
96-
"task-breakdown": "technical",
97-
"context-manager": "technical",
98-
"code-generation": "technical",
99-
"task-sanity-check": "precise",
100-
"runtime-prep": "technical",
101-
"git-commit": "technical",
102-
"plan-fallback": "analytical"
80+
"cm-workflow-builder": "friendly"
10381
},
10482
"defaultPersona": "friendly"
10583
}

config/main.agents.js

Lines changed: 0 additions & 171 deletions
Original file line numberDiff line numberDiff line change
@@ -3,177 +3,6 @@ const path = require('node:path');
33
const promptsDir = path.join(__dirname, '..', 'prompts', 'templates');
44

55
module.exports = [
6-
// BMAD controller (Product Owner)
7-
{
8-
id: 'bmad-po',
9-
name: 'Hakem [PO]',
10-
description: 'BMAD product owner controller for autonomous mode',
11-
role: 'controller',
12-
promptPath: [
13-
path.join(promptsDir, 'bmad', 'shared', 'system-files-protection.md'),
14-
path.join(promptsDir, 'bmad', 'controller', 'PO.md'),
15-
],
16-
},
17-
18-
// BMAD agents
19-
{
20-
id: 'bmad-analyst',
21-
name: 'Mary [Analyst]',
22-
description: 'BMAD business analyst for collaborative product discovery',
23-
promptPath: [
24-
path.join(promptsDir, 'bmad', 'shared', 'system-files-protection.md'),
25-
path.join(promptsDir, 'bmad', '01-analyst', 'mary.md'),
26-
path.join(promptsDir, 'bmad', '01-analyst', 'workflow.md'),
27-
path.join(promptsDir, 'bmad', '01-analyst', 'chained', 'step-01-vision.md'),
28-
],
29-
chainedPromptsPath: [
30-
path.join(promptsDir, 'bmad', '01-analyst', 'chained', 'step-02-users.md'),
31-
path.join(promptsDir, 'bmad', '01-analyst', 'chained', 'step-03-metrics.md'),
32-
path.join(promptsDir, 'bmad', '01-analyst', 'chained', 'step-04-scope.md'),
33-
path.join(promptsDir, 'bmad', '01-analyst', 'chained', 'step-05-complete.md'),
34-
],
35-
},
36-
{
37-
id: 'bmad-pm',
38-
name: 'John [PM: PRD]',
39-
description: 'BMAD product manager for PRD creation workflow',
40-
promptPath: [
41-
path.join(promptsDir, 'bmad', 'shared', 'system-files-protection.md'),
42-
path.join(promptsDir, 'bmad', '02-pm', 'john.md'),
43-
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'workflow.md'),
44-
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'chained', 'step-01-discovery.md'),
45-
],
46-
chainedPromptsPath: [
47-
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'chained', 'step-02-success.md'),
48-
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'chained', 'step-03-journeys.md'),
49-
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'chained', 'step-04-domain.md'),
50-
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'chained', 'step-05-innovation.md'),
51-
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'chained', 'step-06-project-type.md'),
52-
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'chained', 'step-07-scoping.md'),
53-
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'chained', 'step-08-functional.md'),
54-
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'chained', 'step-09-nonfunctional.md'),
55-
path.join(promptsDir, 'bmad', '02-pm', '01-prd', 'chained', 'step-10-complete.md'),
56-
],
57-
},
58-
{
59-
id: 'bmad-ux',
60-
name: 'Sally [UX]',
61-
description: 'BMAD UX designer for UX design specification workflow',
62-
promptPath: [
63-
path.join(promptsDir, 'bmad', 'shared', 'system-files-protection.md'),
64-
path.join(promptsDir, 'bmad', '03-ux-designer', 'sally.md'),
65-
path.join(promptsDir, 'bmad', '03-ux-designer', 'workflow.md'),
66-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-01-discovery.md'),
67-
],
68-
chainedPromptsPath: [
69-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-02-core-experience.md'),
70-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-03-emotional-response.md'),
71-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-04-inspiration.md'),
72-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-05-design-system.md'),
73-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-06-defining-experience.md'),
74-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-07-visual-foundation.md'),
75-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-08-design-directions.md'),
76-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-09-user-journeys.md'),
77-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-10-component-strategy.md'),
78-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-11-ux-patterns.md'),
79-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-12-responsive-accessibility.md'),
80-
path.join(promptsDir, 'bmad', '03-ux-designer', 'chained', 'step-13-complete.md'),
81-
],
82-
},
83-
{
84-
id: 'bmad-architect',
85-
name: 'Winston [Arch]',
86-
description: 'BMAD architect for architecture decision workflow',
87-
promptPath: [
88-
path.join(promptsDir, 'bmad', 'shared', 'system-files-protection.md'),
89-
path.join(promptsDir, 'bmad', '04-architect', 'winston.md'),
90-
path.join(promptsDir, 'bmad', '04-architect', 'workflow.md'),
91-
path.join(promptsDir, 'bmad', '04-architect', 'chained', 'step-01-context.md'),
92-
],
93-
chainedPromptsPath: [
94-
path.join(promptsDir, 'bmad', '04-architect', 'chained', 'step-02-starter.md'),
95-
path.join(promptsDir, 'bmad', '04-architect', 'chained', 'step-03-decisions.md'),
96-
path.join(promptsDir, 'bmad', '04-architect', 'chained', 'step-04-patterns.md'),
97-
path.join(promptsDir, 'bmad', '04-architect', 'chained', 'step-05-structure.md'),
98-
path.join(promptsDir, 'bmad', '04-architect', 'chained', 'step-06-validation.md'),
99-
path.join(promptsDir, 'bmad', '04-architect', 'chained', 'step-07-complete.md'),
100-
],
101-
},
102-
{
103-
id: 'bmad-epics',
104-
name: 'John [PM: Epics]',
105-
description: 'BMAD PM for epics and stories creation workflow',
106-
promptPath: [
107-
path.join(promptsDir, 'bmad', 'shared', 'system-files-protection.md'),
108-
path.join(promptsDir, 'bmad', '02-pm', 'john.md'),
109-
path.join(promptsDir, 'bmad', '02-pm', '02-epics', 'workflow.md'),
110-
path.join(promptsDir, 'bmad', '02-pm', '02-epics', 'chained', 'step-01-validate-prerequisites.md'),
111-
],
112-
chainedPromptsPath: [
113-
path.join(promptsDir, 'bmad', '02-pm', '02-epics', 'chained', 'step-02-design-epics.md'),
114-
path.join(promptsDir, 'bmad', '02-pm', '02-epics', 'chained', 'step-03-create-stories.md'),
115-
path.join(promptsDir, 'bmad', '02-pm', '02-epics', 'chained', 'step-04-final-validation.md'),
116-
],
117-
},
118-
{
119-
id: 'bmad-tea',
120-
name: 'Murat [Test Arch]',
121-
description: 'BMAD test architect for test design and risk assessment workflow',
122-
promptPath: [
123-
path.join(promptsDir, 'bmad', 'shared', 'system-files-protection.md'),
124-
path.join(promptsDir, 'bmad', '05-tea', 'murat.md'),
125-
path.join(promptsDir, 'bmad', '05-tea', '01-test-design', 'instructions.md'),
126-
],
127-
},
128-
{
129-
id: 'bmad-readiness',
130-
name: 'John [PM: Readiness]',
131-
description: 'BMAD PM for implementation readiness validation workflow',
132-
promptPath: [
133-
path.join(promptsDir, 'bmad', 'shared', 'system-files-protection.md'),
134-
path.join(promptsDir, 'bmad', '02-pm', 'john.md'),
135-
path.join(promptsDir, 'bmad', '02-pm', '03-readiness', 'workflow.md'),
136-
path.join(promptsDir, 'bmad', '02-pm', '03-readiness', 'chained', 'step-01-prd-analysis.md'),
137-
],
138-
chainedPromptsPath: [
139-
path.join(promptsDir, 'bmad', '02-pm', '03-readiness', 'chained', 'step-02-epic-coverage.md'),
140-
path.join(promptsDir, 'bmad', '02-pm', '03-readiness', 'chained', 'step-03-ux-alignment.md'),
141-
path.join(promptsDir, 'bmad', '02-pm', '03-readiness', 'chained', 'step-04-epic-quality.md'),
142-
path.join(promptsDir, 'bmad', '02-pm', '03-readiness', 'chained', 'step-05-complete.md'),
143-
],
144-
},
145-
{
146-
id: 'bmad-sprints',
147-
name: 'Bob [SM: Sprints]',
148-
description: 'BMAD SM for sprint status generation from epics',
149-
promptPath: [
150-
path.join(promptsDir, 'bmad', 'shared', 'system-files-protection.md'),
151-
path.join(promptsDir, 'bmad', '06-sm', 'bob.md'),
152-
path.join(promptsDir, 'bmad', '06-sm', '01-sprint-planning', 'instructions.md'),
153-
],
154-
},
155-
{
156-
id: 'bmad-stories',
157-
name: 'Bob [SM: Create Story]',
158-
description: 'BMAD SM for creating developer-ready story files',
159-
promptPath: [
160-
path.join(promptsDir, 'bmad', 'shared', 'system-files-protection.md'),
161-
path.join(promptsDir, 'bmad', '06-sm', 'bob.md'),
162-
path.join(promptsDir, 'bmad', '06-sm', '02-create-story', 'instructions.xml'),
163-
],
164-
},
165-
{
166-
id: 'bmad-dev',
167-
name: 'Amelia [Dev: Build]',
168-
description: 'BMAD Developer for story implementation',
169-
promptPath: [
170-
path.join(promptsDir, 'bmad', 'shared', 'system-files-protection.md'),
171-
path.join(promptsDir, 'bmad', '07-dev', 'amelia.md'),
172-
path.join(promptsDir, 'bmad', '07-dev', '01-dev-story', 'instructions.xml'),
173-
path.join(promptsDir, 'bmad', '07-dev', '01-dev-story', 'checklist.md'),
174-
],
175-
},
176-
1776
// ========================================
1787
// Ali - CodeMachine Workflow Builder
1798
// ========================================

config/modules.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,6 @@ const path = require('node:path');
33
const promptsDir = path.join(__dirname, '..', 'prompts');
44

55
module.exports = [
6-
// BMAD code review module with loop behavior
7-
{
8-
id: 'bmad-review',
9-
name: 'Amelia [Dev: Review]',
10-
description: 'BMAD Developer for code review',
11-
promptPath: [
12-
path.join(promptsDir, 'templates', 'bmad', 'shared', 'system-files-protection.md'),
13-
path.join(promptsDir, 'templates', 'bmad', '07-dev', 'amelia.md'),
14-
path.join(promptsDir, 'templates', 'bmad', '07-dev', '02-code-review', 'instructions.xml'),
15-
path.join(promptsDir, 'templates', 'bmad', '07-dev', '02-code-review', 'checklist.md'),
16-
],
17-
chainedPromptsPath: [
18-
path.join(promptsDir, 'templates', 'bmad', '07-dev', '02-code-review', 'next-state.xml'),
19-
path.join(promptsDir, 'templates', 'bmad', '07-dev', '02-code-review', 'ensure-loop.xml'),
20-
],
21-
behavior: {
22-
type: 'loop',
23-
action: 'stepBack',
24-
},
25-
},
266
{
277
id: 'auto-loop',
288
name: 'Auto Loop',

config/placeholders.js

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,10 @@ const path = require('node:path');
22

33
module.exports = {
44
// Paths relative to user's project directory
5-
userDir: {
6-
// BMAD workflow artifacts
7-
product_brief: path.join('.codemachine', 'artifacts', 'product-brief-*.md'),
8-
prd: path.join('.codemachine', 'artifacts', 'prd-*.md'),
9-
ux_design_spec: path.join('.codemachine', 'artifacts', 'ux-design-spec-*.md'),
10-
bmad_architecture: path.join('.codemachine', 'artifacts', 'architecture-*.md'),
11-
epics: path.join('.codemachine', 'artifacts', 'epics-*.md'),
12-
},
5+
userDir: {},
136

147
// Paths relative to codemachine package root
158
packageDir: {
16-
// BMAD PRD workflow shared files
17-
domain_complexity: path.join('prompts', 'templates', 'bmad', '02-pm', '01-prd', 'shared', 'domain-complexity.csv'),
18-
project_types: path.join('prompts', 'templates', 'bmad', '02-pm', '01-prd', 'shared', 'project-types.csv'),
19-
prd_template: path.join('prompts', 'templates', 'bmad', '02-pm', '01-prd', 'shared', 'prd-template.md'),
20-
21-
// BMAD TEA workflow shared files
22-
test_design_template: path.join('prompts', 'templates', 'bmad', '05-tea', '01-test-design', 'test-design-template.md'),
23-
24-
// BMAD SM workflow shared files
25-
sprint_status_template: path.join('prompts', 'templates', 'bmad', '06-sm', '01-sprint-planning', 'sprint-status-template.yaml'),
26-
story_template: path.join('prompts', 'templates', 'bmad', '06-sm', '02-create-story', 'template.md'),
27-
story_checklist: path.join('prompts', 'templates', 'bmad', '06-sm', '02-create-story', 'checklist.md'),
28-
29-
// BMAD shared step rules
30-
step_completion: path.join('prompts', 'templates', 'bmad', 'shared', 'step-completion.md'),
31-
32-
// BMAD PO controller workflow
33-
po_workflow: path.join('prompts', 'templates', 'bmad', 'controller', 'workflow.md'),
34-
359
// Ali Workflow Builder shared files
3610
ali_step_completion: path.join('prompts', 'templates', 'ali', 'shared', 'step-completion.md'),
3711
}

0 commit comments

Comments
 (0)