siesa-agents 2.1.90 → 2.1.91

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 (66) hide show
  1. package/claude/skills/sa-wds-visual-proposals/SKILL.md +6 -0
  2. package/package.json +1 -1
  3. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/data/component-mapping.csv +47 -0
  4. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-01-init.md +148 -0
  5. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-01b-continue.md +79 -0
  6. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-02-bridge.md +114 -0
  7. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-02b-kit-warmup.md +96 -0
  8. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-03-scenarios.md +102 -0
  9. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-04-specs.md +97 -0
  10. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-05-prototype.md +102 -0
  11. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-06-handoff.md +96 -0
  12. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/templates/product-brief-bridge.md +68 -0
  13. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/templates/proposal-index.md +46 -0
  14. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/templates/trigger-map-bridge.md +54 -0
  15. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/workflow.md +82 -0
  16. package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/workflow_ext.md +195 -0
  17. package/siesa-agents/wds/config.yaml +20 -0
  18. package/siesa-agents/wds/data/agent-contracts.md +72 -0
  19. package/siesa-agents/wds/data/agent-guides/freya/agentic-development.md +223 -0
  20. package/siesa-agents/wds/data/agent-guides/freya/content-creation.md +270 -0
  21. package/siesa-agents/wds/data/agent-guides/freya/design-system.md +333 -0
  22. package/siesa-agents/wds/data/agent-guides/freya/meta-content-guide.md +495 -0
  23. package/siesa-agents/wds/data/agent-guides/freya/specification-quality.md +262 -0
  24. package/siesa-agents/wds/data/agent-guides/freya/strategic-design.md +116 -0
  25. package/siesa-agents/wds/data/agent-guides/saga/content-structure-principles.md +190 -0
  26. package/siesa-agents/wds/data/agent-guides/saga/conversational-followups.md +372 -0
  27. package/siesa-agents/wds/data/agent-guides/saga/discovery-conversation.md +265 -0
  28. package/siesa-agents/wds/data/agent-guides/saga/dream-up-approach.md +1034 -0
  29. package/siesa-agents/wds/data/agent-guides/saga/inspiration-analysis.md +215 -0
  30. package/siesa-agents/wds/data/agent-guides/saga/resources/project-brief.template.md +187 -0
  31. package/siesa-agents/wds/data/agent-guides/saga/seo-strategy-guide.md +391 -0
  32. package/siesa-agents/wds/data/agent-guides/saga/strategic-documentation.md +454 -0
  33. package/siesa-agents/wds/data/agent-guides/saga/trigger-mapping.md +653 -0
  34. package/siesa-agents/wds/data/agent-guides/saga/working-with-existing-materials.md +172 -0
  35. package/siesa-agents/wds/data/design-system/component-boundaries.md +318 -0
  36. package/siesa-agents/wds/data/design-system/figma-component-structure.md +697 -0
  37. package/siesa-agents/wds/data/design-system/naming-conventions.md +200 -0
  38. package/siesa-agents/wds/data/design-system/state-management.md +93 -0
  39. package/siesa-agents/wds/data/design-system/token-architecture.md +474 -0
  40. package/siesa-agents/wds/data/design-system/validation-patterns.md +74 -0
  41. package/siesa-agents/wds/data/presentations/freya-how-i-help.md +63 -0
  42. package/siesa-agents/wds/data/presentations/freya-intro.md +269 -0
  43. package/siesa-agents/wds/data/presentations/freya-presentation.md +77 -0
  44. package/siesa-agents/wds/data/presentations/freya-workflows-guide.md +51 -0
  45. package/siesa-agents/wds/data/presentations/mimir-agents-overview.md +66 -0
  46. package/siesa-agents/wds/data/presentations/mimir-tone-setting.md +48 -0
  47. package/siesa-agents/wds/data/presentations/saga-how-i-help.md +62 -0
  48. package/siesa-agents/wds/data/presentations/saga-intro.md +285 -0
  49. package/siesa-agents/wds/data/presentations/saga-presentation.md +74 -0
  50. package/siesa-agents/wds/data/presentations/saga-workflows-guide.md +48 -0
  51. package/siesa-agents/wds/data/shared-activation.md +49 -0
  52. package/siesa-agents/wds/data/wds-glossary.md +98 -0
  53. package/siesa-agents/wds/module-help.csv +19 -0
  54. package/siesa-agents/wds/scripts/README.md +155 -0
  55. package/siesa-agents/wds/scripts/wds-add-object.js +207 -0
  56. package/siesa-agents/wds/scripts/wds-add-spacing.js +158 -0
  57. package/siesa-agents/wds/scripts/wds-init-page.js +234 -0
  58. package/siesa-agents/wds/scripts/wds-init-scenario.js +125 -0
  59. package/siesa-agents/wds/scripts/wds-nav.js +206 -0
  60. package/siesa-agents/wds/scripts/wds-validate.js +306 -0
  61. package/siesa-agents/wds/skills/freya.activation.md +204 -0
  62. package/siesa-agents/wds/skills/handoff.md +91 -0
  63. package/siesa-agents/wds/skills/saga.activation.md +169 -0
  64. package/siesa-agents/wds/skills/shared/git.md +55 -0
  65. package/siesa-agents/wds/skills/start.md +99 -0
  66. package/siesa-agents/wds/skills/wrap.md +198 -0
@@ -0,0 +1,1034 @@
1
+ # Saga's Dream Up Approach Guide
2
+
3
+ **When to load:** When user requests artifact generation (Trigger Map, Product Brief companions)
4
+
5
+ **Agent:** Saga the Analyst
6
+ **Purpose:** Execute Dream Up modes (Suggest/Dream) for Phase 1-2 artifact generation
7
+
8
+ ---
9
+
10
+ ## Core Architecture: 5 Layers
11
+
12
+ ```
13
+ Layer 1: Learn WDS Form (Static - loaded once)
14
+ How to structure, what makes quality
15
+
16
+ Layer 2: Project Context (Cumulative - grows with each step)
17
+ Product Brief → +Business Goals → +Target Groups → +Driving Forces
18
+
19
+ Layer 3: Domain Research (Ongoing - per step as needed)
20
+ Industry insights, competitor analysis, user behavior
21
+
22
+ Layer 4: Generate Next Artifact
23
+ Apply Form + Use All Prior Context + Enhanced by Research
24
+
25
+ Layer 5: Self-Review Against Standards
26
+ Check quality, identify gaps, refine
27
+
28
+ Add artifact to Layer 2 → Repeat for next step
29
+ ```
30
+
31
+ **Key Principle:** Each step builds on all previous artifacts. Layer 2 grows as progress is made.
32
+
33
+ ---
34
+
35
+ ## When to Offer Dream Up Modes
36
+
37
+ ### Offer When:
38
+ ✅ User requests artifact generation (Trigger Map, Product Brief companions)
39
+ ✅ Product Brief exists from Phase 1 (provides substance)
40
+ ✅ Quality rubric exists for the artifact type
41
+ ✅ Task is structured generation (not pure discovery)
42
+
43
+ ### Don't Offer When:
44
+ ❌ Pure discovery conversation (no artifact to generate)
45
+ ❌ No Product Brief exists yet (no substance to work with)
46
+ ❌ User explicitly wants dialog/workshop approach
47
+ ❌ No quality rubric available yet
48
+
49
+ ---
50
+
51
+ ## Mode Selection Dialog
52
+
53
+ **Present this choice at workflow start:**
54
+
55
+ ```
56
+ **Which engagement mode would you like?**
57
+
58
+ **Workshop Mode** (Agent facilitates workshop, 60-90 min)
59
+ - I'll facilitate a workshop to draw out your best ideas through strategic questions
60
+ - Man-in-the-loop: You're actively involved, I guide the discovery
61
+ - Best for: Discovery, strategic decisions, first time, want to go deep
62
+
63
+ **Suggest Mode** (Driven by agent, 30-45 min)
64
+ - I'll generate based on WDS methodology + your Product Brief + domain research
65
+ - You review each step and guide refinements
66
+ - You'll see my learning, research, and self-review process
67
+ - Best for: Product Brief exists, want to see my thinking, learn through observation
68
+
69
+ **Dream Mode** (Fully autonomous, 15-20 min)
70
+ - I'll generate autonomously with visible self-dialog
71
+ - You can observe and interrupt anytime, or just review the result
72
+ - Best for: Trust the methodology, established patterns, time-efficient
73
+
74
+ Choose: [W] Workshop | [S] Suggest | [D] Dream
75
+ ```
76
+
77
+ **If user unsure, recommend based on:**
78
+ - Product Brief quality (rich → Suggest/Dream, sparse → Workshop)
79
+ - User skill level (beginner → Workshop, comfortable → Suggest/Dream)
80
+ - Time constraints (limited time → Dream)
81
+ - Novelty (new domain → Workshop, familiar → Suggest/Dream)
82
+
83
+ ---
84
+
85
+ ## Layer 1: Learn WDS Form (Static)
86
+
87
+ **Purpose:** Agent becomes WDS methodology expert before generating.
88
+
89
+ ### For Phase 2 (Trigger Mapping)
90
+
91
+ **Load these WDS learning materials:**
92
+ ```
93
+ docs/method/phase-wds-2-trigger-mapping-guide.md
94
+ docs/quick-start/0wds-2-trigger-mapping.md
95
+ src/data/agent-guides/saga/trigger-mapping.md
96
+ docs/models/impact-effect-mapping.md
97
+ docs/method/dream-up-rubric-phase-2.md
98
+ ```
99
+
100
+ **Learn and internalize:**
101
+
102
+ #### Structure Requirements
103
+ - Business Goals Layer (vision + SMART objectives)
104
+ - Product/Solution Hub
105
+ - Target Groups (3-4 max, prioritized)
106
+ - Detailed Personas (alliterative names, psychological depth)
107
+ - Usage Goals (positive + negative drivers, 3-5 each per persona)
108
+ - Prioritization (goals → groups → drivers ranked)
109
+ - Optional: Feature Impact Analysis, Visual Diagram
110
+
111
+ #### Quality Criteria (7 standards)
112
+ 1. **Strategic Depth** - Reveal specific psychology, not surface observations
113
+ 2. **Usage Context Clarity** - Usage goals, not life goals
114
+ 3. **Persona Depth** - Psychological, not demographic
115
+ 4. **Negative Drivers Present** - Equal weight to fears/frustrations
116
+ 5. **Focused Scope** - 3-4 groups max, not diluted
117
+ 6. **Actionable Specificity** - Concrete, not vague
118
+ 7. **Business Goal Connection** - Every user serves a goal
119
+
120
+ #### Common Mistakes to Avoid
121
+ - ❌ Solutions on the map (keep psychology, not features)
122
+ - ❌ Generic/obvious forces (be specific to context)
123
+ - ❌ Demographic personas (focus on psychology)
124
+ - ❌ Inconsistent priority (make hard choices)
125
+
126
+ #### Best Practices
127
+ - ✅ Alliterative persona names (memorable, hints at role)
128
+ - ✅ Equal weight to negative drivers (loss aversion is powerful)
129
+ - ✅ Context declaration (explicit usage context)
130
+ - ✅ Visual connection diagram (shows logic flow)
131
+
132
+ **Document in design log:**
133
+
134
+ ```markdown
135
+ ## Layer 1: WDS Form Learned
136
+
137
+ ### Methodology Loaded
138
+ - Phase 2 Trigger Mapping Guide
139
+ - Quality Rubric with 7 criteria
140
+ - Impact/Effect Mapping model
141
+
142
+ ### Structure Internalized
143
+ - 4 core layers: Goals → Product → Groups → Drivers
144
+ - Prioritization required at each level
145
+ - Personas with psychological depth, not demographics
146
+
147
+ ### Quality Standards
148
+ - Minimum threshold: 7/9 complete, 5/7 quality, 4/4 mistakes avoided
149
+ - Excellence threshold: 9/9 complete, 7/7 quality, 4/4 practices followed
150
+
151
+ ### Ready to apply WDS form to this project's substance.
152
+ ```
153
+
154
+ ---
155
+
156
+ ### For Phase 3 (Scenarios)
157
+
158
+ **Load these WDS learning materials:**
159
+ ```
160
+ src/workflows/wds-3-scenarios/data/quality-checklist.md
161
+ src/workflows/wds-3-scenarios/data/scenario-outline-template.md
162
+ src/workflows/wds-3-scenarios/data/validation-standards.md
163
+ ```
164
+
165
+ **Learn and internalize:**
166
+
167
+ #### Structure Requirements
168
+ - Scenario has 7 required components (Name, Core Feature, Entry Point, Mental State, Success Goals, Shortest Path, Trigger Map Connections)
169
+ - Entry points must be realistic (device + context + discovery) — max 2 sentences
170
+ - Mental states must be visceral (Trigger/Hope/Worry) — one sentence each
171
+ - Paths must be linear (zero branches, minimum viable steps)
172
+ - Success goals must be mutual (user + business, both measurable)
173
+
174
+ #### Quality Criteria (from quality-checklist.md)
175
+ 1. **Persona Alignment** — Serves specific Trigger Map persona
176
+ 2. **Mental State Richness** — Visceral, not generic
177
+ 3. **Mutual Success Clarity** — Both specific and measurable
178
+ 4. **Sunshine Path Focus** — Completely linear
179
+ 5. **Minimum Viable Steps** — Each justifies existence
180
+ 6. **Entry Point Realism** — Real-world behavior
181
+ 7. **Business Goal Connection** — Traces to Trigger Map
182
+
183
+ #### Common Mistakes to Avoid
184
+ - Edge cases in sunshine path (zero "if" statements)
185
+ - Feature-first naming (use persona + purpose)
186
+ - Missing mental state components
187
+ - Vague page descriptions
188
+ - Generic persona ("user" instead of named persona)
189
+ - Missing business value
190
+ - Bloated descriptions (max 2 sentences per entry point, 1 sentence per mental state component)
191
+
192
+ ---
193
+
194
+ ## Layer 2: Project Context (Cumulative)
195
+
196
+ **Purpose:** Extract substance from prior artifacts. Layer 2 GROWS with each step.
197
+
198
+ ### Initial Load: Product Brief (Start of Phase 2)
199
+
200
+ **Read these files:**
201
+ ```
202
+ {output_folder}/A-Product-Brief/product-brief.md
203
+ {output_folder}/A-Product-Brief/content-language.md
204
+ {output_folder}/A-Product-Brief/platform-requirements.md
205
+ {output_folder}/A-Product-Brief/visual-direction.md
206
+ ```
207
+
208
+ **Extract and summarize:**
209
+
210
+ #### Business Context
211
+ - Business name, location, industry, services
212
+ - Market position, reputation, years in business
213
+ - Current challenges (what problem does product solve)
214
+ - Success criteria (what winning looks like)
215
+
216
+ #### User Archetypes (from Product Brief)
217
+ - Each archetype name and description
218
+ - Their context (when do they use product)
219
+ - Their needs/goals (high-level)
220
+ - Their challenges (frustrations)
221
+
222
+ **Note:** These archetypes will be deepened into personas with driving forces in Phase 2.
223
+
224
+ #### Constraints
225
+ - Technical: Platform, tech stack, integrations
226
+ - Business: Budget, timeline, resources, maintenance level
227
+ - Scope: What's in/out
228
+ - Brand: Tone, personality, visual direction, keywords
229
+
230
+ #### Strategic Direction
231
+ - Business goals mentioned in brief
232
+ - Target audience priorities
233
+ - SEO keywords (if relevant)
234
+ - Future plans
235
+
236
+ **Document in design log:**
237
+
238
+ ```markdown
239
+ ## Layer 2: Project Context (Initial Load)
240
+
241
+ ### From Product Brief
242
+ **Business:** Källa Fordonservice AB, car mechanic on northern Öland, 20+ years, 4.8/5 rating
243
+ **Challenge:** Repetitive phone calls about basic info, no website presence
244
+ **Goal:** Reduce admin burden while maintaining findability
245
+
246
+ ### User Archetypes (to deepen)
247
+ 1. **Tomas the Tourist** - Summer visitor, car trouble, stressed, needs immediate help
248
+ 2. **Lennart the Local** - Year-round resident, loyal customer, checks hours
249
+ 3. **Farmer Fredrik** - Agricultural equipment, understands wait times
250
+ 4. **Motorhome Maria** - RV passing through, specialized expertise needed
251
+
252
+ ### Constraints
253
+ - Technical: WordPress + Tailwind, mobile-first, low maintenance
254
+ - Business: Björn at capacity, phone-first contact strategy
255
+ - Brand: Professional but unpretentious, warm and practical tone
256
+
257
+ ### Strategic Direction
258
+ - Primary: Reduce repetitive info calls
259
+ - Secondary: Rank for "bilverkstad Öland" keywords
260
+ - Future: AI phone assistant integration
261
+ ```
262
+
263
+ ### Cumulative Growth: Add After Each Step
264
+
265
+ **After Business Goals created:**
266
+ ```markdown
267
+ ### Business Goals (Added to Layer 2)
268
+ **Vision:** [Inspirational direction]
269
+ **SMART Objectives:**
270
+ 1. [Measurable target]
271
+ 2. [Measurable target]
272
+ 3. [Measurable target]
273
+
274
+ **Priorities:** [Ranked]
275
+ ```
276
+
277
+ **After Target Groups created:**
278
+ ```markdown
279
+ ### Target Groups (Added to Layer 2)
280
+ **Primary 👥:** [Group name] - [Why they matter to Goal 1]
281
+ **Secondary 👤:** [Group name] - [Why they matter]
282
+ **Tertiary:** [Group name] - [Why they matter]
283
+
284
+ [Full persona profiles with psychological depth]
285
+ ```
286
+
287
+ **After Driving Forces created:**
288
+ ```markdown
289
+ ### Driving Forces (Added to Layer 2)
290
+ **Per Persona:**
291
+ - Positive Drivers (✅): [List]
292
+ - Negative Drivers (❌): [List]
293
+
294
+ [Specific, contextual, actionable]
295
+ ```
296
+
297
+ **After Prioritization created:**
298
+ ```markdown
299
+ ### Prioritization (Added to Layer 2)
300
+ - Goals ranked: [Order]
301
+ - Groups ranked: [Order]
302
+ - Drivers ranked per persona: [Top 3 each]
303
+
304
+ **Strategic Focus:** [Summary of what matters most]
305
+ ```
306
+
307
+ **Key Principle:** Each subsequent generation step uses ALL prior artifacts from Layer 2.
308
+
309
+ ### For Phase 3: Cumulative Context Growth
310
+
311
+ **Initial Load (start of Phase 3):**
312
+ - Product Brief (all 4 documents from Phase 1)
313
+ - Trigger Map (all documents from Phase 2)
314
+ - Strategic context (business goal, persona, driving forces)
315
+
316
+ **After each scenario outlined:**
317
+ ```markdown
318
+ ### Scenario [NN] (Added to Layer 2)
319
+ **Persona:** [Name]
320
+ **Pages covered:** [List]
321
+ **Driving forces addressed:** [Which ones from Trigger Map]
322
+ **Remaining unaddressed forces:** [What still needs scenarios]
323
+ ```
324
+
325
+ **Key Rule:** Each subsequent scenario should address DIFFERENT driving forces. Check Layer 2 to avoid duplicating coverage.
326
+
327
+ ---
328
+
329
+ ## Layer 3: Domain Research (Ongoing)
330
+
331
+ **Purpose:** Agent acts as domain expert through research. Enhances Product Brief with industry insights.
332
+
333
+ ### Research Per Step
334
+
335
+ **For Business Goals:**
336
+ - WebSearch: "[Industry] business goals best practices"
337
+ - WebSearch: "[Business type] success metrics"
338
+ - Look for: Common SMART objectives in this industry
339
+
340
+ **For Target Groups:**
341
+ - WebSearch: "[Business type] customer types"
342
+ - WebSearch: "[Location/context] user behavior"
343
+ - Look for: Who actually uses these services and why
344
+
345
+ **Example for Källa (Car Mechanic on Öland):**
346
+ ```
347
+ WebSearch: "car mechanic rural tourist area customer types"
348
+ WebSearch: "northern Öland tourism caravan RV statistics"
349
+ WebSearch: "seasonal mechanic business challenges Sweden"
350
+ ```
351
+
352
+ **For Driving Forces:**
353
+ - WebSearch: "[User type] pain points frustrations"
354
+ - WebSearch: "[Service] user reviews complaints"
355
+ - Look for: Real user voices, forums, review sites
356
+
357
+ **Example for Tourist persona:**
358
+ ```
359
+ WebSearch: "car breakdown vacation stress what customers want"
360
+ WebSearch: "tourist mechanic trust safety concerns"
361
+ Forums: Reddit r/travel, car forums about breakdowns while traveling
362
+ ```
363
+
364
+ **For Prioritization:**
365
+ - WebSearch: "[Business type] what matters most to customers"
366
+ - WebSearch: "[Industry] feature prioritization"
367
+ - Competitor analysis: What do similar businesses emphasize?
368
+
369
+ ### Research Documentation
370
+
371
+ ```markdown
372
+ ## Layer 3: Domain Research
373
+
374
+ ### Step: [Current step name]
375
+
376
+ **Research Conducted:**
377
+ 1. WebSearch: "[Query]"
378
+ - Finding: [Key insight]
379
+ - Relevance: [How this informs generation]
380
+
381
+ 2. WebSearch: "[Query]"
382
+ - Finding: [Key insight]
383
+ - Relevance: [How this informs generation]
384
+
385
+ **Key Insights:**
386
+ - [Domain-specific pattern discovered]
387
+ - [Industry standard identified]
388
+ - [User behavior validated]
389
+
390
+ **Informing Generation:**
391
+ [How research will be applied to this step]
392
+ ```
393
+
394
+ ### For Phase 3 (Scenarios)
395
+
396
+ **For Entry Points:**
397
+ - WebSearch: "[user type] how they find [service type]"
398
+ - WebSearch: "[device type] user behavior [context]"
399
+ - Look for: Real search terms, realistic discovery paths, device usage statistics
400
+
401
+ **For Mental States:**
402
+ - WebSearch: "[situation] user emotions anxiety"
403
+ - WebSearch: "[service] customer reviews pain points"
404
+ - Look for: Actual user language from reviews and forums — visceral, specific feelings
405
+
406
+ **For Shortest Paths:**
407
+ - WebSearch: "[similar service] website user flow best practices"
408
+ - WebSearch: "[industry] conversion funnel steps"
409
+ - Look for: Industry-standard page flows, minimum viable steps for this type of service
410
+
411
+ ---
412
+
413
+ ## Layer 4: Generate Artifact
414
+
415
+ **Purpose:** Create output by applying WDS Form (Layer 1) + Project Context (Layer 2) + Domain Research (Layer 3).
416
+
417
+ ### Generation Process
418
+
419
+ **Synthesis Statement (before generating):**
420
+
421
+ ```markdown
422
+ ## Generation Plan: [Artifact name]
423
+
424
+ **Applying:**
425
+ - WDS Form: [Structure from Layer 1]
426
+ - Project Context: [All prior artifacts from Layer 2]
427
+ - Domain Research: [Insights from Layer 3]
428
+
429
+ **Expected Output:**
430
+ [What will be created, aligned to which criteria]
431
+ ```
432
+
433
+ ### Step-by-Step Generation
434
+
435
+ **For Phase 2 Trigger Mapping:**
436
+
437
+ #### Step 1: Business Goals
438
+
439
+ **Input:**
440
+ - Form: Vision + SMART objectives structure (Layer 1)
441
+ - Substance: Product Brief goals and success criteria (Layer 2)
442
+ - Research: Industry best practices for this business type (Layer 3)
443
+
444
+ **Generate:**
445
+ 1. Vision statement (inspirational, directional)
446
+ 2. 3-5 SMART objectives (measurable, time-bound)
447
+ 3. Connection to product/solution
448
+
449
+ **Example Output Structure:**
450
+ ```markdown
451
+ ## Business Goals
452
+
453
+ ### Vision
454
+ [Inspirational statement about where business is going]
455
+
456
+ ### SMART Objectives
457
+ 1. [Specific - Measurable - Achievable - Relevant - Time-bound]
458
+ 2. [...]
459
+ 3. [...]
460
+
461
+ ### Product Connection
462
+ [How the product/website serves these goals]
463
+ ```
464
+
465
+ #### Step 2: Target Groups
466
+
467
+ **Input:**
468
+ - Form: 3-4 groups max, prioritized, connected to goals (Layer 1)
469
+ - Substance: Product Brief archetypes + Business Goals (Layer 2)
470
+ - Research: Customer types for this industry + location (Layer 3)
471
+
472
+ **Generate:**
473
+ 1. Refine Product Brief archetypes into strategic target groups
474
+ 2. Connect each to business goals they serve
475
+ 3. Prioritize: Primary 👥, Secondary 👤, Tertiary
476
+ 4. Create detailed persona for each
477
+
478
+ **Persona Template (Psychological Depth):**
479
+ ```markdown
480
+ ### [Alliterative Name the Role]
481
+
482
+ **Context:** [When/why they use product - usage context, not life context]
483
+
484
+ **Psychological Profile:**
485
+ - Role: [Their position relative to product]
486
+ - Mindset: [How they think/feel in this context]
487
+ - Internal State: [Confidence, anxiety, urgency, etc.]
488
+
489
+ **What They're Trying to Achieve:**
490
+ [High-level goals in this usage context]
491
+
492
+ **What They Fear/Want to Avoid:**
493
+ [High-level fears in this usage context]
494
+
495
+ **Why They Matter to Business Goals:**
496
+ [Connection to specific SMART objectives]
497
+ ```
498
+
499
+ #### Step 3: Driving Forces
500
+
501
+ **Input:**
502
+ - Form: Positive + negative drivers, equal weight, contextual (Layer 1)
503
+ - Substance: Personas + Business Goals (Layer 2)
504
+ - Research: User pain points, reviews, forums, behavior patterns (Layer 3)
505
+
506
+ **Generate for EACH persona:**
507
+
508
+ **Positive Drivers (✅ 3-5 per persona):**
509
+ - What they want to achieve (usage goals, not life goals)
510
+ - Specific to context (not generic "save time")
511
+ - Actionable (designer can create feature from this)
512
+
513
+ **Negative Drivers (❌ 3-5 per persona):**
514
+ - What they want to avoid (fears, frustrations)
515
+ - Specific and visceral (loss aversion is powerful)
516
+ - Equally detailed as positive drivers
517
+
518
+ **Example Format:**
519
+ ```markdown
520
+ ### Tomas the Tourist - Driving Forces
521
+
522
+ **Positive Drivers (✅):**
523
+ 1. Get back on road quickly without ruining vacation plans
524
+ 2. Feel confident that mechanic is certified and trustworthy
525
+ 3. Understand what's wrong and what it costs before committing
526
+ 4. Know exact timeline so can adjust other plans accordingly
527
+
528
+ **Negative Drivers (❌):**
529
+ 1. Fear being stranded on vacation far from home
530
+ 2. Fear getting ripped off by unknown mechanic in unfamiliar place
531
+ 3. Avoid wasting vacation time waiting with no updates
532
+ 4. Avoid surprise costs that blow vacation budget
533
+ ```
534
+
535
+ #### Step 4: Prioritization
536
+
537
+ **Input:**
538
+ - Form: Rank goals, groups, drivers (Layer 1)
539
+ - Substance: All of above (Layer 2)
540
+ - Research: What matters most in this industry (Layer 3)
541
+
542
+ **Generate:**
543
+ 1. Business Goals ranked (which matters most NOW)
544
+ 2. Target Groups ranked (which impacts top goal most)
545
+ 3. Driving Forces ranked per persona (top 3 most urgent)
546
+
547
+ **Output Strategic Focus Statement:**
548
+ ```markdown
549
+ ## Strategic Focus
550
+
551
+ **Priority 1 Goal:** [Top business objective]
552
+ **Priority 1 User:** [Primary persona]
553
+ **Priority 1 Drivers:** [Top 3 forces for primary persona]
554
+
555
+ This combination guides all design decisions.
556
+ ```
557
+
558
+ ---
559
+
560
+ ## Layer 5: Self-Review Against Standards
561
+
562
+ **Purpose:** Check generated output against WDS rubric, identify gaps, decide if refinement needed.
563
+
564
+ ### Self-Review Process
565
+
566
+ **Run through rubric systematically:**
567
+
568
+ #### Completeness Check (5 min)
569
+
570
+ ```markdown
571
+ ## Self-Review: [Artifact] - Iteration {{N}}
572
+
573
+ ### Completeness: {{X}}/9
574
+
575
+ **Core Sections:**
576
+ - [✅/❌] Business Goals (vision + SMART)
577
+ - [✅/❌] Product Hub
578
+ - [✅/❌] Target Groups (3-4, prioritized)
579
+ - [✅/❌] Detailed Personas (psychological depth)
580
+ - [✅/❌] Positive Drivers (3-5 per persona)
581
+ - [✅/❌] Negative Drivers (3-5 per persona)
582
+ - [✅/❌] Prioritization
583
+
584
+ **Optional:**
585
+ - [✅/❌] Feature Impact Analysis
586
+ - [✅/❌] Visual Diagram
587
+
588
+ **Score:** {{X}}/9 (Target: 7+ core minimum)
589
+ ```
590
+
591
+ #### Quality Criteria Check (10 min)
592
+
593
+ For each of 7 criteria: ✅ (met), ⚠️ (partial), ❌ (gap)
594
+
595
+ ```markdown
596
+ ### Quality Criteria: {{X}}/7
597
+
598
+ 1. **Strategic Depth:** [✅/⚠️/❌]
599
+ - Evidence: [Quote or example showing depth]
600
+ - Gap (if any): [What needs more depth]
601
+
602
+ 2. **Usage Context:** [✅/⚠️/❌]
603
+ - Evidence: [Are goals contextual?]
604
+ - Gap (if any): [Examples of non-contextual goals]
605
+
606
+ 3. **Persona Depth:** [✅/⚠️/❌]
607
+ - Evidence: [Psychological vs demographic?]
608
+ - Gap (if any): [Which personas need more psychology]
609
+
610
+ 4. **Negative Drivers:** [✅/⚠️/❌]
611
+ - Evidence: [Balance of positive vs negative]
612
+ - Gap (if any): [Missing or weak negative drivers]
613
+
614
+ 5. **Focused Scope:** [✅/⚠️/❌]
615
+ - Evidence: [3-4 groups? Or too many?]
616
+ - Gap (if any): [Need to consolidate?]
617
+
618
+ 6. **Actionable Specificity:** [✅/⚠️/❌]
619
+ - Evidence: [Concrete examples vs vague]
620
+ - Gap (if any): [Which forces too vague]
621
+
622
+ 7. **Business Connection:** [✅/⚠️/❌]
623
+ - Evidence: [Can trace users to goals?]
624
+ - Gap (if any): [Floating users without connection]
625
+
626
+ **Score:** {{X}}/7 (Target: 5+ minimum, 7 excellent)
627
+ ```
628
+
629
+ #### Common Mistakes Check (5 min)
630
+
631
+ ```markdown
632
+ ### Common Mistakes: {{X}}/4 avoided
633
+
634
+ - [✅/❌] No solutions on map (drivers about psychology, not features)
635
+ - [✅/❌] No generic forces (specific to this context)
636
+ - [✅/❌] No demographic personas (focused on psychology)
637
+ - [✅/❌] Clear priority (ranking exists and defensible)
638
+
639
+ **Score:** {{X}}/4 (Target: 4/4 required)
640
+ ```
641
+
642
+ #### Best Practices Check (5 min)
643
+
644
+ ```markdown
645
+ ### Best Practices: {{X}}/4 followed
646
+
647
+ - [✅/❌] Alliterative persona names
648
+ - [✅/❌] Equal weight to negative drivers
649
+ - [✅/❌] Context explicitly stated
650
+ - [✅/❌] Visual diagram created
651
+
652
+ **Score:** {{X}}/4 (Target: 2+ minimum, 4 excellent)
653
+ ```
654
+
655
+ #### Overall Assessment
656
+
657
+ ```markdown
658
+ ### Overall Quality Score: {{X}}/10
659
+
660
+ **Completeness:** {{X}}/9
661
+ **Quality:** {{X}}/7
662
+ **Mistakes Avoided:** {{X}}/4
663
+ **Best Practices:** {{X}}/4
664
+
665
+ **Threshold Analysis:**
666
+ - Minimum (present to user): 7+ complete, 5+ quality, 4 mistakes, 2+ practices
667
+ - Excellent: 9+ complete, 7 quality, 4 mistakes, 4 practices
668
+
669
+ **Current Status:** [Meets minimum / Meets excellent / Needs refinement]
670
+
671
+ **Key Gaps:**
672
+ 1. [Specific gap with evidence]
673
+ 2. [Specific gap with evidence]
674
+
675
+ **Refinement Decision:** [Continue / Refine / Switch to Workshop]
676
+ ```
677
+
678
+ ### Refinement Planning (If Needed)
679
+
680
+ ```markdown
681
+ ## Refinement Plan: Iteration {{N+1}}
682
+
683
+ ### Gap 1: [Description]
684
+ **Current:** [What's wrong]
685
+ **Target:** [What it should be]
686
+ **Action:** [Specific change]
687
+ **Reference:** [Rubric criteria or example guiding this]
688
+
689
+ ### Gap 2: [Description]
690
+ [Same structure]
691
+
692
+ ### Expected Improvement:
693
+ - Completeness: {{current}} → {{target}}
694
+ - Quality: {{current}} → {{target}}
695
+ - Overall: {{current}}/10 → {{target}}/10
696
+ ```
697
+
698
+ **Then generate Iteration N+1 with refinements applied, using full 5-layer process again.**
699
+
700
+ ### Self-Review for Phase 3 (Scenarios)
701
+
702
+ **Use `quality-checklist.md` directly as the rubric.** The checklist has 4 dimensions:
703
+
704
+ 1. **Completeness** (7 sections) — target 7/7
705
+ 2. **Quality Criteria** (7 checks) — target 5/7 minimum
706
+ 3. **Common Mistakes** (7 checks) — target 7/7 (zero tolerance)
707
+ 4. **Best Practices** (4 checks) — target 2/4 minimum
708
+
709
+ **Run quality-checklist.md against each generated scenario. Score using the checklist's own format.**
710
+
711
+ **Refinement triggers for scenarios:**
712
+ - Any Dimension 3 failure (Common Mistakes) → immediate fix (zero tolerance)
713
+ - Dimension 1 below 6/7 → fix before proceeding
714
+ - Dimension 2 below 5/7 → refine mental state and success goals first (most common gap)
715
+ - Bloated descriptions (Dimension 3.7) → trim to max lengths before any other refinement
716
+
717
+ ---
718
+
719
+ ## Mode-Specific Presentation
720
+
721
+ ### Suggest Mode: User Checkpoints
722
+
723
+ **After each iteration, show:**
724
+
725
+ ```markdown
726
+ ## Suggest Mode: Iteration {{N}}
727
+
728
+ ### What I Created
729
+ [Summary of artifact section generated]
730
+
731
+ Key elements:
732
+ - [Bullet point summary]
733
+ - [Sample content]
734
+
735
+ ### Learning & Research Applied
736
+ **WDS Form:** [What methodology guided structure]
737
+ **Project Context:** [What prior artifacts informed this]
738
+ **Domain Research:** [What insights enhanced this]
739
+
740
+ ### Self-Review Results
741
+ **Quality Score:** {{X}}/10
742
+
743
+ **Strengths:**
744
+ - ✅ [What's working well]
745
+ - ✅ [What meets standards]
746
+
747
+ **Gaps Identified:**
748
+ - ❌ [What needs improvement]
749
+ - ⚠️ [What's partial]
750
+
751
+ **Refinement Plan:**
752
+ [If needed, what will be improved in next iteration]
753
+
754
+ ---
755
+
756
+ **👉 User Checkpoint:** What would you like to do?
757
+
758
+ [C] Continue - Looks good, proceed (or refine if gaps exist)
759
+ [A] Adjust - I have feedback to guide refinement
760
+ [V] View Full - Show me complete generated content now
761
+ [S] Stop - Switch to Workshop Mode for dialog
762
+
763
+ Type your choice or provide feedback:
764
+ ```
765
+
766
+ **Wait for user input. Do NOT continue without approval.**
767
+
768
+ ### Dream Mode: Autonomous Progress
769
+
770
+ **Show running updates:**
771
+
772
+ ```markdown
773
+ ## Dream Mode: Trigger Map Generation
774
+
775
+ ### Progress
776
+
777
+ 🔄 **Business Goals**
778
+ Generated → Self-reviewed → Quality: 8/10 → ✅ Threshold met
779
+
780
+ 🔄 **Target Groups**
781
+ Generated → Self-reviewed → Quality: 7/10 → Gaps found → Refining...
782
+ Iteration 2 → Self-reviewed → Quality: 9/10 → ✅ Threshold met
783
+
784
+ 🔄 **Driving Forces**
785
+ Generated → Self-reviewed → Quality: 8/10 → ✅ Threshold met
786
+
787
+ 🔄 **Prioritization**
788
+ Generated → Self-reviewed → Quality: 9/10 → ✅ Threshold met
789
+
790
+ ---
791
+
792
+ **✅ Generation Complete**
793
+
794
+ **Final Quality Assessment:** 9/10
795
+ - Completeness: 9/9 ✅
796
+ - Quality Criteria: 7/7 ✅
797
+ - Mistakes Avoided: 4/4 ✅
798
+ - Best Practices: 4/4 ✅
799
+
800
+ 📄 **Trigger Map created:** {output_folder}/B-Trigger-Map/trigger-map.md
801
+
802
+ Would you like to review the full Trigger Map now?
803
+
804
+ ---
805
+
806
+ 💬 **Note:** You could have typed "stop" at any time to interrupt.
807
+ ```
808
+
809
+ **No user checkpoints - continue autonomously until complete or interrupted.**
810
+
811
+ ---
812
+
813
+ ## Layer 6: Completeness Gate (Dream Mode Only)
814
+
815
+ **Purpose:** After all Layer 5 self-reviews pass, verify ALL required output documents exist before presenting results.
816
+
817
+ ### Required Documents Checklist
818
+
819
+ Run this gate after autonomous generation completes:
820
+
821
+ **Mandatory files in `{output_folder}/B-Trigger-Map/`:**
822
+ - [ ] `00-trigger-map.md` — Hub document with Mermaid diagram
823
+ - [ ] `01-Business-Goals.md` — Vision + SMART objectives
824
+ - [ ] One persona document per target group (`02-XX.md`, `03-XX.md`, etc.)
825
+ - [ ] `05-Key-Insights.md` — Strategic insights summary
826
+
827
+ **Conditional files:**
828
+ - [ ] `06-Feature-Impact.md` — Only if feature impact workshop was completed
829
+
830
+ ### Validation Rules:
831
+ - Each file must be non-empty (contains actual content, not just headers)
832
+ - Hub document must contain a Mermaid code block
833
+ - Persona count must match the number of target groups from workshops
834
+ - Business Goals must contain vision + at least 2 SMART objectives
835
+
836
+ ### IF any file missing or empty:
837
+ 1. Identify which file is missing
838
+ 2. Re-run Layer 4 generation for that specific artifact
839
+ 3. Re-run Layer 5 self-review for that artifact
840
+ 4. Re-check this gate
841
+
842
+ ### IF 3 retries fail for any file:
843
+ Switch to Suggest mode for the missing artifact:
844
+ > "I generated most of the Trigger Map autonomously, but [missing artifact] needs your input. Let's switch to Suggest mode for this section."
845
+
846
+ ---
847
+
848
+ ## Final Output Presentation
849
+
850
+ **When all steps complete and threshold met:**
851
+
852
+ ```markdown
853
+ ## Trigger Map Generation Complete ✅
854
+
855
+ **Mode:** {{Suggest/Dream}}
856
+ **Total Iterations:** {{count across all steps}}
857
+ **Final Quality Score:** {{X}}/10
858
+
859
+ ### Generated Artifact
860
+ **Location:** {output_folder}/B-Trigger-Map/trigger-map.md
861
+
862
+ **Contents:**
863
+ - Business Goals: {{vision}} + {{N}} SMART objectives
864
+ - Target Groups: {{N}} personas ({{names}})
865
+ - Driving Forces: {{N}} positive + {{N}} negative per persona
866
+ - Prioritization: Complete ranking
867
+ - {{If created}} Feature Impact Analysis
868
+ - {{If created}} Visual Mermaid Diagram
869
+
870
+ ### Quality Validation
871
+ - ✅ WDS Form Applied: All structure requirements met
872
+ - ✅ Project Context Used: All Product Brief insights integrated
873
+ - ✅ Domain Research: Industry insights enhanced generation
874
+ - ✅ Self-Review: All quality criteria met
875
+
876
+ ### Strategic Insights
877
+ [2-3 key takeaways from the completed Trigger Map]
878
+
879
+ ### What's Next
880
+ This Trigger Map feeds into:
881
+ - **Phase 4 (UX Design)** - Personas and drivers guide scenario design
882
+ - **Feature Prioritization** - Feature Impact scores guide roadmap
883
+ - **Content Strategy** - Driving forces guide messaging
884
+
885
+ Would you like to:
886
+ - [R] Review the full Trigger Map
887
+ - [A] Make adjustments
888
+ - [N] Continue to next phase
889
+ ```
890
+
891
+ ---
892
+
893
+ ## Switching to Workshop Mode
894
+
895
+ **If 5 iterations on ANY step without meeting threshold:**
896
+
897
+ ```markdown
898
+ ## Quality Threshold Challenge
899
+
900
+ On step: [Step name]
901
+
902
+ After 5 iterations, this section hasn't met minimum quality standards. This suggests human insight would be valuable.
903
+
904
+ **Current State:**
905
+ - Quality Score: {{X}}/10
906
+ - Persistent gaps: [List issues that won't resolve]
907
+
908
+ **Recommendation:** Switch to Workshop Mode for this section
909
+
910
+ I'll facilitate questions specifically about [the gap areas] to capture your expertise and ensure quality.
911
+
912
+ Would you like to:
913
+ [W] Switch to Workshop Mode for this section (recommended)
914
+ [C] Continue autonomous generation (may repeat same issues)
915
+ [V] View current state and decide
916
+ ```
917
+
918
+ ---
919
+
920
+ ## Design Log Documentation
921
+
922
+ **Throughout process, maintain comprehensive agent experience log:**
923
+
924
+ ```markdown
925
+ # Agent Experience: Dream Up - Källa Trigger Map
926
+
927
+ **Created:** {{date time}}
928
+ **Mode:** {{Suggest/Dream}}
929
+ **Phase:** 2 (Trigger Mapping)
930
+ **Project:** Källa Fordonservice
931
+
932
+ ---
933
+
934
+ ## Layer 1: WDS Form Learned
935
+ [Full learning documentation]
936
+
937
+ ---
938
+
939
+ ## Layer 2: Project Context (Cumulative)
940
+
941
+ ### Initial: Product Brief
942
+ [Extracted substance]
943
+
944
+ ### Added: Business Goals
945
+ [After generation]
946
+
947
+ ### Added: Target Groups
948
+ [After generation]
949
+
950
+ ### Added: Driving Forces
951
+ [After generation]
952
+
953
+ ### Added: Prioritization
954
+ [After generation]
955
+
956
+ ---
957
+
958
+ ## Layer 3: Domain Research
959
+
960
+ ### Step: Business Goals
961
+ [Research conducted and insights]
962
+
963
+ ### Step: Target Groups
964
+ [Research conducted and insights]
965
+
966
+ ### Step: Driving Forces
967
+ [Research conducted and insights]
968
+
969
+ ### Step: Prioritization
970
+ [Research conducted and insights]
971
+
972
+ ---
973
+
974
+ ## Generation & Self-Review Log
975
+
976
+ ### Business Goals - Iteration 1
977
+ [Full self-review]
978
+
979
+ ### Target Groups - Iteration 1
980
+ [Full self-review]
981
+
982
+ ### Target Groups - Iteration 2 (refinement)
983
+ [Full self-review]
984
+
985
+ [Continue for all steps and iterations]
986
+
987
+ ---
988
+
989
+ ## Final Output
990
+
991
+ **Artifact:** {path}
992
+ **Quality Score:** {{X}}/10
993
+ **User Approved:** {{Yes/Pending}}
994
+
995
+ **Key Decisions Made:**
996
+ [Strategic choices during generation]
997
+ ```
998
+
999
+ **Save agent experience at:**
1000
+ ```
1001
+ {output_folder}/_progress/agent-experiences/{date}-trigger-map-{{mode}}.md
1002
+ ```
1003
+
1004
+ ---
1005
+
1006
+ ## Tips for Quality Self-Review
1007
+
1008
+ ### Be Honest, Not Optimistic
1009
+ - Mark ⚠️ partial even if "pretty good"
1010
+ - Mark ❌ gap if rubric shows higher bar
1011
+ - Don't inflate scores to meet threshold faster
1012
+
1013
+ ### Use Rubric Examples Directly
1014
+ - Compare output to good/bad examples in rubric
1015
+ - If matches "bad example" → ❌
1016
+ - If between → ⚠️
1017
+ - If matches "good example" → ✅
1018
+
1019
+ ### Actionability Test
1020
+ - Can designer create feature from this driving force?
1021
+ - Would two designers interpret this persona the same?
1022
+ - Can I trace this user to a specific business goal?
1023
+
1024
+ ### Context is King
1025
+ - "Want to save time" = ❌ Generic
1026
+ - "Want to find phone within 3 seconds because stressed on vacation" = ✅ Contextual
1027
+
1028
+ ### Psychology Over Demographics
1029
+ - "Sarah, 35, consultant" = ❌ Demographic
1030
+ - "Sophie struggles with imposter syndrome when presenting to executives" = ✅ Psychological
1031
+
1032
+ ---
1033
+
1034
+ *This guide enables Saga to execute Suggest and Dream modes for Phase 2 Trigger Mapping with quality control through systematic 5-layer generation and self-review.*