Commit Graph

22 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 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 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 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 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 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