agileflow 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/README.md +6 -6
  3. package/lib/skill-loader.js +0 -1
  4. package/package.json +1 -1
  5. package/scripts/agileflow-statusline.sh +81 -0
  6. package/scripts/claude-tmux.sh +113 -22
  7. package/scripts/claude-watchdog.sh +225 -0
  8. package/scripts/generators/agent-registry.js +14 -1
  9. package/scripts/generators/inject-babysit.js +22 -9
  10. package/scripts/generators/inject-help.js +19 -9
  11. package/scripts/lib/audit-cleanup.js +250 -0
  12. package/scripts/lib/audit-registry.js +248 -0
  13. package/scripts/lib/feature-catalog.js +3 -3
  14. package/scripts/lib/gate-enforcer.js +295 -0
  15. package/scripts/lib/model-profiles.js +98 -0
  16. package/scripts/lib/signal-detectors.js +1 -1
  17. package/scripts/lib/skill-catalog.js +557 -0
  18. package/scripts/lib/skill-recommender.js +311 -0
  19. package/scripts/lib/tdd-phase-manager.js +455 -0
  20. package/scripts/lib/team-events.js +34 -3
  21. package/scripts/lib/tmux-group-colors.js +113 -0
  22. package/scripts/messaging-bridge.js +209 -1
  23. package/scripts/spawn-audit-sessions.js +549 -0
  24. package/scripts/team-manager.js +37 -16
  25. package/scripts/tmux-close-windows.sh +180 -0
  26. package/src/core/agents/ads-audit-budget.md +181 -0
  27. package/src/core/agents/ads-audit-compliance.md +169 -0
  28. package/src/core/agents/ads-audit-creative.md +164 -0
  29. package/src/core/agents/ads-audit-google.md +226 -0
  30. package/src/core/agents/ads-audit-meta.md +183 -0
  31. package/src/core/agents/ads-audit-tracking.md +197 -0
  32. package/src/core/agents/ads-consensus.md +322 -0
  33. package/src/core/agents/brainstorm-analyzer-features.md +169 -0
  34. package/src/core/agents/brainstorm-analyzer-growth.md +161 -0
  35. package/src/core/agents/brainstorm-analyzer-integration.md +172 -0
  36. package/src/core/agents/brainstorm-analyzer-market.md +147 -0
  37. package/src/core/agents/brainstorm-analyzer-ux.md +167 -0
  38. package/src/core/agents/brainstorm-consensus.md +237 -0
  39. package/src/core/agents/completeness-consensus.md +5 -5
  40. package/src/core/agents/perf-consensus.md +2 -2
  41. package/src/core/agents/security-consensus.md +2 -2
  42. package/src/core/agents/seo-analyzer-content.md +167 -0
  43. package/src/core/agents/seo-analyzer-images.md +187 -0
  44. package/src/core/agents/seo-analyzer-performance.md +206 -0
  45. package/src/core/agents/seo-analyzer-schema.md +176 -0
  46. package/src/core/agents/seo-analyzer-sitemap.md +172 -0
  47. package/src/core/agents/seo-analyzer-technical.md +144 -0
  48. package/src/core/agents/seo-consensus.md +289 -0
  49. package/src/core/agents/test-consensus.md +2 -2
  50. package/src/core/commands/ads/audit.md +375 -0
  51. package/src/core/commands/ads/budget.md +97 -0
  52. package/src/core/commands/ads/competitor.md +112 -0
  53. package/src/core/commands/ads/creative.md +85 -0
  54. package/src/core/commands/ads/google.md +112 -0
  55. package/src/core/commands/ads/landing.md +119 -0
  56. package/src/core/commands/ads/linkedin.md +112 -0
  57. package/src/core/commands/ads/meta.md +91 -0
  58. package/src/core/commands/ads/microsoft.md +115 -0
  59. package/src/core/commands/ads/plan.md +321 -0
  60. package/src/core/commands/ads/tiktok.md +129 -0
  61. package/src/core/commands/ads/youtube.md +124 -0
  62. package/src/core/commands/ads.md +128 -0
  63. package/src/core/commands/babysit.md +249 -1284
  64. package/src/core/commands/{audit → code}/completeness.md +35 -25
  65. package/src/core/commands/{audit → code}/legal.md +26 -16
  66. package/src/core/commands/{audit → code}/logic.md +27 -16
  67. package/src/core/commands/{audit → code}/performance.md +30 -20
  68. package/src/core/commands/{audit → code}/security.md +32 -19
  69. package/src/core/commands/{audit → code}/test.md +30 -20
  70. package/src/core/commands/{discovery → ideate}/brief.md +12 -12
  71. package/src/core/commands/{discovery/new.md → ideate/discover.md} +13 -13
  72. package/src/core/commands/ideate/features.md +435 -0
  73. package/src/core/commands/seo/audit.md +373 -0
  74. package/src/core/commands/seo/competitor.md +174 -0
  75. package/src/core/commands/seo/content.md +107 -0
  76. package/src/core/commands/seo/geo.md +229 -0
  77. package/src/core/commands/seo/hreflang.md +140 -0
  78. package/src/core/commands/seo/images.md +96 -0
  79. package/src/core/commands/seo/page.md +198 -0
  80. package/src/core/commands/seo/plan.md +163 -0
  81. package/src/core/commands/seo/programmatic.md +131 -0
  82. package/src/core/commands/seo/references/cwv-thresholds.md +64 -0
  83. package/src/core/commands/seo/references/eeat-framework.md +110 -0
  84. package/src/core/commands/seo/references/quality-gates.md +91 -0
  85. package/src/core/commands/seo/references/schema-types.md +102 -0
  86. package/src/core/commands/seo/schema.md +183 -0
  87. package/src/core/commands/seo/sitemap.md +97 -0
  88. package/src/core/commands/seo/technical.md +100 -0
  89. package/src/core/commands/seo.md +107 -0
  90. package/src/core/commands/skill/list.md +68 -212
  91. package/src/core/commands/skill/recommend.md +216 -0
  92. package/src/core/commands/tdd-next.md +238 -0
  93. package/src/core/commands/tdd.md +210 -0
  94. package/src/core/experts/_core-expertise.yaml +105 -0
  95. package/src/core/experts/analytics/expertise.yaml +5 -99
  96. package/src/core/experts/codebase-query/expertise.yaml +3 -72
  97. package/src/core/experts/compliance/expertise.yaml +6 -72
  98. package/src/core/experts/database/expertise.yaml +9 -52
  99. package/src/core/experts/documentation/expertise.yaml +7 -140
  100. package/src/core/experts/integrations/expertise.yaml +7 -127
  101. package/src/core/experts/mentor/expertise.yaml +8 -35
  102. package/src/core/experts/monitoring/expertise.yaml +7 -49
  103. package/src/core/experts/performance/expertise.yaml +1 -26
  104. package/src/core/experts/security/expertise.yaml +9 -34
  105. package/src/core/experts/ui/expertise.yaml +6 -36
  106. package/src/core/knowledge/ads/ad-audit-checklist-scoring.md +424 -0
  107. package/src/core/knowledge/ads/ad-optimization-logic.md +590 -0
  108. package/src/core/knowledge/ads/ad-technical-specifications.md +385 -0
  109. package/src/core/knowledge/ads/definitive-advertising-reference-2026.md +506 -0
  110. package/src/core/knowledge/ads/paid-advertising-research-2026.md +445 -0
  111. package/src/core/templates/agileflow-metadata.json +15 -1
  112. package/tools/cli/installers/ide/_base-ide.js +42 -5
  113. package/tools/cli/installers/ide/claude-code.js +3 -3
  114. package/tools/cli/lib/content-injector.js +160 -12
  115. package/tools/cli/lib/docs-setup.js +1 -1
  116. package/src/core/commands/skill/create.md +0 -698
  117. package/src/core/commands/skill/delete.md +0 -316
  118. package/src/core/commands/skill/edit.md +0 -359
  119. package/src/core/commands/skill/test.md +0 -394
  120. package/src/core/commands/skill/upgrade.md +0 -552
  121. package/src/core/templates/skill-template.md +0 -117
@@ -1,14 +1,14 @@
1
1
  ---
2
2
  description: Multi-agent test quality analysis with consensus voting for finding test suite weaknesses
3
- argument-hint: "[file|directory] [DEPTH=quick|deep] [FOCUS=coverage|fragility|mocking|assertions|structure|integration|maintenance|patterns|all]"
3
+ argument-hint: "[file|directory] [DEPTH=quick|deep|ultradeep] [FOCUS=coverage|fragility|mocking|assertions|structure|integration|maintenance|patterns|all] [MODEL=haiku|sonnet|opus]"
4
4
  compact_context:
5
5
  priority: high
6
6
  preserve_rules:
7
- - "ACTIVE COMMAND: /agileflow:audit:test - Multi-agent test quality analysis"
7
+ - "ACTIVE COMMAND: /agileflow:code:test - Multi-agent test quality analysis"
8
8
  - "CRITICAL: Deploy analyzers IN PARALLEL in ONE message with multiple Task calls"
9
9
  - "CRITICAL: Wait for all results before running consensus (use TaskOutput with block=true)"
10
10
  - "CRITICAL: Confidence scoring: CONFIRMED (2+ agree), LIKELY (1 with evidence), INVESTIGATE (1 weak)"
11
- - "MUST parse arguments: TARGET (file/dir), DEPTH (quick/deep), FOCUS (coverage|fragility|mocking|assertions|structure|integration|maintenance|patterns|all)"
11
+ - "MUST parse arguments: TARGET (file/dir), DEPTH (quick/deep/ultradeep), FOCUS (coverage|fragility|mocking|assertions|structure|integration|maintenance|patterns|all)"
12
12
  - "Pass consensus all analyzer outputs, let it synthesize the final report"
13
13
  state_fields:
14
14
  - target_path
@@ -18,7 +18,7 @@ compact_context:
18
18
  - findings_collected
19
19
  ---
20
20
 
21
- # /agileflow:audit:test
21
+ # /agileflow:code:test
22
22
 
23
23
  Deploy multiple specialized test quality analyzers in parallel to find weaknesses in the test suite, then synthesize results through consensus voting into a prioritized Test Quality Audit Report.
24
24
 
@@ -27,11 +27,11 @@ Deploy multiple specialized test quality analyzers in parallel to find weaknesse
27
27
  ## Quick Reference
28
28
 
29
29
  ```
30
- /agileflow:audit:test app/ # Analyze app tests (quick, core 5 analyzers)
31
- /agileflow:audit:test . DEPTH=deep # Deep analysis - all 8 analyzers
32
- /agileflow:audit:test src/ FOCUS=coverage,mocking # Focus on specific areas
33
- /agileflow:audit:test . DEPTH=deep FOCUS=all # Comprehensive full audit
34
- /agileflow:audit:test __tests__/ FOCUS=fragility # Check test fragility specifically
30
+ /agileflow:code:test app/ # Analyze app tests (quick, core 5 analyzers)
31
+ /agileflow:code:test . DEPTH=deep # Deep analysis - all 8 analyzers
32
+ /agileflow:code:test src/ FOCUS=coverage,mocking # Focus on specific areas
33
+ /agileflow:code:test . DEPTH=deep FOCUS=all # Comprehensive full audit
34
+ /agileflow:code:test __tests__/ FOCUS=fragility # Check test fragility specifically
35
35
  ```
36
36
 
37
37
  ---
@@ -40,7 +40,7 @@ Deploy multiple specialized test quality analyzers in parallel to find weaknesse
40
40
 
41
41
  ```
42
42
  +-------------------------------------------------------------+
43
- | /agileflow:audit:test |
43
+ | /agileflow:code:test |
44
44
  | |
45
45
  | 1. Parse arguments (target, depth, focus) |
46
46
  | 2. Deploy analyzers IN PARALLEL |
@@ -73,8 +73,9 @@ Deploy multiple specialized test quality analyzers in parallel to find weaknesse
73
73
  | Argument | Values | Default | Description |
74
74
  |----------|--------|---------|-------------|
75
75
  | TARGET | file/directory | `.` | What to analyze |
76
- | DEPTH | quick, deep | quick | quick = core 5 analyzers, deep = all 8 |
76
+ | DEPTH | quick, deep, ultradeep | quick | quick = core 5, deep = all 8, ultradeep = separate tmux sessions |
77
77
  | FOCUS | coverage,fragility,mocking,assertions,structure,integration,maintenance,patterns,all | all | Which analyzers to deploy |
78
+ | MODEL | haiku, sonnet, opus | haiku | Model for analyzer subagents. Default preserves existing behavior. |
78
79
 
79
80
  ---
80
81
 
@@ -107,6 +108,15 @@ FOCUS = all (default) or comma-separated list
107
108
  **DEPTH behavior**:
108
109
  - `quick` (default): Deploy core 5 analyzers. Focus on CRITICAL/HIGH issues only.
109
110
  - `deep`: Deploy all 8 analyzers. Include MEDIUM/LOW findings.
111
+ - `ultradeep`: Spawn each analyzer as a separate Claude Code session in tmux. Requires tmux. Uses model profiles from metadata. Falls back to `deep` if tmux unavailable.
112
+
113
+ **ULTRADEEP mode** (DEPTH=ultradeep):
114
+ 1. Show cost estimate: `node .agileflow/scripts/spawn-audit-sessions.js --audit=test --target=TARGET --focus=FOCUS --model=MODEL --dry-run`
115
+ 2. Confirm with user before launching
116
+ 3. Spawn sessions: `node .agileflow/scripts/spawn-audit-sessions.js --audit=test --target=TARGET --focus=FOCUS --model=MODEL`
117
+ 4. Monitor sentinel files in `docs/09-agents/ultradeep/{trace_id}/` for completion
118
+ 5. Collect all findings and run consensus coordinator (same as deep mode)
119
+ 6. If tmux unavailable, fall back to `DEPTH=deep` with warning
110
120
 
111
121
  ### STEP 2: Deploy Analyzers in Parallel
112
122
 
@@ -368,13 +378,13 @@ FIX THIS SPRINT
368
378
  <!-- COMPACT_SUMMARY_START -->
369
379
  ## Compact Summary
370
380
 
371
- **Command**: `/agileflow:audit:test` - Multi-agent test quality analysis with consensus
381
+ **Command**: `/agileflow:code:test` - Multi-agent test quality analysis with consensus
372
382
 
373
383
  **Quick Usage**:
374
384
  ```
375
- /agileflow:audit:test app/ # Quick scan (core 5 analyzers)
376
- /agileflow:audit:test . DEPTH=deep # All 8 analyzers
377
- /agileflow:audit:test src/ FOCUS=coverage,mocking # Specific areas
385
+ /agileflow:code:test app/ # Quick scan (core 5 analyzers)
386
+ /agileflow:code:test . DEPTH=deep # All 8 analyzers
387
+ /agileflow:code:test src/ FOCUS=coverage,mocking # Specific areas
378
388
  ```
379
389
 
380
390
  **What It Does**: Deploy test quality analyzers in parallel -> Each finds different test weakness classes -> Consensus coordinator validates, filters by project type, assesses false confidence risk -> Actionable Test Quality Audit Report
@@ -409,7 +419,7 @@ FIX THIS SPRINT
409
419
 
410
420
  ## Boundary Rules (No Overlap)
411
421
 
412
- - **vs audit:logic**: No logic bugs in application code — only test quality
422
+ - **vs code:logic**: No logic bugs in application code — only test quality
413
423
  - **vs qa agent**: The `qa.md` agent is a team member for story work. This is an on-demand test analysis tool
414
424
 
415
425
  ---
@@ -435,8 +445,8 @@ Add error handling tests before merging? [Y/n]
435
445
 
436
446
  ## Related Commands
437
447
 
438
- - `/agileflow:audit:logic` - Logic bug analysis (similar architecture)
439
- - `/agileflow:audit:security` - Security vulnerability analysis (similar architecture)
440
- - `/agileflow:audit:performance` - Performance bottleneck analysis (similar architecture)
441
- - `/agileflow:audit:legal` - Legal compliance analysis (similar architecture)
448
+ - `/agileflow:code:logic` - Logic bug analysis (similar architecture)
449
+ - `/agileflow:code:security` - Security vulnerability analysis (similar architecture)
450
+ - `/agileflow:code:performance` - Performance bottleneck analysis (similar architecture)
451
+ - `/agileflow:code:legal` - Legal compliance analysis (similar architecture)
442
452
  - `/agileflow:verify` - Run tests
@@ -4,7 +4,7 @@ argument-hint: "TOPIC=<text> [IDEATION=<path>] [RESEARCH=<path,...>]"
4
4
  compact_context:
5
5
  priority: critical
6
6
  preserve_rules:
7
- - "ACTIVE COMMAND: /agileflow:discovery:brief - Product Brief synthesis"
7
+ - "ACTIVE COMMAND: /agileflow:ideate:brief - Product Brief synthesis"
8
8
  - "MUST read ideation report and/or research files as input"
9
9
  - "MUST generate a Product Brief using the product-brief template structure"
10
10
  - "MoSCoW mapping: HIGH-confidence ideas = MUST HAVE, single-expert ideas = SHOULD HAVE"
@@ -20,7 +20,7 @@ compact_context:
20
20
  - brief_generated
21
21
  ---
22
22
 
23
- # /agileflow:discovery:brief
23
+ # /agileflow:ideate:brief
24
24
 
25
25
  Synthesize brainstorming results and research findings into a professional Product Brief artifact.
26
26
 
@@ -33,14 +33,14 @@ Generate a structured Product Brief that combines:
33
33
  - Research data (competitive analysis, market sizing, best practices)
34
34
  - Your own knowledge synthesis
35
35
 
36
- This can be used standalone (with existing ideation/research files) or as Phase 3 of the `/agileflow:discovery:new` workflow.
36
+ This can be used standalone (with existing ideation/research files) or as Phase 3 of the `/agileflow:ideate:discover` workflow.
37
37
 
38
38
  ---
39
39
 
40
40
  ## STEP 0: Gather Context
41
41
 
42
42
  ```bash
43
- node .agileflow/scripts/obtain-context.js discovery:brief
43
+ node .agileflow/scripts/obtain-context.js ideate:brief
44
44
  ```
45
45
 
46
46
  ---
@@ -49,13 +49,13 @@ node .agileflow/scripts/obtain-context.js discovery:brief
49
49
 
50
50
  ## Compact Summary
51
51
 
52
- **Command**: `/agileflow:discovery:brief` - Generate Product Brief from ideation + research
52
+ **Command**: `/agileflow:ideate:brief` - Generate Product Brief from ideation + research
53
53
 
54
54
  **Quick Usage**:
55
55
  ```
56
- /agileflow:discovery:brief TOPIC="Mobile time tracking app"
57
- /agileflow:discovery:brief TOPIC="AI code review" IDEATION=docs/08-project/ideation/ideation-20260213.md
58
- /agileflow:discovery:brief TOPIC="Dashboard" RESEARCH=docs/10-research/20260213-dashboard-research.md
56
+ /agileflow:ideate:brief TOPIC="Mobile time tracking app"
57
+ /agileflow:ideate:brief TOPIC="AI code review" IDEATION=docs/08-project/ideation/ideation-20260213.md
58
+ /agileflow:ideate:brief TOPIC="Dashboard" RESEARCH=docs/10-research/20260213-dashboard-research.md
59
59
  ```
60
60
 
61
61
  **What It Does**: Read ideation + research inputs -> Synthesize into Product Brief -> Save to docs/08-project/briefs/
@@ -307,19 +307,19 @@ Summary:
307
307
 
308
308
  ### Standalone (no prior ideation)
309
309
  ```
310
- /agileflow:discovery:brief TOPIC="Real-time collaboration for docs"
310
+ /agileflow:ideate:brief TOPIC="Real-time collaboration for docs"
311
311
  ```
312
312
  Generates a brief from internal knowledge + topic analysis.
313
313
 
314
314
  ### With existing ideation
315
315
  ```
316
- /agileflow:discovery:brief TOPIC="API rate limiter" IDEATION=docs/08-project/ideation/ideation-20260213-api-rate-limiter.md
316
+ /agileflow:ideate:brief TOPIC="API rate limiter" IDEATION=docs/08-project/ideation/ideation-20260213-api-rate-limiter.md
317
317
  ```
318
318
  Reads the ideation report and synthesizes into a brief.
319
319
 
320
320
  ### With ideation + research
321
321
  ```
322
- /agileflow:discovery:brief TOPIC="Mobile app" IDEATION=docs/08-project/ideation/ideation-20260213-mobile-app.md RESEARCH=docs/10-research/20260213-mobile-market-research.md,docs/10-research/20260213-mobile-competitors.md
322
+ /agileflow:ideate:brief TOPIC="Mobile app" IDEATION=docs/08-project/ideation/ideation-20260213-mobile-app.md RESEARCH=docs/10-research/20260213-mobile-market-research.md,docs/10-research/20260213-mobile-competitors.md
323
323
  ```
324
324
  Full synthesis from both sources.
325
325
 
@@ -355,7 +355,7 @@ What would you like to do next?
355
355
 
356
356
  ## Related Commands
357
357
 
358
- - `/agileflow:discovery:new` - Full discovery workflow (brainstorm + research + brief)
358
+ - `/agileflow:ideate:discover` - Full discovery workflow (brainstorm + research + brief)
359
359
  - `/agileflow:ideate:new` - Generate ideation report
360
360
  - `/agileflow:research:ask` - Generate research prompts
361
361
  - `/agileflow:research:synthesize` - Synthesize multiple research files
@@ -4,11 +4,11 @@ argument-hint: "TOPIC=<text> [DEPTH=quick|guided|deep]"
4
4
  compact_context:
5
5
  priority: critical
6
6
  preserve_rules:
7
- - "ACTIVE COMMAND: /agileflow:discovery:new - Discovery workflow orchestrator"
7
+ - "ACTIVE COMMAND: /agileflow:ideate:discover - Discovery workflow orchestrator"
8
8
  - "DEPTH modes: quick (skip research, auto-generate), guided (interactive, optional research), deep (comprehensive research + curation)"
9
9
  - "Phase 1: Brainstorm via /agileflow:ideate:new SCOPE=all"
10
10
  - "Phase 2: Research via /agileflow:research:ask (optional in quick mode)"
11
- - "Phase 3: Generate Product Brief via /agileflow:discovery:brief"
11
+ - "Phase 3: Generate Product Brief via /agileflow:ideate:brief"
12
12
  - "Output: docs/08-project/briefs/{date}-{topic-slug}-brief.md"
13
13
  - "MUST parse TOPIC (required) and DEPTH (default: guided)"
14
14
  - "After brief generation, offer: create epic, refine brief, or done"
@@ -22,7 +22,7 @@ compact_context:
22
22
  - research_files
23
23
  ---
24
24
 
25
- # /agileflow:discovery:new
25
+ # /agileflow:ideate:discover
26
26
 
27
27
  Run a structured discovery workflow that produces a professional Product Brief. Chains brainstorming, optional research, and synthesis into a single orchestrated flow.
28
28
 
@@ -33,7 +33,7 @@ Run a structured discovery workflow that produces a professional Product Brief.
33
33
  Bridge the gap between "vague idea" and "epic planning". This command validates product viability BEFORE decomposing into stories/epics.
34
34
 
35
35
  ```
36
- Vague Idea --> /discovery:new --> Product Brief --> /epic --> Stories --> Implementation
36
+ Vague Idea --> /ideate:discover --> Product Brief --> /epic --> Stories --> Implementation
37
37
  ```
38
38
 
39
39
  ---
@@ -41,7 +41,7 @@ Vague Idea --> /discovery:new --> Product Brief --> /epic --> Stories --> Implem
41
41
  ## STEP 0: Gather Context
42
42
 
43
43
  ```bash
44
- node .agileflow/scripts/obtain-context.js discovery
44
+ node .agileflow/scripts/obtain-context.js ideate:discover
45
45
  ```
46
46
 
47
47
  ---
@@ -50,19 +50,19 @@ node .agileflow/scripts/obtain-context.js discovery
50
50
 
51
51
  ## Compact Summary
52
52
 
53
- **Command**: `/agileflow:discovery:new` - Orchestrate brainstorm + research + Product Brief generation
53
+ **Command**: `/agileflow:ideate:discover` - Orchestrate brainstorm + research + Product Brief generation
54
54
 
55
55
  **Quick Usage**:
56
56
  ```
57
- /agileflow:discovery:new TOPIC="Mobile time tracking app"
58
- /agileflow:discovery:new TOPIC="AI code review tool" DEPTH=deep
59
- /agileflow:discovery:new TOPIC="Internal dashboard" DEPTH=quick
57
+ /agileflow:ideate:discover TOPIC="Mobile time tracking app"
58
+ /agileflow:ideate:discover TOPIC="AI code review tool" DEPTH=deep
59
+ /agileflow:ideate:discover TOPIC="Internal dashboard" DEPTH=quick
60
60
  ```
61
61
 
62
62
  **Phases**:
63
63
  1. Brainstorm (delegates to `/agileflow:ideate:new`)
64
64
  2. Research (delegates to `/agileflow:research:ask` - optional in quick mode)
65
- 3. Brief Generation (delegates to `/agileflow:discovery:brief`)
65
+ 3. Brief Generation (delegates to `/agileflow:ideate:brief`)
66
66
 
67
67
  **Depth Modes**:
68
68
  - `quick`: Auto-run brainstorm, skip research, generate brief immediately (~5-10 min)
@@ -87,7 +87,7 @@ node .agileflow/scripts/obtain-context.js discovery
87
87
  ## How It Works
88
88
 
89
89
  ```
90
- USER: /agileflow:discovery:new TOPIC="..." DEPTH=guided
90
+ USER: /agileflow:ideate:discover TOPIC="..." DEPTH=guided
91
91
  |
92
92
  v
93
93
  +-------------------------------+
@@ -114,7 +114,7 @@ USER: /agileflow:discovery:new TOPIC="..." DEPTH=guided
114
114
  v
115
115
  +-------------------------------+
116
116
  | STEP 4: GENERATE BRIEF |
117
- | Delegate to discovery:brief |
117
+ | Delegate to ideate:brief |
118
118
  | Synthesize all inputs |
119
119
  | Output: Product Brief |
120
120
  +-------------------------------+
@@ -386,7 +386,7 @@ What would you like to do next?
386
386
 
387
387
  ## Related Commands
388
388
 
389
- - `/agileflow:discovery:brief` - Generate a Product Brief from existing ideation + research
389
+ - `/agileflow:ideate:brief` - Generate a Product Brief from existing ideation + research
390
390
  - `/agileflow:ideate:new` - Run multi-expert brainstorming
391
391
  - `/agileflow:research:ask` - Generate external research prompts
392
392
  - `/agileflow:research:import` - Import research results