Commit Graph

11 Commits

Author SHA1 Message Date
Darren Podolak c3cf0c1fc6 refactor(bmm): Convert bug-tracking to progressive disclosure workflow
- Replace monolithic instructions.md with step-based micro-file architecture
- Remove workflow.yaml in favor of workflow.md entry point (exec: pattern)
- Extract shared sync-bug-tracking.xml task to core/tasks for reuse
- Integrate bug sync into code-review and story-done workflows
- Add main_config to workflow.md frontmatter per convention

Follows BMB and phase 1-3 progressive disclosure conventions.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 09:34:58 -05:00
Darren Podolak 5247468d98 feat(bmm): Add bug-tracking workflows - built-in Jira-lite for AI agents
Adds three human-in-the-loop workflows for tracking bugs and features:

- bug-tracking (triage): Converts informal bugs.md → structured bugs.yaml
- implement: Executes fixes with user confirmation at each step
- verify: Closes items after human testing confirms resolution

Key features:
- Built-in Jira-lite: No external tools needed for issue tracking
- Human-in-the-loop: User confirms routing, approach, and verification
- Production API sync: Framework for fetching bug reports from app database
- Dual-file system: bugs.md (human input) + bugs.yaml (agent metadata)
- Severity/complexity routing matrix with auto-routing logic
- Documentation impact assessment (PRD/Architecture/UX triggers)

Workflow integrations:
- sprint-planning: Loads bugs.yaml, tracks feature-to-story mappings
- sprint-status: Shows bug/feature counts, recommends verify for pending items
- story-done: Syncs related bugs/features to [IMPLEMENTED] when story completes
- retrospective: Closes epic-linked bugs/features when epic is marked done

Reference implementation includes:
- Database schema for in-app bug reporting (Drizzle ORM example)
- API endpoints for sync workflow (GET pending, POST mark-synced)
- UI component examples (Svelte 5, React)
2025-12-31 09:34:58 -05:00
Brian Madison cd98a7f5bb feat: complete Phase 4 workflow transformation - simpler, faster, better results
MAJOR BREAKING CHANGES: Phase 4 completely reengineered for developer efficiency and quality

🚀 **Phase 4 Streamlined & Supercharged:**
- **Reduced from 11 to 5 essential workflows** (55% reduction in complexity)
- **Eliminated redundant steps** that created token waste and confusion
- **Created single source of truth** story files with comprehensive implementation context
- **Achieved more reliable results** with fewer steps and better developer guidance

💡 **Revolutionary Dev Agent Behavior Fixes:**
- **Story file is now LAW:** Tasks/subtasks sequence is absolutely binding
- **Red-green-refactor enforcement:** Tests written first, validated, then implementation
- **Zero tolerance for cheating:** Tests must ACTUALLY exist and pass before marking complete
- **Sequential execution only:** No more "doing whatever you want" - follow the story exactly
- **Continuous execution:** No premature pausing until all tasks complete

🎯 **Quality Competition System:**
- **Enhanced story context engine** prevents common LLM development mistakes
- **Quality competition between LLMs** ensures optimal story preparation
- **Comprehensive anti-pattern prevention** stops wheel reinvention and wrong approaches
- **Developer optimization focus** for maximum clarity with minimum verbosity

📋 **Enhanced Definition of Done:**
- **27-point validation checklist** covers all implementation aspects
- **Multiple validation gates** prevent claiming work that isn't actually done
- **Comprehensive test requirements** ensure no functionality goes untested
- **File tracking and documentation** for complete project visibility

🔧 **Technical Improvements:**
- **Variable consistency** throughout all workflow files
- **XML instruction format** for better workflow engine compatibility
- **Proper ask tag handling** for user interaction clarity
- **Project context integration** without blocking implementation
- **Fixed all agent schema compliance** for proper array formatting

**Result:** Phase 4 now delivers superior development outcomes with:
-  **55% fewer workflows** to learn and maintain
-  **Dramatically reduced token usage** and context switching
-  **Eliminated dev agent behavioral issues** that caused quality problems
-  **Faster time-to-completion** with more reliable, predictable results
-  **Better developer experience** with clearer guidance and validation

This represents the most significant Phase 4 improvement since BMAD Method inception - fundamentally fixing developer workflow quality while drastically simplifying the implementation process.
2025-11-23 16:43:04 -06:00
Brian Madison 1728acfb0f The install directory is now configurable, with a few minute issues 2025-11-08 13:58:43 -06:00
Brian Madison 0dab278e7b story-review renamed code-review and dev-agent performs this 2025-10-28 08:30:44 -05:00
Brian Madison 52b8edb01d phase 4 more workflow cleanup 2025-10-25 19:25:28 -05:00
Brian Madison 061b7d94c4 status normalization 2025-10-25 15:41:13 -05:00
Brian Madison 5762941321 better status loading and updating for phase 4 2025-10-25 14:26:30 -05:00
Brian Madison ddaefa3284 use sprint plan for al workflow level 4 implementations 2025-10-21 23:03:46 -05:00
Brian Madison abaa24513a sprint status helpers, remove workflow integration from phase 4 items in prep of using sprint-planning status 2025-10-21 22:25:26 -05:00
Brian Madison 419043e704 sprint planning 2025-10-21 08:24:02 -05:00