From 39359ddbcdc3e6982ea39182352284032e6774db Mon Sep 17 00:00:00 2001 From: Alex Verkhovsky Date: Tue, 17 Mar 2026 09:52:48 -0600 Subject: [PATCH] fix(quick-dev): quote spec file path in code -r command Ensure paths with spaces or special characters are handled correctly by double-quoting the {spec_file} variable in the editor open command. --- .../bmad-quick-dev-new-preview/step-05-present.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a36f78728..94227e366 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 @@ -56,7 +56,7 @@ 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: - - 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). + - 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).