@atlashub/smartstack-cli 3.13.0 → 3.14.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 (27) hide show
  1. package/package.json +1 -1
  2. package/templates/skills/business-analyse/SKILL.md +3 -2
  3. package/templates/skills/business-analyse/_module-loop.md +5 -5
  4. package/templates/skills/business-analyse/questionnaire.md +1 -1
  5. package/templates/skills/business-analyse/references/cache-warming-strategy.md +11 -23
  6. package/templates/skills/business-analyse/references/cadrage-pre-analysis.md +112 -0
  7. package/templates/skills/business-analyse/references/cadrage-structure-cards.md +6 -1
  8. package/templates/skills/business-analyse/references/deploy-data-build.md +1 -1
  9. package/templates/skills/business-analyse/references/html-data-mapping.md +1 -1
  10. package/templates/skills/business-analyse/references/robustness-checks.md +1 -1
  11. package/templates/skills/business-analyse/references/spec-auto-inference.md +1 -1
  12. package/templates/skills/business-analyse/schemas/application-schema.json +33 -1
  13. package/templates/skills/business-analyse/schemas/sections/metadata-schema.json +1 -1
  14. package/templates/skills/business-analyse/steps/step-00-init.md +18 -22
  15. package/templates/skills/business-analyse/steps/step-01-cadrage.md +300 -135
  16. package/templates/skills/business-analyse/steps/step-02-decomposition.md +38 -16
  17. package/templates/skills/business-analyse/steps/step-03a-data.md +5 -31
  18. package/templates/skills/business-analyse/steps/step-03a1-setup.md +2 -2
  19. package/templates/skills/business-analyse/steps/step-03b-ui.md +20 -11
  20. package/templates/skills/business-analyse/steps/step-03d-validate.md +6 -6
  21. package/templates/skills/business-analyse/steps/step-04-consolidation.md +5 -31
  22. package/templates/skills/business-analyse/steps/step-04c-decide.md +1 -1
  23. package/templates/skills/business-analyse/steps/step-05a-handoff.md +1 -1
  24. package/templates/skills/business-analyse/steps/step-05b-deploy.md +3 -3
  25. package/templates/skills/business-analyse/steps/step-05c-ralph-readiness.md +1 -1
  26. package/templates/skills/business-analyse/templates/tpl-frd.md +1 -1
  27. package/templates/skills/business-analyse/references/cadrage-vibe-coding.md +0 -87
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlashub/smartstack-cli",
3
- "version": "3.13.0",
3
+ "version": "3.14.0",
4
4
  "description": "SmartStack Claude Code automation toolkit - GitFlow, EF Core migrations, prompts and more",
5
5
  "author": {
6
6
  "name": "SmartStack",
@@ -180,7 +180,7 @@ When step-00 detects that the description matches an existing application:
180
180
  | `{module_name}` | string | Target module name |
181
181
  | `{context}` | string | Always "business" for BA |
182
182
  | `{workflow_mode}` | string | "application" or "module" |
183
- | `{vibe_coding}` | boolean | `true` if developer builds with AI assistance (accelerated questionnaire) |
183
+ | `{analysisMode}` | string | Always "interactive" analysis phase is always interactive with the user |
184
184
  | `{docs_dir}` | string | `docs/business/{app}/{module}/business-analyse/v{X.Y}/` |
185
185
 
186
186
  </state_variables>
@@ -199,7 +199,8 @@ When step-00 detects that the description matches an existing application:
199
199
  | 00 | `steps/step-00-init.md` | Sonnet | Auto-detect new/update, scan existing, create master feature.json |
200
200
  | 01 | `steps/step-01-cadrage.md` | Opus | Framing: context, stakeholders, scope, application roles |
201
201
  | 02 | `steps/step-02-decomposition.md` | Opus | Module decomposition, dependency graph, client checkpoint |
202
- | 03a | `steps/step-03a-data.md` | Opus | Per-module: sections, entities, BRs, questionnaires |
202
+ | 03a1 | `steps/step-03a1-setup.md` | Opus | Per-module: setup, sections, questionnaires, cross-refs |
203
+ | 03a2 | `steps/step-03a2-analysis.md` | Opus | Per-module: objectives, entities, BRs, process flow |
203
204
  | 03b | `steps/step-03b-ui.md` | Opus | Per-module: state machines, wireframes, layouts, dashboards |
204
205
  | 03c | `steps/step-03c-compile.md` | Opus | Per-module: actors, UCs, FRs, permissions, navigation, seedDataCore (7 arrays), i18n |
205
206
  | 03d | `steps/step-03d-validate.md` | Sonnet | Per-module: validation, write, incremental HTML, loop decision |
@@ -1,6 +1,6 @@
1
1
  # Business Analysis - Module Loop Protocol (_module-loop.md)
2
2
 
3
- > **Loaded by:** step-03a-data, step-03b-ui, step-03c-compile, step-03d-validate
3
+ > **Loaded by:** step-03a1-setup, step-03b-ui, step-03c-compile, step-03d-validate
4
4
  > **Purpose:** State management and iteration logic for multi-module specification loop
5
5
 
6
6
  ---
@@ -31,10 +31,10 @@
31
31
  currentModule = moduleOrder[currentModuleIndex]
32
32
  Write master feature.json
33
33
  Display: "Module {name} complete. Next: {next_name} ({N}/{total})"
34
- RE-LOAD: steps/step-03a-data.md
34
+ RE-LOAD: steps/step-03a1-setup.md
35
35
  4. ELSE:
36
36
  master.status = "specified"
37
- Load: steps/step-04-consolidation.md
37
+ Load: steps/step-04a-collect.md
38
38
  ```
39
39
 
40
40
  ## Context Management During Loop
@@ -50,7 +50,7 @@ To prevent context explosion as modules accumulate:
50
50
  1. ba-reader.findApplicationFeature() -> locate master feature.json
51
51
  2. Read metadata.workflow.currentModuleIndex
52
52
  3. IF currentModule has a feature.json with status != "validated":
53
- Resume step-03a-data for that module
53
+ Resume step-03a1-setup for that module
54
54
  4. ELSE:
55
- Start step-03a-data for next module
55
+ Start step-03a1-setup for next module
56
56
  ```
@@ -1,7 +1,7 @@
1
1
  # Elicitation Questionnaire - Business Analysis
2
2
 
3
3
  > **Usage:** Structured questions for step-01-cadrage and step-03a-data
4
- > **Standard:** BABOK v3 - Elicitation Techniques (VibeCoding-focused)
4
+ > **Standard:** BABOK v3 - Elicitation Techniques (Interactive analysis)
5
5
  > **Model:** OPUS with ULTRATHINK
6
6
  > **Total:** ~68 targeted questions (dev-relevant only)
7
7
 
@@ -132,9 +132,7 @@ for (const file of questionnaireFiles) {
132
132
  // (Questionnaires no longer needed)
133
133
  ```
134
134
 
135
- **Optimization:** Only load questionnaires that will be used based on `vibe_coding` flag:
136
- - If `vibe_coding = true`: Load only 00, 01, 02, 03, 14, 15 (core 6 files, ~31KB)
137
- - If `vibe_coding = false`: Load all 16 files (~56KB)
135
+ **Optimization:** Cadrage uses targeted questionnaires (selected questions from 01-context, 02-stakeholders, 03-scope, 14-risks, 15-success) — not all questions are asked. Module-level questionnaires (04, 07, 11, 12, 13) are loaded on demand in step-03.
138
136
 
139
137
  ---
140
138
 
@@ -167,7 +165,7 @@ Total: ~12KB, 1 file
167
165
  ├── spec-auto-inference.md (~8KB)
168
166
  ├── ui-resource-cards.md (~6KB)
169
167
  ├── ui-dashboard-spec.md (~5KB)
170
- └── cadrage-vibe-coding.md (~4KB)
168
+ └── cadrage-pre-analysis.md (~4KB)
171
169
 
172
170
  Total: ~23KB, 4 files
173
171
  ```
@@ -189,7 +187,7 @@ const moduleRefs = [
189
187
  "spec-auto-inference.md",
190
188
  "ui-resource-cards.md",
191
189
  "ui-dashboard-spec.md",
192
- "cadrage-vibe-coding.md"
190
+ "cadrage-pre-analysis.md"
193
191
  ];
194
192
  for (const file of moduleRefs) {
195
193
  read(`~/.claude/skills/business-analyse/references/${file}`);
@@ -254,15 +252,9 @@ const htmlTemplate = read("~/.claude/skills/business-analyse/html/ba-interactive
254
252
  // 1. Schemas (42KB, 9 files) - CRITICAL
255
253
  glob("schemas/**/*.json").forEach(f => read(f));
256
254
 
257
- // 2. Questionnaires (31-56KB, 6-16 files) - HIGH
258
- // Conditional on vibe_coding flag
259
- if (vibe_coding) {
260
- ["00", "01", "02", "03", "14", "15"].forEach(n =>
261
- read(`questionnaire/${n}-*.md`)
262
- );
263
- } else {
264
- glob("questionnaire/*.md").forEach(f => read(f));
265
- }
255
+ // 2. Core questionnaires (01, 02, 03, 14, 15) - pre-loaded for cadrage
256
+ // Cadrage uses targeted questions from these 5 core questionnaires
257
+ // Module-level questionnaires (04, 07, 11, 12, 13) deferred to step-03
266
258
 
267
259
  // 3. Suggestion catalog (12KB, 1 file) - HIGH
268
260
  read("patterns/suggestion-catalog.md");
@@ -304,7 +296,7 @@ const moduleRefs = [
304
296
  "spec-auto-inference.md",
305
297
  "ui-resource-cards.md",
306
298
  "ui-dashboard-spec.md",
307
- "cadrage-vibe-coding.md"
299
+ "cadrage-pre-analysis.md"
308
300
  ];
309
301
  moduleRefs.forEach(f => read(`references/${f}`));
310
302
 
@@ -455,7 +447,7 @@ Step-${currentStep} cache statistics:
455
447
  ```javascript
456
448
  // Step-00: Analyze feature_description to predict workflow
457
449
  const predictions = {
458
- willNeedQuestionnaires: !vibe_coding, // Full questionnaires if not vibe coding
450
+ willNeedQuestionnaires: false, // Cadrage uses zero questions (auto-inferred)
459
451
  willBeMultiModule: detectMultiModuleKeywords(feature_description), // "modules", "applications"
460
452
  estimatedModuleCount: estimateModuleCount(feature_description) // 1-10
461
453
  };
@@ -466,13 +458,9 @@ if (predictions.willBeMultiModule && predictions.estimatedModuleCount > 3) {
466
458
  loadModuleReferences();
467
459
  }
468
460
 
469
- if (!predictions.willNeedQuestionnaires) {
470
- // Vibe coding only load 6 core questionnaires
471
- loadCoreQuestionnaires();
472
- } else {
473
- // Full analysis → load all 16 questionnaires
474
- loadAllQuestionnaires();
475
- }
461
+ // Interactive cadrage → load 5 core questionnaires (01, 02, 03, 14, 15)
462
+ // Module-level questionnaires (04, 07, 11, 12, 13) loaded on demand in step-03
463
+ loadCoreQuestionnaires();
476
464
  ```
477
465
 
478
466
  **Benefits:**
@@ -0,0 +1,112 @@
1
+ # Cadrage: Pre-Analysis Reference
2
+
3
+ > Reference for step-01-cadrage.md — silent pre-analysis to PREPARE the interactive conversation.
4
+ > **This file does NOT replace the conversation — it prepares it.**
5
+
6
+ ## Purpose
7
+
8
+ Before engaging the client, the AI silently analyzes the `{feature_description}` to:
9
+ 1. Understand what was said (extract explicit requirements)
10
+ 2. Detect what was NOT said (identify shadow zones to challenge)
11
+ 3. Prepare targeted questions (not generic ones)
12
+ 4. Pre-identify modules, sections, and resources
13
+
14
+ **The output of this pre-analysis is INTERNAL ONLY.** It is never shown directly to the client — it feeds the reformulation (Phase 2) and challenge questions (Phase 3).
15
+
16
+ ## Pre-Analysis Rules
17
+
18
+ ### 1. Problem Type Inference
19
+
20
+ Derive the problem type from `{feature_description}` keywords:
21
+
22
+ ```yaml
23
+ problem_type:
24
+ → Keywords "remplacer", "migrer", "existant" → "replace" (existing tool to replace)
25
+ → Keywords "automatiser", "manuel", "processus" → "automate" (manual process to automate)
26
+ → Keywords "centraliser", "dispersees", "eparpillees" → "centralize" (data scattered across systems)
27
+ → Default (new tool) → "new_tool" (no system in place)
28
+ ```
29
+
30
+ ### 2. Explicit Module/Feature Extraction
31
+
32
+ Extract functional areas explicitly mentioned in the description:
33
+
34
+ ```yaml
35
+ detected_modules:
36
+ → For each distinct functional area mentioned:
37
+ - name: "{PascalCase module name}"
38
+ - description: "{what the user said about it}"
39
+ - detected_sections: ["{inferred sections based on description}"]
40
+ - detected_resources: ["{inferred resources}"]
41
+ ```
42
+
43
+ ### 3. Shadow Zone Detection (CRITICAL)
44
+
45
+ > **Shadow zones are the most valuable output of pre-analysis.**
46
+ > They become the challenge questions in Phase 3.
47
+
48
+ For EACH detected module, check for missing information:
49
+
50
+ | What to check | Shadow zone if missing | Challenge question pattern |
51
+ |--------------|----------------------|--------------------------|
52
+ | Stakeholders | Who uses this module? | "Who interacts with {module} daily? Only {mentioned role} or also managers, admins, external users?" |
53
+ | Cardinality | Relationships stated as fact | "You said {A} is 1:1 with {B}. Can {A} exist without {B}? Can {B} have multiple {A}?" |
54
+ | Granularity | Level of detail unclear | "What granularity for {feature}? Day, half-day, hour? Single entry or batch?" |
55
+ | Reports | Mentioned but not detailed | "Which reports exactly? For whom? What format? How often?" |
56
+ | Validation workflow | Actions without approval | "Does {action} require approval? Who validates? What happens if rejected?" |
57
+ | Edge cases | Only happy path described | "What happens when {something goes wrong}? When data is incomplete? When two users do it simultaneously?" |
58
+ | Non-functional | Security, performance, compliance | "Is there sensitive data (GDPR)? Expected concurrent users? Compliance requirements?" |
59
+ | Integration | Standalone or connected | "Does {module} need to exchange data with external systems? Import? Export? API?" |
60
+
61
+ ### 4. Domain-Specific Anticipation Patterns
62
+
63
+ When the problem domain is identified, pre-load domain-specific needs:
64
+
65
+ | Domain keywords | Anticipated needs (suggest in Phase 4) |
66
+ |----------------|---------------------------------------|
67
+ | RH, employes, personnel | Contrats, competences, organigramme, RGPD, conges, jours feries, calendriers |
68
+ | Temps, activites, absences | Granularite saisie, validation manageriale, soldes conges, compteurs, export paie |
69
+ | Ventes, commandes, clients | Devis, factures, pipeline, relances, taux conversion, segments client |
70
+ | Stock, inventaire, produits | Categories, fournisseurs, seuils reapprovisionnement, mouvements, valorisation |
71
+ | Projets, taches, planning | Jalons, ressources, Gantt, charge, budget, risques projet |
72
+ | Tickets, support, incidents | SLA, escalade, base connaissances, satisfaction, priorites |
73
+ | Documents, GED | Versionning, workflows validation, templates, OCR, archivage legal |
74
+
75
+ ### 5. Section & Resource Pre-Identification
76
+
77
+ For each detected module, anticipate sections (Level 4) and resources (Level 5) based on feature type:
78
+
79
+ | Feature type | Standard sections | Standard resources per section |
80
+ |-------------|------------------|------------------------------|
81
+ | data-centric | list, detail, create, edit | {entity}-grid, {entity}-form, {entity}-card |
82
+ | workflow | list, detail, create, edit, approve, history | {entity}-grid, {entity}-form, approval-panel, status-timeline |
83
+ | reporting | dashboard, detail, export | summary-chart, kpi-cards, export-panel |
84
+ | integration | list, detail, config, sync, logs | sync-status-grid, config-form, log-viewer |
85
+
86
+ **Always check:** Does the user's description imply additional sections beyond the standard set? (e.g., "reports" → dashboard + export, "calendar view" → calendar section)
87
+
88
+ ## Output Format (Internal Only)
89
+
90
+ ```yaml
91
+ pre_analysis:
92
+ problem_type: "new_tool|replace|automate|centralize"
93
+ detected_modules:
94
+ - name: "ModuleName"
95
+ description: "What the user said"
96
+ detected_sections: ["list", "detail", "create"]
97
+ detected_resources: ["entity-grid", "entity-form"]
98
+ shadow_zones:
99
+ - topic: "Cardinality Employee-User"
100
+ why_it_matters: "1:1 assumption may not hold for temp workers"
101
+ challenge_question: "Can a user be linked to multiple employee records?"
102
+ - topic: "Report granularity"
103
+ why_it_matters: "Reports mentioned but not specified"
104
+ challenge_question: "Which reports exactly? For whom? What format?"
105
+ anticipated_suggestions:
106
+ - suggestion: "Leave balance management"
107
+ justification: "Time tracking without leave balances is incomplete"
108
+ module: "TimeTracking"
109
+ - suggestion: "GDPR compliance module"
110
+ justification: "HR data is personal data under GDPR"
111
+ module: "Employees"
112
+ ```
@@ -63,11 +63,16 @@
63
63
  "category": "mustHave|shouldHave|couldHave|outOfScope|implicit",
64
64
  "module": "Users",
65
65
  "ucRef": "UC-UM-001",
66
- "notes": "Foundation module, must be implemented first"
66
+ "notes": "Foundation module, must be implemented first",
67
+ "anticipatedSections": ["list", "detail", "create", "edit"],
68
+ "anticipatedResources": ["user-grid", "user-form", "user-card"]
67
69
  }
68
70
  ```
69
71
  **MANDATORY fields:** `item`, `category`, `module`
72
+ **OPTIONAL fields:** `ucRef`, `notes`, `anticipatedSections`, `anticipatedResources`
70
73
  **category values:** `mustHave`, `shouldHave`, `couldHave`, `outOfScope`, `implicit` (camelCase)
74
+ **anticipatedSections:** Array of section codes (Level 4) — e.g., `["list", "detail", "create", "edit", "dashboard", "export"]`
75
+ **anticipatedResources:** Array of resource codes (Level 5) — e.g., `["user-grid", "user-form", "user-card"]`
71
76
  **FORBIDDEN fields:** Do NOT use `id`, `feature`, `priority`. Use `item` + `category`.
72
77
 
73
78
  ## codebaseContext
@@ -11,7 +11,7 @@ const FEATURE_DATA = {
11
11
  applicationId: master.feature_id,
12
12
  version: master.version,
13
13
  createdAt: ISO_TIMESTAMP,
14
- vibeCoding: master.metadata.vibeCoding // "enabled" or "disabled" — controls UI section visibility
14
+ analysisMode: master.metadata.analysisMode || "interactive" // always "interactive" — analysis is always interactive
15
15
  },
16
16
  cadrage: {
17
17
  goal: master.cadrage.goal,
@@ -17,7 +17,7 @@ Build a JSON object following this **exact mapping** from feature.json to the HT
17
17
  version: master.version, // e.g. "1.0"
18
18
  createdAt: master.metadata.createdAt,
19
19
  lastModified: master.metadata.updatedAt,
20
- vibeCoding: master.metadata.vibeCoding || false // true if vibe coding mode
20
+ analysisMode: master.metadata.analysisMode || "interactive" // always "interactive"
21
21
  },
22
22
  cadrage: {
23
23
  problem: {
@@ -407,7 +407,7 @@ WHY: This will cause FK constraint violation in database
407
407
  HOW TO FIX:
408
408
  Option 1: Create "Task" entity in Projects module
409
409
  Option 2: Remove reference from TimeEntry (change taskId to projectId)
410
- WHERE: Return to step-03a-data.md for TimeTracking module
410
+ WHERE: Return to step-03a1-setup.md for TimeTracking module
411
411
  ```
412
412
 
413
413
  ---
@@ -1,6 +1,6 @@
1
1
  # Specification: Auto-Inference Rules
2
2
 
3
- > Reference for step-03a-data.md — convention/override depth auto-generation from entity definitions.
3
+ > Reference for step-03a1-setup.md — convention/override depth auto-generation from entity definitions.
4
4
 
5
5
  ## Entity Attribute → SmartTable Column
6
6
 
@@ -43,6 +43,11 @@
43
43
  "description": "Whether this is a new application or an update"
44
44
  },
45
45
  "mcpAvailable": { "type": "boolean" },
46
+ "analysisMode": {
47
+ "type": "string",
48
+ "const": "interactive",
49
+ "description": "Analysis mode — always interactive (AI listens, reformulates, challenges, validates)"
50
+ },
46
51
  "workflow": {
47
52
  "type": "object",
48
53
  "description": "Iterative module loop state",
@@ -173,7 +178,17 @@
173
178
  "category": { "type": "string", "enum": ["mustHave", "shouldHave", "couldHave", "outOfScope", "implicit"] },
174
179
  "module": { "type": ["string", "null"], "description": "Module code that covers this requirement (null if cross-cutting)" },
175
180
  "ucRef": { "type": ["string", "null"], "description": "UC ID if already assigned" },
176
- "notes": { "type": "string" }
181
+ "notes": { "type": "string" },
182
+ "anticipatedSections": {
183
+ "type": "array",
184
+ "items": { "type": "string" },
185
+ "description": "Anticipated sections (Level 4) for this requirement — e.g., list, detail, create, edit, dashboard"
186
+ },
187
+ "anticipatedResources": {
188
+ "type": "array",
189
+ "items": { "type": "string" },
190
+ "description": "Anticipated resources (Level 5) for this requirement — e.g., user-grid, user-form, user-card"
191
+ }
177
192
  }
178
193
  }
179
194
  }
@@ -230,6 +245,23 @@
230
245
  "estimatedComplexity": {
231
246
  "type": "string",
232
247
  "enum": ["simple", "medium", "complex"]
248
+ },
249
+ "anticipatedSections": {
250
+ "type": "array",
251
+ "description": "Anticipated sections (Level 4) with their resources (Level 5), from cadrage coverage matrix",
252
+ "items": {
253
+ "type": "object",
254
+ "required": ["code"],
255
+ "properties": {
256
+ "code": { "type": "string", "description": "Section code (e.g., list, detail, create, edit, dashboard)" },
257
+ "description": { "type": "string" },
258
+ "resources": {
259
+ "type": "array",
260
+ "items": { "type": "string" },
261
+ "description": "Anticipated resource codes for this section"
262
+ }
263
+ }
264
+ }
233
265
  }
234
266
  }
235
267
  }
@@ -24,7 +24,7 @@
24
24
  "permissionBase": { "type": "string", "description": "e.g., business.sales.orders" },
25
25
  "previousVersion": { "type": ["string", "null"] },
26
26
  "changeReason": { "type": ["string", "null"] },
27
- "vibeCoding": { "type": "boolean", "default": false, "description": "True if project is built in vibe coding mode (developer + AI)" },
27
+ "analysisMode": { "type": "string", "const": "interactive", "description": "Analysis mode always interactive (AI listens, reformulates, challenges, validates)" },
28
28
  "mcpAvailable": { "type": "boolean" },
29
29
  "scope": { "type": "string", "enum": ["application", "module"], "default": "module" },
30
30
  "applicationRef": { "type": ["string", "null"], "description": "Parent application feature ID (FEAT-XXX)" },
@@ -9,6 +9,14 @@ next_step: steps/step-01-cadrage.md
9
9
 
10
10
  # Step 00: Initialize Business Analysis
11
11
 
12
+ **Before anything else**, display the version banner:
13
+
14
+ ```
15
+ ═══════════════════════════════════════════════════════════════
16
+ SmartStack Business Analyse — v{{SMARTSTACK_VERSION}}
17
+ ═══════════════════════════════════════════════════════════════
18
+ ```
19
+
12
20
  Initialize the business analysis workflow by auto-detecting whether this is a new application or an update to an existing one, then creating the initial feature.json structure.
13
21
 
14
22
  ## Flow
@@ -170,29 +178,16 @@ Ask via AskUserQuestion:
170
178
  language: string (code, e.g., "en", "fr")
171
179
  ```
172
180
 
173
- ## Step 5b: Detect Development Mode
181
+ ## Step 5b: Analysis Mode
174
182
 
175
- Determine if the project will be built in **vibe coding** mode (developer + AI) or by a human development team.
183
+ > The analysis phase is ALWAYS interactive the AI listens, reformulates,
184
+ > challenges, and validates with the user. This is non-negotiable regardless
185
+ > of development mode. Vibe coding applies to code execution (step-03+), NOT to analysis.
176
186
 
177
- ```
178
- Ask via AskUserQuestion:
179
- question: "Comment allez-vous developper ce projet ?"
180
- header: "Mode dev"
181
- options:
182
- - label: "Vibe coding (avec IA)"
183
- description: "Je developpe moi-meme avec l'aide de l'IA — questionnaire allege"
184
- - label: "Equipe de developpement"
185
- description: "Une equipe humaine va developper — analyse complete"
186
-
187
- IF user selects "Vibe coding (avec IA)":
188
- vibe_coding = true
189
- ELSE:
190
- vibe_coding = false
191
- ```
187
+ **Set directly (no question):**
192
188
 
193
- **Store:**
194
189
  ```yaml
195
- vibe_coding: boolean
190
+ analysisMode: "interactive" # Always interactive for cadrage
196
191
  ```
197
192
 
198
193
  ## Step 6: Generate Feature ID
@@ -288,7 +283,7 @@ ba-writer.createApplicationFeature({
288
283
  language: {language},
289
284
  featureDescription: {feature_description},
290
285
  workflowType: {workflow_type},
291
- vibeCoding: {vibe_coding},
286
+ analysisMode: "interactive",
292
287
  mcpAvailable: true,
293
288
  workflow: {
294
289
  mode: "application",
@@ -328,6 +323,7 @@ Update `.business-analyse/config.json` with new feature information.
328
323
  ```
329
324
  ═══════════════════════════════════════════════════════════════
330
325
  BUSINESS ANALYSIS INITIALIZATION COMPLETE
326
+ SmartStack CLI v{{SMARTSTACK_VERSION}}
331
327
  ═══════════════════════════════════════════════════════════════
332
328
 
333
329
  | Field | Value |
@@ -339,7 +335,7 @@ Update `.business-analyse/config.json` with new feature information.
339
335
  | Language | {language} |
340
336
  | Version | {version} |
341
337
  | MCP Available | true |
342
- | Dev Mode | {vibe_coding ? "Vibe coding" : "Standard"} |
338
+ | Analysis Mode | Interactive (always) |
343
339
 
344
340
  NEXT STEP: step-01-cadrage
345
341
  ═══════════════════════════════════════════════════════════════
@@ -359,7 +355,7 @@ language: string
359
355
  docs_dir: string
360
356
  mcp_available: boolean
361
357
  workflow_mode: "application"
362
- vibe_coding: boolean
358
+ analysisMode: "interactive"
363
359
  version: string
364
360
  ```
365
361