Skip to content

Commit 2c28d8c

Browse files
committed
Refactor workflows to support active feature context
- Updated paths in UX design, implementation readiness, architecture, and epics/stories workflows to use `{active_feature}` for organizing artifacts. - Introduced a new workflow to set the active feature context, ensuring all subsequent artifacts are organized accordingly. - Adjusted documentation and output file paths across multiple workflows to reflect the new structure. - Enhanced user experience by confirming active feature settings and creating necessary subfolders.
1 parent b1492ff commit 2c28d8c

83 files changed

Lines changed: 279 additions & 103 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.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Welcome to the EVO Method
3-
description: AI-driven development framework with specialized agents, guided workflows, and intelligent planning
3+
description: Context engineering for AI-powered development
44
---
55

66
The EVO Method (**B**uild **M**ore **A**rchitect **D**reams) is an AI-driven development framework module within the EVO Method Ecosystem that helps you build software through the whole process from ideation and planning all the way through agentic implementation. It provides specialized AI agents, guided workflows, and intelligent planning that adapts to your project's complexity, whether you're fixing a bug or building an enterprise platform.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "@evoapi/evo-method",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"description": "Evolve, Validate, Orchestrate — AI-driven Agile Development Method",
66
"keywords": [
77
"agile",

src/bmm/module-help.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module,phase,name,code,sequence,workflow-file,command,required,agent,options,description,output-location,outputs,
2+
bmm,anytime,Set Feature,SF,,_evo/bmm/workflows/set-feature/workflow.md,evo-bmm-set-feature,false,sm,,"Set or switch the active feature context for artifact subfolder organization",,,
23
bmm,anytime,Document Project,DP,,_evo/bmm/workflows/document-project/workflow.md,evo-bmm-document-project,false,analyst,Create Mode,"Analyze an existing project to produce useful documentation",project-knowledge,*,
34
bmm,anytime,Generate Project Context,GPC,,_evo/bmm/workflows/generate-project-context/workflow.md,evo-bmm-generate-project-context,false,analyst,Create Mode,"Scan existing codebase to generate a lean LLM-optimized project-context.md containing critical implementation rules patterns and conventions for AI agents. Essential for brownfield projects and quick-flow.",output_folder,"project context",
45
bmm,anytime,Quick Spec,QS,,_evo/bmm/workflows/evo-quick-flow/quick-spec/workflow.md,evo-bmm-quick-spec,false,quick-flow-solo-dev,Create Mode,"Do not suggest for potentially very complex things unless requested or if the user complains that they do not want to follow the extensive planning of the evo method. Quick one-off tasks small changes simple apps brownfield additions to well established patterns utilities without extensive planning",planning_artifacts,"tech spec",

src/bmm/module.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ project_knowledge: # Artifacts from research, document-project output, other lon
4343
default: "docs"
4444
result: "{project-root}/{value}"
4545

46+
active_feature: # Current feature/implementation context — used as subfolder inside planning/implementation artifacts
47+
prompt: "What is the active feature slug? (e.g. admin-panel, auth-refactor) — used as subfolder inside planning and implementation artifacts"
48+
default: ""
49+
result: "{value}"
50+
4651
# Directories to create during installation (declarative, no code execution)
4752
directories:
4853
- "{planning_artifacts}"

src/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: 'Initialize the product brief workflow by detecting continuation st
44

55
# File References
66
nextStepFile: '{project-root}/_evo/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md'
7-
outputFile: '{planning_artifacts}/product-brief-{{project_name}}-{{date}}.md'
7+
outputFile: '{planning_artifacts}/{active_feature}/product-brief-{{project_name}}.md'
88

99
# Template References
1010
productBriefTemplate: '../product-brief.template.md'
@@ -57,6 +57,19 @@ Initialize the product brief workflow by detecting continuation state and settin
5757

5858
## Sequence of Instructions (Do not deviate, skip, or optimize)
5959

60+
### 0. Validate Active Feature
61+
62+
Before any other action, check if `{active_feature}` is set (non-empty) in the loaded config.
63+
64+
**If `{active_feature}` is empty:**
65+
- Inform the user: "No active feature is set. Please provide a feature slug (e.g. `admin-panel`, `auth-refactor`) to organize artifacts into a subfolder."
66+
- Wait for user input
67+
- Update `{project-root}/_evo/bmm/config.yaml`: set `active_feature` to the provided slug
68+
- Create subfolders: `{planning_artifacts}/{{active_feature}}/` and `{implementation_artifacts}/{{active_feature}}/`
69+
- Confirm: "Active feature set to **{{active_feature}}**. Artifacts will be saved to `{planning_artifacts}/{{active_feature}}/`."
70+
71+
**If `{active_feature}` is already set:** proceed directly to the next step.
72+
6073
### 1. Check for Existing Workflow State
6174

6275
First, check if the output document already exists:

src/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: 'step-01b-continue'
33
description: 'Resume the product brief workflow from where it was left off, ensuring smooth continuation'
44

55
# File References
6-
outputFile: '{planning_artifacts}/product-brief-{{project_name}}-{{date}}.md'
6+
outputFile: '{planning_artifacts}/{active_feature}/product-brief-{{project_name}}.md'
77
---
88

99
# Step 1B: Product Brief Continuation

src/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: 'Discover and define the core product vision, problem statement, an
44

55
# File References
66
nextStepFile: '{project-root}/_evo/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md'
7-
outputFile: '{planning_artifacts}/product-brief-{{project_name}}-{{date}}.md'
7+
outputFile: '{planning_artifacts}/{active_feature}/product-brief-{{project_name}}.md'
88

99
# Task References
1010
advancedElicitationTask: '{project-root}/_evo/core/workflows/advanced-elicitation/workflow.md'

src/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: 'Define target users with rich personas and map their key interacti
44

55
# File References
66
nextStepFile: '{project-root}/_evo/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md'
7-
outputFile: '{planning_artifacts}/product-brief-{{project_name}}-{{date}}.md'
7+
outputFile: '{planning_artifacts}/{active_feature}/product-brief-{{project_name}}.md'
88

99
# Task References
1010
advancedElicitationTask: '{project-root}/_evo/core/workflows/advanced-elicitation/workflow.md'

src/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: 'Define comprehensive success metrics that include user success, bu
44

55
# File References
66
nextStepFile: '{project-root}/_evo/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md'
7-
outputFile: '{planning_artifacts}/product-brief-{{project_name}}-{{date}}.md'
7+
outputFile: '{planning_artifacts}/{active_feature}/product-brief-{{project_name}}.md'
88

99
# Task References
1010
advancedElicitationTask: '{project-root}/_evo/core/workflows/advanced-elicitation/workflow.md'

src/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: 'Define MVP scope with clear boundaries and outline future vision w
44

55
# File References
66
nextStepFile: '{project-root}/_evo/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md'
7-
outputFile: '{planning_artifacts}/product-brief-{{project_name}}-{{date}}.md'
7+
outputFile: '{planning_artifacts}/{active_feature}/product-brief-{{project_name}}.md'
88

99
# Task References
1010
advancedElicitationTask: '{project-root}/_evo/core/workflows/advanced-elicitation/workflow.md'

0 commit comments

Comments
 (0)