feat(quick-dev): add previous story continuity to context loading#2201
feat(quick-dev): add previous story continuity to context loading#2201
Conversation
0a1f8c5 to
7bedd8d
Compare
📝 WalkthroughWalkthroughAdds a "Previous story continuity" context-loading step during step 1's clarification phase. When the current intent matches an epic story, the workflow searches for earlier Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 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)
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 |
There was a problem hiding this comment.
🧹 Nitpick comments (2)
src/bmm-skills/4-implementation/bmad-quick-dev/step-01-clarify-and-route.md (2)
56-56: Make the task extraction target explicit to match template structure.“task list” is vague. Please name the exact source section (e.g.,
Tasks & Acceptance→Executionchecklist) so extraction is deterministic.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/bmm-skills/4-implementation/bmad-quick-dev/step-01-clarify-and-route.md` at line 56, Replace the vague phrase "task list" with an explicit source section name so extraction is deterministic; update the sentence that lists extracted items to reference the template section "Tasks & Acceptance → Execution checklist" (or the exact section title used in your template) instead of "task list" so downstream step-02 planning knows the precise extraction target; ensure the updated phrase appears in the line containing "Extract its **Code Map**, **Design Notes**, **Spec Change Log**, and **task list**" and matches the template's section header string exactly.
55-55: Clarify “most recent” vs “highest story number” to avoid ambiguous behavior.Line 55 conflates chronological recency with ordinal predecessor. If you intend numeric predecessor, say that explicitly (e.g., “select the highest lower story number”), or define tie-breakers by completion timestamp if true recency is intended.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/bmm-skills/4-implementation/bmad-quick-dev/step-01-clarify-and-route.md` at line 55, The phrase "Load the most recent one (highest story number below current)" is ambiguous between chronological recency and numeric predecessor; update the instruction text in step 3 to explicitly state the intended selection rule—either change it to "select the highest lower story number" if you mean the numeric predecessor (i.e., the largest story_number < current story_number), or state "select the most recently completed story among those with story_number < current" and add a tie-breaker by completion timestamp if true recency is intended; ensure you edit the exact sentence "Load the most recent one (highest story number below current)" so it unambiguously reflects the chosen rule.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@src/bmm-skills/4-implementation/bmad-quick-dev/step-01-clarify-and-route.md`:
- Line 56: Replace the vague phrase "task list" with an explicit source section
name so extraction is deterministic; update the sentence that lists extracted
items to reference the template section "Tasks & Acceptance → Execution
checklist" (or the exact section title used in your template) instead of "task
list" so downstream step-02 planning knows the precise extraction target; ensure
the updated phrase appears in the line containing "Extract its **Code Map**,
**Design Notes**, **Spec Change Log**, and **task list**" and matches the
template's section header string exactly.
- Line 55: The phrase "Load the most recent one (highest story number below
current)" is ambiguous between chronological recency and numeric predecessor;
update the instruction text in step 3 to explicitly state the intended selection
rule—either change it to "select the highest lower story number" if you mean the
numeric predecessor (i.e., the largest story_number < current story_number), or
state "select the most recently completed story among those with story_number <
current" and add a tie-breaker by completion timestamp if true recency is
intended; ensure you edit the exact sentence "Load the most recent one (highest
story number below current)" so it unambiguously reflects the chosen rule.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: ed73f814-58b6-4d47-bb4d-172f0fa8093b
📒 Files selected for processing (1)
src/bmm-skills/4-implementation/bmad-quick-dev/step-01-clarify-and-route.md
🤖 Augment PR SummarySummary: Enhances quick-dev’s context loading to carry forward continuity when the current intent appears to be a story within an epic. Changes:
🤖 Was this summary useful? React with 👍 or 👎 |
src/bmm-skills/4-implementation/bmad-quick-dev/step-01-clarify-and-route.md
Show resolved
Hide resolved
src/bmm-skills/4-implementation/bmad-quick-dev/step-01-clarify-and-route.md
Show resolved
Hide resolved
Triage complete: 2 findings — FIX: 0, DISMISS: 2, DEFER: 0
DetailsF1 — DISMISS: LLM inference from epics file and slug conventions is the intended design; no canonical frontmatter field needed. F2 — DISMISS: The "recognized value" list on line 24 is scoped to resumable statuses for routing; |
When quick-dev infers the intent is an epic story, it now scans for completed specs from the same epic and loads the most recent one to extract Code Map, Design Notes, Spec Change Log, and task list as continuity context for planning.
7bedd8d to
3d76619
Compare
Summary
{implementation_artifacts}for the most recent completed spec from the same epicin-reviewspecs if nodonespec exists; non-epic intents skip silentlyStacked on #2185.
Test plan
npm ci && npm run quality)🤖 Generated with Claude Code