Commit Graph

10 Commits

Author SHA1 Message Date
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
Brian Madison ff6112d6c2 feat: Core Config and doc sharding is now optional in v4 2025-06-19 18:57:19 -05:00
Brian Madison 2f2a1e72d6 feat: update web builder to remove IDE-specific properties from agent bundles
- Remove 'root' property from YAML when building web bundles
- Remove 'IDE-FILE-RESOLUTION' and 'REQUEST-RESOLUTION' properties
- Filter out IDE-specific activation instructions
- Keep agent header minimal for web bundles
- Ensures web bundles are clean of IDE-specific configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 13:21:26 -05:00
Brian Madison aea7f3cc86 fix: installer has fast v4 update option now to keep the bmad method up to date with changes easily without breaking any customizations from the user. The SM and DEV are much more configurable to find epics stories and architectureal information when the prd and architecture are deviant from v4 templates and/or have not been sharded. so a config will give the user the option to configure the SM to use the full large documents or the sharded versions! 2025-06-19 12:55:16 -05:00
Brian Madison 3727cc764a fix: orchestractor yml 2025-06-17 22:22:05 -05:00
Brian Madison b03aece79e feat: removed some templates that are not ready for use 2025-06-17 22:04:24 -05:00
Brian 595342cb10
Node 20, installer improvements, agent improvements and Expansion Pack for game dev (#232)
* feat: add expansion pack installation system with game dev and infrastructure expansion packs

- Added expansion pack discovery and installation to BMAD installer
- Supports interactive and CLI installation of expansion packs
- Expansion pack files install to destination root (.bmad-core)
- Added game development expansion pack (.bmad-2d-phaser-game-dev)
  - Game designer, developer, and scrum master agents
  - Game-specific templates, tasks, workflows, and guidelines
  - Specialized for Phaser 3 + TypeScript development
- Added infrastructure devops expansion pack (.bmad-infrastructure-devops)
  - Platform engineering agent and infrastructure templates
- Expansion pack agents automatically integrate with IDE rules
- Added list:expansions command and --expansion-packs CLI option

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

* alpha expansion packs and installer update to support installing expansion packs optionally

* node20

---------

Co-authored-by: Brian Madison <brianmadison@Brians-MacBook-Pro.local>
Co-authored-by: Claude <noreply@anthropic.com>
2025-06-16 18:34:12 -05:00
Brian Madison 7c71e1f815 moved bmad-core to dot folder so when adding to project it is clear its not part of the project it is added to 2025-06-13 19:11:17 -05:00
Brian Madison bf09224e05 web bundles and build script updated 2025-06-12 20:52:41 -05:00
Brian Madison 576f05a9d0 agent consolidation 2025-06-12 19:36:12 -05:00