@atlashub/smartstack-cli 3.6.0 → 3.8.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 (40) hide show
  1. package/package.json +3 -2
  2. package/templates/skills/business-analyse/SKILL.md +6 -12
  3. package/templates/skills/business-analyse/_architecture.md +1 -1
  4. package/templates/skills/business-analyse/html/ba-interactive.html +3058 -2252
  5. package/templates/skills/business-analyse/html/build-html.js +77 -0
  6. package/templates/skills/business-analyse/html/src/scripts/01-data-init.js +129 -0
  7. package/templates/skills/business-analyse/html/src/scripts/02-navigation.js +22 -0
  8. package/templates/skills/business-analyse/html/src/scripts/03-render-cadrage.js +208 -0
  9. package/templates/skills/business-analyse/html/src/scripts/04-render-modules.js +211 -0
  10. package/templates/skills/business-analyse/html/src/scripts/05-render-specs.js +542 -0
  11. package/templates/skills/business-analyse/html/src/scripts/06-render-consolidation.js +105 -0
  12. package/templates/skills/business-analyse/html/src/scripts/07-render-handoff.js +90 -0
  13. package/templates/skills/business-analyse/html/src/scripts/08-editing.js +45 -0
  14. package/templates/skills/business-analyse/html/src/scripts/09-export.js +65 -0
  15. package/templates/skills/business-analyse/html/src/scripts/10-comments.js +165 -0
  16. package/templates/skills/business-analyse/html/src/scripts/11-review-panel.js +139 -0
  17. package/templates/skills/business-analyse/html/src/styles/01-variables.css +38 -0
  18. package/templates/skills/business-analyse/html/src/styles/02-layout.css +101 -0
  19. package/templates/skills/business-analyse/html/src/styles/03-navigation.css +62 -0
  20. package/templates/skills/business-analyse/html/src/styles/04-cards.css +196 -0
  21. package/templates/skills/business-analyse/html/src/styles/05-modules.css +325 -0
  22. package/templates/skills/business-analyse/html/src/styles/06-wireframes.css +230 -0
  23. package/templates/skills/business-analyse/html/src/styles/07-comments.css +184 -0
  24. package/templates/skills/business-analyse/html/src/styles/08-review-panel.css +229 -0
  25. package/templates/skills/business-analyse/html/src/template.html +622 -0
  26. package/templates/skills/business-analyse/react/components.md +1 -1
  27. package/templates/skills/business-analyse/react/schema.md +1 -1
  28. package/templates/skills/business-analyse/references/html-data-mapping.md +2 -2
  29. package/templates/skills/business-analyse/schemas/feature-schema.json +1 -1
  30. package/templates/skills/business-analyse/steps/step-00-init.md +8 -1
  31. package/templates/skills/business-analyse/steps/step-03d-validate.md +1 -1
  32. package/templates/skills/business-analyse/steps/step-04-consolidation.md +21 -0
  33. package/templates/skills/business-analyse/steps/step-05a-handoff.md +273 -10
  34. package/templates/skills/business-analyse/steps/{step-05d-html.md → step-05b-deploy.md} +262 -63
  35. package/templates/skills/business-analyse/templates/tpl-launch-displays.md +1 -1
  36. package/templates/skills/business-analyse/templates/tpl-progress.md +1 -1
  37. package/templates/skills/ralph-loop/SKILL.md +3 -3
  38. package/templates/skills/ralph-loop/steps/step-00-init.md +77 -1
  39. package/templates/skills/business-analyse/steps/step-05b-mapping.md +0 -302
  40. package/templates/skills/business-analyse/steps/step-05c-deploy.md +0 -296
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlashub/smartstack-cli",
3
- "version": "3.6.0",
3
+ "version": "3.8.0",
4
4
  "description": "SmartStack Claude Code automation toolkit - GitFlow, EF Core migrations, prompts and more",
5
5
  "author": {
6
6
  "name": "SmartStack",
@@ -54,7 +54,8 @@
54
54
  "scripts": {
55
55
  "postinstall": "node scripts/postinstall.js || true",
56
56
  "dev": "tsup --watch",
57
- "build": "npx tsup",
57
+ "build:html": "node templates/skills/business-analyse/html/build-html.js",
58
+ "build": "npm run build:html && npx tsup",
58
59
  "lint": "eslint src --ext .ts",
59
60
  "format": "prettier --write \"src/**/*.ts\"",
60
61
  "prepublishOnly": "npm run build",
@@ -60,8 +60,8 @@ docs/business/
60
60
  **Ralph Loop files (generated by step-05):**
61
61
  ```
62
62
  .ralph/
63
- ├── prd.json # Task breakdown for /ralph-loop -r
64
- └── progress.txt # Links to BA documents
63
+ ├── prd-{moduleCode}.json # Per-module task breakdown for /ralph-loop
64
+ └── progress.txt # Links to BA documents
65
65
  ```
66
66
 
67
67
  **Documentation integrated in SmartStack app:**
@@ -101,12 +101,8 @@ When step-00 detects that the description matches an existing application:
101
101
  - **Step 03d:** Per-module validate: completeness checks, write feature.json, incremental HTML, loop
102
102
  - Loop: 03a → 03b → 03c → 03d → 03a (next module) until all specified (specified)
103
103
  - **Step 04:** Cross-module consolidation (consolidated)
104
- - **Step 05a:** Handoff strategy: file mapping (7 categories)
105
- - **Step 05b:** Handoff mapping: BR-to-code, API summary, write to feature.json
106
- - **Step 05c:** Deploy artifacts: prd.json, progress.txt, manifest
107
- - **Step 05d:** Deploy interactive HTML: ba-interactive.html pre-populated (handed-off)
108
- - Display completion summary with `/ralph-loop -r` command
109
- - User reviews deliverables with stakeholders before launching development
104
+ - **Step 05a:** Handoff: file mapping (7 categories), BR-to-code mapping, API summary, write to feature.json
105
+ - **Step 05b:** Deploy: prd.json, progress.txt, manifest, ba-interactive.html pre-populated (handed-off)
110
106
 
111
107
  **Update workflow (same phases, delta focus):**
112
108
  - **Step 00:** Detection, locate existing feature, create version N+1
@@ -151,10 +147,8 @@ When step-00 detects that the description matches an existing application:
151
147
  | 03c | `steps/step-03c-compile.md` | Opus | Per-module: actors, UCs, FRs, permissions, nav, seed data, i18n |
152
148
  | 03d | `steps/step-03d-validate.md` | Sonnet | Per-module: validation, write, incremental HTML, loop decision |
153
149
  | 04 | `steps/step-04-consolidation.md` | Opus | Cross-module validation, E2E flows, permissions coherence |
154
- | 05a | `steps/step-05a-handoff.md` | Sonnet | Handoff strategy, file mapping (7 categories) |
155
- | 05b | `steps/step-05b-mapping.md` | Sonnet | BR-to-code mapping, API summary, write handoff |
156
- | 05c | `steps/step-05c-deploy.md` | Sonnet | Generate prd.json, progress.txt, manifest, summary |
157
- | 05d | `steps/step-05d-html.md` | Sonnet | Deploy ba-interactive.html pre-populated with all data |
150
+ | 05a | `steps/step-05a-handoff.md` | Sonnet | Handoff: file mapping (7 categories), BR-to-code mapping, API summary, write handoff |
151
+ | 05b | `steps/step-05b-deploy.md` | Sonnet | Deploy: prd.json, progress.txt, manifest, ba-interactive.html, auto-launch ralph-loop |
158
152
 
159
153
  </step_files>
160
154
 
@@ -1,6 +1,6 @@
1
1
  # Business Analysis - SmartStack Architecture Reference (_architecture.md)
2
2
 
3
- > **Loaded by:** step-01-cadrage, step-03a-data, step-05a-handoff, step-05b-mapping
3
+ > **Loaded by:** step-01-cadrage, step-03a-data, step-05a-handoff
4
4
  > **Purpose:** Provide architectural context for relevant questions and aligned recommendations
5
5
 
6
6
  ---