Commit Graph

21 Commits

Author SHA1 Message Date
Mårten Angner 4774ee20e9 Remove VTC concept entirely — use Trigger Map directly
The VTC (Value Trigger Chain) was a separate concept that extracted
specific nodes from the Trigger Map into a YAML file. This caused
agents to run trigger mapping during Phase 1 (Product Brief), forcing
users to repeat the work in Phase 2. Observed in Monday workshop.

Architectural fix:
- Phase 1 is casual business discovery, NOT trigger mapping
- Phase 2 is where the Trigger Map gets built (unchanged)
- When scenarios/content need strategic context, they reference
  the Trigger Map directly — no separate VTC concept needed

Removed (19 files deleted):
- 1-project-brief/vtc-workshop/ (14 step files + workflow)
- step-04-create-vtc.md and step-11a-create-vtc.md from Phase 1
- step-03c-create-vtc.md from Phase 0 alignment
- vtc-template.yaml

Renamed:
- step-03-build-vtcs.md → step-03-build-strategic-context.md
- step-02-vtc-consistency.md → step-02-trigger-map-consistency.md
- step-01-load-vtc-context.md → step-01-load-trigger-map-context.md
- 07-create-vtc.md → 07-reference-trigger-map.md

Rewritten:
- Phase 4 scenario init: "create VTC" → lightweight "pick from Trigger Map"
- Phase 6 content: load context from Trigger Map, not from VTC
- Templates: "Trigger Map" section → "Business Context" (Phase 1 scope)

Zero VTC references remain in src/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 19:15:32 +01:00
Mårten Angner b2508adfbd Add component extraction trigger on 2nd page and audit duplicate detection
- Suggest workflow: Component Extraction Check prompts user to extract
  shared elements when starting the 2nd+ page in a scenario
- Dream workflow: Auto-extracts shared components and reports in summary
- Spec audit Level 3: Cross-Page Duplicate Detection compares sections
  across all pages, flags exact/near duplicates with severity levels
- Fix Freya role name (Scenario Architect → Facilitator)
- Remove duplicate trigger-map reference in Eira guide

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 17:15:26 +01:00
Mårten Angner 437c10cc2f Replace VTC terminology with Trigger Map/strategic context across all workflows
Systematic cleanup of Value Trigger Chain (VTC) references in 60 files across
all phases. VTC is replaced with context-appropriate terms:
- "Trigger Map" when referencing the Phase 2 artifact
- "Strategic context" when referencing the extracted business/persona/forces data
- "Value Proposition" for customer-facing value descriptions

Remaining VTC references are only in VTC Workshop definition files (vtc-workshop/,
create-vtc steps) which will be addressed when those workflows are redesigned.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 17:01:27 +01:00
Mårten Angner c5a53aad64 Optimize Freya menu, fix conceptualize workflow from real usage
- Freya menu: simpler descriptions, logical grouping (SC/UX/SP/SA/GA/DS/DD)
- Freya menu: remove AD and ST, add SC (Scenarios) and SP (Specifications)
- Fix VTC reference in freya agent and workflow-conceptualize
- Conceptualize: save findings to page spec, not separate notes file
- Conceptualize: offer Excalidraw sketching, user sketch first
- Conceptualize: require reading existing specs before drawing
- Conceptualize: no annotations on wireframes rule
- Add Excalidraw tool guide and update tools guide

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 13:33:51 +01:00
Mårten Angner 9b349ab8af Add outline-design loop after page completion in Phase 4
After designing a page, the agent asks what's next: outline and design
the next page in the scenario [N], return to dashboard [R], or validate
[V]. Choosing [N] runs Phase 3's page outline dialog (purpose + exit
action) then designs the page, creating a continuous loop.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:13:26 +01:00
Mårten Angner 739c3c5f80 Replace page scaffolding with interaction-driven page outline dialog
[O] Outline now walks through pages as a conversation: for each page,
ask what the user accomplishes and what interaction moves them forward.
Interactions that leave the page create new steps; interactions that
stay on the page become storyboard items within the page spec.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:09:01 +01:00
Mårten Angner 13912c8ec1 Rename scaffold to outline, allow incremental page outlining
[S] → [O] Outline scenario pages. User can cycle through pages
one at a time and stop whenever they want, rather than creating
all at once.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:03:00 +01:00
Mårten Angner cb78339513 Make page folder creation a user choice after scenario outline
Instead of always creating all page folders, the post-scenario menu
now offers: [N] next scenario, [S] scaffold all page folders,
[D] create first page and design, [C] generate overview. Page folder
structure uses NN.step-slug naming with Sketches/ subfolder.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:00:02 +01:00
Mårten Angner c107183ae7 Add Phase 3 scenario gate to Suggest and Dream workflows
Phase 4 now checks for existing Phase 3 scenarios before page design.
If no scenario exists, redirects user to Phase 3's 8-question dialog
instead of attempting a lighter inline version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 10:24:21 +01:00
Mårten Angner 356b1feae7 Add choice after each scenario: next scenario, design, or overview
After completing a scenario, the user can now choose to:
- [N] Define the next scenario
- [D] Jump to Phase 4 and start designing the first page
- [C] Generate the overview (when all scenarios done)

This lets users design one scenario before defining the rest,
creating a more natural workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 09:54:31 +01:00
Mårten Angner 5e6dd2c973 Replace 7-component template with 8-question scenario dialog
Restructure Phase 3 scenario creation around a natural conversation
flow instead of a template checklist:

- 8 strategic questions asked in logical order: transaction → business
  goal → user & situation → driving forces → device → starting point
  → best outcome → shortest path
- Two modes: conversation (agent asks, user answers) and suggest
  (agent answers from Trigger Map, user reviews)
- Broader transaction definition: includes content browsing and
  research, not just purchases/bookings
- Agent creates first page specification after Q8, giving Phase 4
  a concrete starting point
- Template reordered to match Q1-Q8 dialog flow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 09:31:09 +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 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 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 ae937d4aad Add strategic analysis level to Phase 0 configuration
- New option: Full Trigger Map vs Simplified VTC vs Skip
- Synced from bmad-method-wds-expansion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 07:48:39 +01:00
Mårten Angner 8f52d40da5 Add Phase 0: Project Setup workflow
- New entry point that asks Greenfield vs Brownfield upfront
- Prevents users from going through Phase 1-3 with existing codebases
- Adds project configuration questions
- Updates routing to direct brownfield projects to Phase 8

Synced from bmad-method-wds-expansion.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 07:42:51 +01:00
Mårten Angner afdfcd0f1c Sync optimized workflows from expansion repo
All step files now comply with BMAD v6 (<200 lines, 250 max):

Optimized phases:
- Phase 1: step-11-tone-of-voice (233→162 lines)
- Phase 2: step-02-generate-business-goals (231→86 lines)
- Phase 4: page workshops (578→135, 406→169, 355→197 lines)
- Phase 6: handoff dialogs (441→107, 327→130, 414→137 lines)
- Phase 7: testing steps (683→158, 517→112, 441→101, etc.)
- Phase 8: ongoing development (498→164, 381→131, etc.)
- Shared: vtc customer-awareness (256→193 lines)

Created 18 substep files for templates and examples.
Total: 59 files changed, 5605 insertions, 8885 deletions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 22:30:50 +01:00
Mårten Angner 57d091e368 Installer updates 2026-01-29 15:36:22 +01:00
Mårten Angner b4cbe6a30d Installer 2026-01-29 15:34:21 +01:00
Mårten Angner 044c83eeda Update to latest version 2026-01-29 08:11:32 +01:00
Mårten Angner 9cd83242fa Updating to match the official BMad repo 2026-01-23 13:10:39 +01:00