Commit Graph

116 Commits

Author SHA1 Message Date
Mårten Angner cfcbdf3b3d Fix installer: skills path, pitch deck prompt, learn folder location
Three community-reported installer fixes:

1. Remove pitch deck question from installer — this is a workflow
   decision that changes per product, not a one-time config choice.
   Saga now asks at runtime instead.

2. Fix Claude Code skills path from .claude/skills/wds/{name}.md
   to .claude/skills/{name}/SKILL.md (correct format).

3. Move _wds-learn/ from project root into _bmad/wds/learn/ to
   reduce root-level noise in monorepos.

Also: fix LF line endings on npx wrapper, add ROADMAP.md.

Reported by: @Mr-z3r0 (BMad Discord)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 12:40:34 +01:00
Mårten Angner 54241b1a90 Fix IDE setup crash: yaml module not found in production
_base-ide.js required the 'yaml' package (devDependency only) instead of
'js-yaml' (production dependency), causing all IDE integrations to fail
during npx install. Also cleans up legacy _wds-learn/ during migration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 19:30:02 +01:00
Mårten Angner 2df113cf5f Fix legacy migration not moving _wds/ to _bmad/wds/
wdsFolder was initialized from detection.folder ('_wds') but the
migrate-update branch never reassigned it to WDS_FOLDER ('_bmad/wds').
This caused the migration check (wdsFolder !== '_wds') to be false,
silently skipping the folder move.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 15:50:50 +01:00
Mårten Angner 5230b1249f Format tools/ with Prettier
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 15:25:58 +01:00
Mårten Angner 7c5d946175 Fix ESLint errors blocking npm publish
- Remove unused catch binding in _base-ide.js
- Use replaceAll() instead of replace() with regex
- Use String.raw for escape sequences in gemini.js and qwen.js
- Use node: protocol for child_process import

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 15:21:21 +01:00
Mårten Angner ce4453c950 Installer: ask update/migrate first, skip config questions on update
Restructure the prompt flow so the update/fresh/migrate decision comes
before config questions. On update, config.yaml is preserved so asking
project name, output folder, IDEs etc. is unnecessary. Extract ides and
root_folder from saved config for IDE setup and folder creation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:18:02 +01:00
Mårten Angner 8ba623f048 Update WDS installer to use _bmad/wds/ standard path
Change default installation path from _wds/ to _bmad/wds/ to follow
BMAD module conventions. Add detection logic for existing installations
and migration prompt for legacy _wds/ projects.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 09:16:54 +01:00
Mårten Angner a4ac572451 Replace Agent Dialog system with single Design Log
Remove Agent Dialog Gate from all 9 activity workflows and the main
workflow.md initialization. Replace with a single 00-design-log.md file
containing Backlog, Current, Design Loop Status, and Log sections.

- Rewrite workflow.md adaptive dashboard to read from design log only
- Create 00-design-log.template.md, delete old 00-progress.template.md
- Update installer.js: agent-experiences folder replaces agent-dialogs
- Rename 00-progress.md → 00-design-log.md across all phases (1-5)
- Update step files to use agent experiences instead of agent dialogs
- 30 files changed, net reduction of ~140 lines of ceremony

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 10:39:23 +01:00
Mårten Angner 9a093356c6 Rename learn-wds to learn, update for workshop refactor
- Rename docs/learn-wds/ to docs/learn/ and update all 17 references
- Module 02: Replace manual clone/mkdir/Mimir with npx installer + direct
  agent activation (Saga, Freya, Idunn — no Mimir)
- Module 08: Replace 9-section scenario template with Q1-Q8 dialog format
  matching the actual workflow (step-05-outline-scenario.md)
- Update scenario naming convention to persona-based (01-name-purpose)
- Update folder structure to NN.step-page-slug format

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 08:19:12 +01:00
Mårten Angner e10322932d Remove Mimir and Idunn references from installer/CLI
- ui.js: Remove Idunn from available agents list
- ide-configs.js: Remove Mimir and Idunn, update Saga/Freya phase descriptions
- _base-ide.js: Remove Idunn fallback metadata
- cline.js: Remove idunn.md from cleanup agent list

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:54:19 +01:00
Mårten Angner 5577f1fe06 Fix 9 workshop issues + audit cleanup across all workflows
Workshop fixes (issues #4-#12):
- Add output-discipline block to compiler activation (#12)
- Rename synthesize steps to create-document (#5)
- Add context carry-forward to prevent repetitive questions (#4)
- Add length constraints to scenario outlines (#10)
- Add completeness gate for dream mode trigger map (#6)
- Add data extraction + cross-validation to hub generation (#7)
- Extend dream-up architecture for Phase 3 scenarios (#8)
- Add dream/suggest mode-conditional rules to all 15 UX steps (#11)

Stale reference cleanup:
- Remove orphaned Mimir agent guides and presentations
- Update Mimir references to Saga in templates and step files
- Rename UX Scenario Architect to Facilitator across all scenario files
- Fix strategic-documentation.md step 12 heading

Workflow audit fixes:
- Fix broken explore section routing links in alignment workflow
- Fix FILE-INDEX.md wrong parent path in agentic-development
- Fix routing tables in design-system and product-evolution workflows
- Clarify dream mode routing notation in ux-design workflow
- Remove empty steps-d/ directory

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 21:27:51 +01:00
Mårten Angner 4596fad5d6 Add IDE handler system with slash command support
Implement BMad-style IDE handler architecture for WDS:
- Base class (_base-ide.js) with template method pattern
- Dynamic handler discovery via IdeManager
- Priority handlers: Windsurf, Cursor, Claude Code, Cline, GitHub Copilot
- Installer integration after agent compilation step
- Saga activation now branches on starting_point config (pitch vs brief)
- Remove parenthetical hint from learning material prompt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 19:53:39 +01:00
Mårten Angner b120dd9327 Add complete IDE list from BMad (18 total)
Added missing IDEs:
- Atlassian Rovo Dev
- Auggie CLI
- Codex
- Crush
- Gemini CLI
- Google Antigravity
- iFlow CLI
- Kilo Code
- Kiro CLI
- OpenCode
- Qwen Code
- Roo Code
- Trae

Complete list now matches BMad installer (20 options including VS Code and Other)
All sorted alphabetically for platform-agnostic presentation

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 12:42:28 +01:00
Mårten Angner 5ad7af3371 Make IDE selection platform-agnostic
- Removed all pre-selection (all unchecked by default)
- Removed star markers () - no preferences shown
- Sorted alphabetically for neutral presentation
- Users must actively choose their tools
- Validation still requires at least one selection

Platform-agnostic: WDS works equally well with any AI coding tool

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 12:41:14 +01:00
Mårten Angner 1fadda6eb5 Change IDE selection to multiselect checkbox
- Changed from single-select list to checkbox (multiselect)
- Added full IDE list from BMad: Windsurf, Cursor, Claude Code, GitHub Copilot, Cline, VS Code, Other
- Windsurf and Cursor marked as preferred (pre-checked)
- Validation requires at least one IDE selected
- Updated config.yaml to store ides array instead of single ide
- Updated success message to display multiple IDEs (e.g., "Windsurf or Cursor")
- Ensures WDS commands work cross-platform for all selected IDEs

User request: "Look at the BMad installer, there is a multiselect box for IDEs use the full list from the BMad installer"

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 12:09:08 +01:00
Mårten Angner 1ef7db0eec Add IDE selection and optional learning material
- Added IDE selection question (Windsurf, VS Code, Cursor, Other)
- Made learning material installation optional with confirm prompt
- Success message now shows selected IDE name
- Store IDE preference in config.yaml
- Installer now has 5 questions (up from 3)

User feedback: "IDE selection is crucial for the installer" and "ask if the learn section should be installed"

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 11:59:36 +01:00
Mårten Angner bbd6f4656a Fix folder structure: Remove D-UX-Design, move Design System to D
User feedback: UX design happens IN the scenarios (C), not as separate phase.

Old (incorrect):
- A-Product-Brief
- B-Trigger-Map
- C-UX-Scenarios
- D-UX-Design (redundant!)
- E-Design-System

New (correct):
- A-Product-Brief
- B-Trigger-Map
- C-UX-Scenarios (UX design is done here)
- D-Design-System

4 phases instead of 5 - cleaner and more accurate.
2026-02-24 11:40:30 +01:00
Mårten Angner eb879eb574 Reorder installer questions for better logic
Better flow: name → structure → workflow

Old order:
1. Project name
2. Pitch deck question (workflow)
3. Output folder (structure)

New order:
1. Project name
2. Output folder (structure)
3. Pitch deck question (workflow)

More intuitive: establish basics first, then choose workflow.
2026-02-24 11:39:08 +01:00
Mårten Angner 2f07264ee4 Further simplify installation instructions
More conversational and explicit:
- 'Get Started with Your Product Brief' (goal-oriented)
- 'Locate the chat window in your IDE' (explicit location)
- 'type:' instead of 'paste this command:' (simpler action)
- Command in quotes to make it clear it's text to type
- Better line breaks for readability
2026-02-24 11:36:00 +01:00
Mårten Angner c29cbb9216 Clarify installation success message for better UX
Old message was too technical and vague.

New message:
- Clear numbered steps (1-2-3)
- Specific: 'Open this folder in Windsurf or VS Code'
- Exact command to paste (not just 'tell the AI')
- Clear outcome: 'Saga will greet you by name'
- Cleaner layout with separator

Addresses workshop feedback about confusing instructions.
2026-02-24 11:33:27 +01:00
Mårten Angner ef3d523875 Remove placeholder template files from installer
Workshop feedback: 00-*.md files were confusing and ignored by users.

Changes:
- Remove createFolderGuides() and createProjectInfoFile() methods
- Folders still created but empty (only .gitkeep)
- Agents will create files dynamically during workflows
- Cleaner, less confusing user experience
2026-02-24 11:29:47 +01:00
Mårten Angner 5bdb03572b Clarify installer question: pitch deck vs Product Brief
- Change vague 'Where are you starting?' to clear yes/no question
- Fix typos: 'pich' → 'pitch', 'prief' → 'brief'
- Clearer choice labels for better UX
2026-02-24 11:27:56 +01:00
Mårten Angner 24e47375d5 Add output folder customization to installer
- Add 3rd question: Output folder name (default: design-process)
- Users can customize to docs/, deliverables/, etc.
- Update config.yaml to use dynamic root_folder
- Update template placeholders to use config.root_folder

Balances simplification (3 questions vs 7+) with useful customization.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 10:48:56 +01:00
Mårten Angner 5c6449d001 Simplify installer to 2 questions and update folder structure
- Reduce installer to minimal config: project_name + starting_point
- Remove design_experience, project_type, IDE selection questions
- Standardize on design-process/ output folder
- Update folder structure: A-E (remove F-G phases)
- Change D-Design-System → E-Design-System
- Add _progress/agent-dialogs/ folder
- Update success message to point to Saga (not Mimir)
- Auto-include learning material (no prompt)
- Get user_name from git config
- Remove IDE setup step

Workshop finding: 0/4 participants completed workflows with complex installer.
Simplification improves first-time user experience.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 10:42:13 +01:00
Mårten Angner 0cb415afbf Add root folder selection to installer
- Users can now choose between design-process/, docs/, or deliverables/
- Removes folder auto-detection logic that caused duplicate folders
- Installer creates folders at user's chosen location
- Prevents conflict with project setup workflow

Fixes issue where both design-process/ and docs/ were created.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 13:15:36 +01:00
Mårten Angner efaa9e1d95 Fix installer crash: pass config to createDocsFolders
createFolderGuides() needs config parameter for template replacements.
This was causing "config is not defined" error during installation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 11:22:15 +01:00
Mårten Angner e232a783cb Fix installer for workshop: folder detection, 00 files, never overwrite
Critical fixes before workshop:
- Detect existing deliverables folders (design-process, docs, deliverables, wds-deliverables)
- Update config.yaml with detected output_folder
- Implement createFolderGuides() to copy all 00 template files
- Create 00-project-info.md as project settings home
- Never overwrite existing user files

Files modified:
- tools/cli/lib/installer.js - folder detection, createFolderGuides(), config update
- INSTALLER-FIXES-2026-02-23.md - complete documentation of all fixes
- src/workflows/1-project-brief/templates/00-project-info.template.md - new template

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-23 08:16:23 +01:00
Mårten Angner 629de0849e Fix lint and formatting issues for v0.2.0 release
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 14:18:53 +01:00
Mårten Angner cd46fcccdc Sync src/ with expansion repo v0.2.0
Replace entire src/ content with bmad-method-wds-expansion source:
- Restructured workflows (BMad-compliant phases 0-8)
- Updated agent YAMLs with correct workflow paths
- Templates moved into workflow folders (no more top-level templates/)
- Added skills/ directory (agent activation files)
- Added module-help.csv (workflow registry)
- Removed legacy dirs: _module-installer/, core/, modules/

Installer updates:
- Copy skills/ instead of templates/
- Copy module-help.csv alongside module.yaml
- Updated doc folder structure to match expansion
- Compiler handles _bmad/wds/ path rewriting for standalone

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 13:41:15 +01:00
Mårten Angner 1453c050ac Installer updates 2026-01-29 16:38:17 +01:00
Mårten Angner b4cbe6a30d Installer 2026-01-29 15:34:21 +01:00
Mårten Angner 9cd83242fa Updating to match the official BMad repo 2026-01-23 13:10:39 +01:00
Q00 d19cca79d2
fix: resolve ERR_REQUIRE_ESM by using dynamic import for inquirer (#1278)
Inquirer v9+ is ESM-only, causing ERR_REQUIRE_ESM when loaded via
require() in CommonJS. Convert all require('inquirer') calls to
dynamic import('inquirer') across 8 CLI files.

Fixes #1197
2026-01-08 15:42:22 +08:00
Brian Madison aba9d11c88 quick flow updates to aid discovery and implementation 2025-12-27 10:40:23 +08:00
Brian Madison 7b5b7afdc0 update package.json to resolve windows installer issue with inquirer version 2025-12-26 18:05:59 +08:00
Brian Madison 1f16bb7413 agent renormalized, and all now have chat and party mode auto injectioned 2025-12-26 12:00:37 +08:00
Alex Verkhovsky 19df17b261
feat: add documentation website with Docusaurus build pipeline (#1177)
* feat: add documentation website with Docusaurus build pipeline

* feat(docs): add AI discovery meta tags for llms.txt files

- Add global headTags with ai-terms, llms, llms-full meta tags
- Update landing page link to clarify AI context purpose

* fix(docs): restore accidentally deleted faq.md and glossary.md

Files were removed in 12dd97fe during path restructuring.

* fix(docs): update broken project-readme links to GitHub URL

* feat(schema): add compound trigger format validation
2025-12-23 23:01:36 +08:00
Brian Madison 4195eb3b30 installation intro and outtro custom messages, configurable in install-messages.yaml 2025-12-23 21:43:29 +08:00
Brian Madison 45ff3840a8 2 version auto upgrade only 2025-12-23 20:05:17 +08:00
Brian Madison 021936eaa9 update inquirer to v9.x for better windows support 2025-12-22 18:18:16 +08:00
Brian Madison da21790531 quickinstall duplicate success message removed 2025-12-22 14:17:32 +08:00
Brian Madison 34cfdddd3a refac tools part 1 2025-12-22 13:12:25 +08:00
Brian Madison 1e721f7fd0 consolidate and remove some duplication 2025-12-22 10:13:56 +08:00
Brian Madison 9c268f8190 remove asterix insertion into agent files 2025-12-22 08:18:53 +08:00
Brian Madison f36369512b fixed issue with agent customization application, now all fields are customized form the custom yaml. also added a recompile agents menu item 2025-12-17 17:58:37 +08:00
Brian Madison e37edf098c modify install now supports adding custom modules even if there were no custom modules originally 2025-12-16 20:45:27 +08:00
Brian Madison 83b0df0f21 .17 changelog and link to changelog in installer output 2025-12-16 18:23:15 +08:00
Brian Madison 32615afaf9 memory location is non configurable _bmad/_memory for sidecar content 2025-12-16 15:43:38 +08:00
Brian Madison 59e4cc7b82 minor code cleanup 2025-12-16 13:09:20 +08:00
Brian Madison c24821b6ed menu wording updates 2025-12-16 01:25:49 +08:00