BMAD-METHOD/bmad-core/tasks
kevlingo ef455ec125 feat(dev-agent): Implement Self-Correcting Workflow with Memory Synthesis
This major feature evolves the Developer Agent from a simple task executor into a context-aware engineer by introducing a new, intelligent workflow and a persistent project memory system.

The new workflow, encapsulated in the `implement-story-with-review` task, consists of two primary phases:

1.  **Analysis & Review Phase:**
    -   Before implementation, the agent proactively analyzes the codebase using semantic search to find reusable patterns and components.
    -   It assesses story and task complexity against configurable thresholds (`agentThresholdStory`, `agentThresholdTask` in `core-config.yml`).
    -   For complex tasks, it enters a "Review Mode" and uses an internal "Reviewer" persona to self-critique its own code for duplication, errors, and standards alignment before proceeding.

2.  **Memory Synthesis Phase:**
    -   Upon successfully completing a story, the agent automatically performs a holistic scan of its own developer notes.
    -   It distills explicit "Lessons Learned" and implicit knowledge into general, actionable rules.
    -   These memories are validated against existing knowledge to prevent contradictions and are then intelligently upserted into a new, shared `bmad-project-memory.md` file.

**Supporting System Changes:**

-   **Orchestrator:** The `bmad-orchestrator` now loads the `bmad-project-memory.md` file on startup, providing all agents with shared, evolving project context.
-   **Installer:** The BMAD installation process has been updated to correctly scaffold the new `.bmad-core/data/bmad-project-memory.md` file into new projects, ensuring the feature is available out-of-the-box.

This creates a powerful, real-time learning loop, enabling the AI team to improve and adapt based on project-specific experience, leading to higher-quality and more consistent code.
2025-06-23 12:16:51 -04:00
..
advanced-elicitation.md Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232) 2025-06-16 18:34:12 -05:00
brainstorming-techniques.md Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232) 2025-06-16 18:34:12 -05:00
brownfield-create-epic.md Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232) 2025-06-16 18:34:12 -05:00
brownfield-create-story.md Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232) 2025-06-16 18:34:12 -05:00
core-dump.md Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232) 2025-06-16 18:34:12 -05:00
correct-course.md Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232) 2025-06-16 18:34:12 -05:00
create-deep-research-prompt.md Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232) 2025-06-16 18:34:12 -05:00
create-doc.md Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232) 2025-06-16 18:34:12 -05:00
create-next-story.md feat: add markdown-tree integration for document sharding 2025-06-21 15:26:09 -05:00
doc-migration-task.md removed bad template updates from previous autoformatter 2025-06-17 21:40:59 -05:00
document-project.md Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232) 2025-06-16 18:34:12 -05:00
execute-checklist.md Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232) 2025-06-16 18:34:12 -05:00
generate-ai-frontend-prompt.md Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232) 2025-06-16 18:34:12 -05:00
implement-story-with-review.md feat(dev-agent): Implement Self-Correcting Workflow with Memory Synthesis 2025-06-23 12:16:51 -04:00
index-docs.md removed bad template updates from previous autoformatter 2025-06-17 21:40:59 -05:00
kb-mode-interaction.md feat: Core Config and doc sharding is now optional in v4 2025-06-19 18:57:19 -05:00
shard-doc.md feat: add markdown-tree integration for document sharding 2025-06-21 15:26:09 -05:00