BMAD-METHOD/bmad/bmm/workflows/1-analysis/research/instructions-router.md
Brian Madison cfedecbd53 docs: massive documentation overhaul + introduce Paige (Documentation Guide agent)
## 📚 Complete Documentation Restructure

**BMM Documentation Hub Created:**
- New centralized documentation system at `src/modules/bmm/docs/`
- 18 comprehensive guides organized by topic (7000+ lines total)
- Clear learning paths for greenfield, brownfield, and quick spec flows
- Professional technical writing standards throughout

**New Documentation:**
- `README.md` - Complete documentation hub with navigation
- `quick-start.md` - 15-minute getting started guide
- `agents-guide.md` - Comprehensive 12-agent reference (45 min read)
- `party-mode.md` - Multi-agent collaboration guide (20 min read)
- `scale-adaptive-system.md` - Deep dive on Levels 0-4 (42 min read)
- `brownfield-guide.md` - Existing codebase development (53 min read)
- `quick-spec-flow.md` - Rapid Level 0-1 development (26 min read)
- `workflows-analysis.md` - Phase 1 workflows (12 min read)
- `workflows-planning.md` - Phase 2 workflows (19 min read)
- `workflows-solutioning.md` - Phase 3 workflows (13 min read)
- `workflows-implementation.md` - Phase 4 workflows (33 min read)
- `workflows-testing.md` - Testing & QA workflows (29 min read)
- `workflow-architecture-reference.md` - Architecture workflow deep-dive
- `workflow-document-project-reference.md` - Document-project workflow reference
- `enterprise-agentic-development.md` - Team collaboration patterns
- `faq.md` - Comprehensive Q&A covering all topics
- `glossary.md` - Complete terminology reference
- `troubleshooting.md` - Common issues and solutions

**Documentation Improvements:**
- Removed all version/date footers (git handles versioning)
- Agent customization docs now include full rebuild process
- Cross-referenced links between all guides
- Reading time estimates for all major docs
- Consistent professional formatting and structure

**Consolidated & Streamlined:**
- Module README (`src/modules/bmm/README.md`) streamlined to lean signpost
- Root README polished with better hierarchy and clear CTAs
- Moved docs from root `docs/` to module-specific locations
- Better separation of user docs vs. developer reference

## 🤖 New Agent: Paige (Documentation Guide)

**Role:** Technical documentation specialist and information architect

**Expertise:**
- Professional technical writing standards
- Documentation structure and organization
- Information architecture and navigation
- User-focused content design
- Style guide enforcement

**Status:** Work in progress - Paige will evolve as documentation needs grow

**Integration:**
- Listed in agents-guide.md, glossary.md, FAQ
- Available for all phases (documentation is continuous)
- Can be customized like all BMM agents

## 🔧 Additional Changes

- Updated agent manifest with Paige
- Updated workflow manifest with new documentation workflows
- Fixed workflow-to-agent mappings across all guides
- Improved root README with clearer Quick Start section
- Better module structure explanations
- Enhanced community links with Discord channel names

**Total Impact:**
- 18 new/restructured documentation files
- 7000+ lines of professional technical documentation
- Complete navigation system with cross-references
- Clear learning paths for all user types
- Foundation for knowledge base (coming in beta)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-02 21:18:33 -06:00

6.1 KiB

Research Workflow Router Instructions

The workflow execution engine is governed by: {project_root}/bmad/core/tasks/workflow.xml You MUST have already loaded and processed: {installed_path}/workflow.yaml Communicate in {communication_language}, generate documents in {document_output_language} Web research is ENABLED - always use current {{current_year}} data

🚨 ANTI-HALLUCINATION PROTOCOL - MANDATORY 🚨 NEVER present information without a verified source - if you cannot find a source, say "I could not find reliable data on this" ALWAYS cite sources with URLs when presenting data, statistics, or factual claims REQUIRE at least 2 independent sources for critical claims (market size, growth rates, competitive data) When sources conflict, PRESENT BOTH views and note the discrepancy - do NOT pick one arbitrarily Flag any data you are uncertain about with confidence levels: [High Confidence], [Medium Confidence], [Low Confidence - verify] Distinguish clearly between: FACTS (from sources), ANALYSIS (your interpretation), and SPECULATION (educated guesses) When using WebSearch results, ALWAYS extract and include the source URL for every claim

This is a ROUTER that directs to specialized research instruction sets

Check if {output_folder}/bmm-workflow-status.yaml exists No workflow status file found. Research is optional - you can continue without status tracking. Set standalone_mode = true Load the FULL file: {output_folder}/bmm-workflow-status.yaml Parse workflow_status section Check status of "research" workflow Get project_level from YAML metadata Find first non-completed workflow (next expected workflow) Pass status context to loaded instruction set for final update ⚠️ Research already completed: {{research status}} Re-running will create a new research report. Continue? (y/n) Exiting. Use workflow-status to see your next step. Exit workflow ⚠️ Next expected workflow: {{next_workflow}}. Research is out of sequence. Note: Research can provide valuable insights at any project stage. Continue with Research anyway? (y/n) Exiting. Run {{next_workflow}} instead. Exit workflow

Set standalone_mode = false

Welcome {user_name} warmly. Position yourself as their research partner who uses live {{current_year}} web data. Ask what they're looking to understand or research.

Listen and collaboratively identify the research type based on what they describe:

  • Market/Business questions → Market Research
  • Competitor questions → Competitive Intelligence
  • Customer questions → User Research
  • Technology questions → Technical Research
  • Industry questions → Domain Research
  • Creating research prompts for AI platforms → Deep Research Prompt Generator

Confirm your understanding of what type would be most helpful and what it will produce.

Capture {{research_type}} and {{research_mode}}

research_type_discovery

Based on user selection, load the appropriate instruction set

Set research_mode = "market" LOAD: {installed_path}/instructions-market.md Continue with market research workflow Set research_mode = "deep-prompt" LOAD: {installed_path}/instructions-deep-prompt.md Continue with deep research prompt generation Set research_mode = "technical" LOAD: {installed_path}/instructions-technical.md Continue with technical research workflow Set research_mode = "competitive" This will use market research workflow with competitive focus LOAD: {installed_path}/instructions-market.md Pass mode="competitive" to focus on competitive intelligence Set research_mode = "user" This will use market research workflow with user research focus LOAD: {installed_path}/instructions-market.md Pass mode="user" to focus on customer insights Set research_mode = "domain" This will use market research workflow with domain focus LOAD: {installed_path}/instructions-market.md Pass mode="domain" to focus on industry/domain analysis

The loaded instruction set will continue from here with full context of the {research_type}