-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
fix(workflows): correct broken step refs in create-architecture #1734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -44,7 +44,7 @@ First, check if the output document already exists: | |||||
|
|
||||||
| If the document exists and has frontmatter with `stepsCompleted`: | ||||||
|
|
||||||
| - **STOP here** and load `{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/steps/step-01b-continue.md` immediately | ||||||
| - **STOP here** and load `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md` immediately | ||||||
| - Do not proceed with any initialization tasks | ||||||
| - Let step-01b handle the continuation logic | ||||||
|
|
||||||
|
|
@@ -148,6 +148,6 @@ Ready to begin architectural decision making. Do you have any other documents yo | |||||
|
|
||||||
| ## NEXT STEP: | ||||||
|
|
||||||
| After user selects [C] to continue, only after ensuring all the template output has been created, then load `{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md` to analyze the project context and begin architectural decision making. | ||||||
| After user selects [C] to continue, only after ensuring all the template output has been created, then load `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md` to analyze the project context and begin architectural decision making. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Grammar: "architectural decision making" should be hyphenated "architectural decision-making" is the correct form when used as a compound noun phrase. ✏️ Proposed fix-After user selects [C] to continue, only after ensuring all the template output has been created, then load `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md` to analyze the project context and begin architectural decision making.
+After user selects [C] to continue, only after ensuring all the template output has been created, then load `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md` to analyze the project context and begin architectural decision-making.📝 Committable suggestion
Suggested change
🧰 Tools🪛 LanguageTool[grammar] ~151-~151: Use a hyphen to join words. (QB_NEW_EN_HYPHEN) 🤖 Prompt for AI Agents |
||||||
|
|
||||||
| Remember: Do NOT proceed to step-02 until user explicitly selects [C] from the menu and setup is confirmed! | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,7 +85,7 @@ Show the user their current progress: | |
|
|
||
| - Identify the next step based on `stepsCompleted` | ||
| - Load the appropriate step file to continue | ||
| - Example: If `stepsCompleted: [1, 2, 3]`, load `{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md` | ||
| - Example: If `stepsCompleted: [1, 2, 3]`, load `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md` | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The linked issue The PR description says "Closes
Also applies to: 106-106, 165-171 🤖 Prompt for AI Agents |
||
|
|
||
| #### If 'C' (Continue to next logical step): | ||
|
|
||
|
|
@@ -103,7 +103,7 @@ Show the user their current progress: | |
| #### If 'X' (Start over): | ||
|
|
||
| - Confirm: "This will delete all existing architectural decisions. Are you sure? (y/n)" | ||
| - If confirmed: Delete existing document and read fully and follow: `{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md` | ||
| - If confirmed: Delete existing document and read fully and follow: `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md` | ||
| - If not confirmed: Return to continuation menu | ||
|
Comment on lines
103
to
107
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "Delete existing document" specifies no file path or deletion mechanism The handler for option [X] tells the agent to "Delete existing document" but provides no:
An agent receiving this instruction has no deterministic way to act on it. 🤖 Prompt for AI Agents |
||
|
|
||
| ### 4. Navigate to Selected Step | ||
|
|
@@ -162,12 +162,12 @@ After user makes choice: | |
| After user selects their continuation option, load the appropriate step file based on their choice. The step file will handle the detailed work from that point forward. | ||
|
|
||
| Valid step files to load: | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/steps/step-05-patterns.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/steps/step-06-structure.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/steps/step-07-validation.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md` | ||
| - `{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md` | ||
|
|
||
| Remember: The goal is smooth, transparent resumption that respects the work already done while giving the user control over how to proceed. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: bmad-code-org/BMAD-METHOD
Length of output: 448
🏁 Script executed:
Repository: bmad-code-org/BMAD-METHOD
Length of output: 787
🏁 Script executed:
Repository: bmad-code-org/BMAD-METHOD
Length of output: 7795
Inconsistent path reference patterns: use variable placeholders instead of hardcoded paths
Lines 47 and 151 hardcode
{project-root}/_bmad/bmm/workflows/...paths while line 98 correctly uses{installed_path}/for the template reference. Unify these to use variable placeholders for maintainability. If{installed_path}is not appropriate for workflow steps, define a workflow steps variable and use it consistently.Missing closing quote on user output message block
The output block starting at line 111 with
"Welcome {{user_name}}!opens with a quote but has no closing quote before## SUCCESS METRICS:at line 127. Either close the quote at line 125 or clarify the intended formatting.🤖 Prompt for AI Agents