From 653c3ae152160a563c4394ac393f460ae72fb46b Mon Sep 17 00:00:00 2001 From: Alex Verkhovsky Date: Tue, 17 Mar 2026 09:53:34 -0600 Subject: [PATCH] fix(quick-dev): scope editor open and summary to plan-code-review only One-shot mode displays the review order in conversation output and has no spec file to open. Guard the code -r step and spec-specific summary items behind plan-code-review. --- .../bmad-quick-dev-new-preview/step-05-present.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-05-present.md b/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-05-present.md index 94227e366..c71c4d380 100644 --- a/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-05-present.md +++ b/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-05-present.md @@ -55,13 +55,12 @@ When there is only one concern, omit the bold label — just list the stops dire 1. **Plan-code-review:** Change `{spec_file}` status to `done` in the frontmatter. 2. If version control is available and the tree is dirty, create a local commit with a conventional message derived from the spec title (plan-code-review) or the intent (one-shot). -3. Open the spec in the user's editor so they can click through the Suggested Review Order: +3. **Plan-code-review only:** Open the spec in the user's editor so they can click through the Suggested Review Order: - Run `code -r "{spec_file}"` to open the spec in the current VS Code window (reuses the window where the project or worktree is open). Always double-quote the path to handle spaces and special characters. - If `code` is not available (command fails), skip gracefully and tell the user the spec file path instead. 4. Display summary of your work to the user, including the commit hash if one was created. Include: - - A note that the spec is open in their editor (or the file path if it couldn't be opened). + - **Plan-code-review:** A note that the spec is open in their editor (or the file path if it couldn't be opened). Mention that `{spec_file}` now contains a Suggested Review Order. - **Navigation tip:** "Ctrl+click (Cmd+click on macOS) the links in the Suggested Review Order to jump to each stop." - - For plan-code-review, mention that `{spec_file}` now contains a Suggested Review Order. - Offer to push and/or create a pull request. Workflow complete.