refactor(quick-flow): separate one-shot into self-contained step file#2044
refactor(quick-flow): separate one-shot into self-contained step file#2044
Conversation
One-shot and plan-code-review shared steps 3-5 which depend on spec files one-shot never creates. Give one-shot its own step-oneshot.md with implement/review/classify/commit/present. Clean all one-shot and execution_mode references from steps 3-5. Restructure step-01 routing with EARLY EXIT pattern for one-shot and artifact-scan resume. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🤖 Augment PR SummarySummary: Refactors the 🤖 Was this summary useful? React with 👍 or 👎 |
src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-03-implement.md
Outdated
Show resolved
Hide resolved
src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-oneshot.md
Outdated
Show resolved
Hide resolved
src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-oneshot.md
Outdated
Show resolved
Hide resolved
📝 WalkthroughWalkthroughThis PR refactors the bmad-quick-dev-new-preview workflow by introducing EARLY EXIT routing logic, consolidating execution paths into a unified review flow with an Acceptance Auditor role, and creating a new self-contained one-shot workflow step that can be invoked as an alternative path from the initial routing step. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use oxc to improve the quality of JavaScript and TypeScript code reviews.Add a configuration file to your project to customize how CodeRabbit runs oxc. |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-oneshot.md (1)
23-24: Make{changed_files}explicit before Review/Present steps.Both review invocation and editor-open instructions depend on
{changed_files}, but the file never explicitly defines how that list is captured. Add a short “capture changed files” instruction right after implementation to remove ambiguity.Based on learnings, one-shot mode relies on in-session changed-file tracking; making that explicit here improves execution reliability.
Also applies to: 41-43
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In
`@src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-01-clarify-and-route.md`:
- Around line 39-50: The new EARLY EXIT one-shot routing behavior introduced in
step-01-clarify-and-route.md (the "EARLY EXIT → ./step-oneshot.md" route and the
simplified routing semantics) must be reflected in repository docs: add or
update a docs page describing the one-shot path behavior, when to use it, the
zero-blast-radius criteria, and how it interacts with the existing
Plan-code-review flow (mention spec_file and kebab-case slug rules), and update
any docs index or navigation so readers can find ./step-oneshot.md;
alternatively, if no docs change is needed, add a short justification comment in
the PR linking to the decision and noting why existing docs already cover it.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 1767c013-58d5-417e-8ce4-5966207e0c0d
📒 Files selected for processing (5)
src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-01-clarify-and-route.mdsrc/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-03-implement.mdsrc/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-04-review.mdsrc/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-05-present.mdsrc/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-oneshot.md
src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/step-01-clarify-and-route.md
Show resolved
Hide resolved
- Remove name/description from step-03-implement.md frontmatter (STEP-06)
- Remove name/description from step-oneshot.md frontmatter (STEP-06)
- Fix {project_root} to {project-root} placeholder convention
- Replace undefined {changed_files} with natural language
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
Reworked version of #1899, now from org repo branch.
step-oneshot.md— self-contained one-shot step with implement/review/classify/commit/presentexecution_modeand one-shot conditional branches from steps 3–5spec_filegeneration to plan-code-review path only (one-shot never needs it)What changed vs the original PR #1899
steps/subdirectory)./relative paths instead of{installed_path}/steps/step-05-present.md(original PR missed this)code -rfile opening and summary formatTest plan
🤖 Generated with Claude Code