@atlashub/smartstack-cli 3.50.0 → 3.51.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.
package/package.json
CHANGED
|
@@ -97,6 +97,12 @@ Parse the report to extract:
|
|
|
97
97
|
|
|
98
98
|
## STEP 2: ASK USER (4 MANDATORY QUESTIONS)
|
|
99
99
|
|
|
100
|
+
⛔ EXECUTION RULES FOR STEP 2:
|
|
101
|
+
- Each question = ONE separate AskUserQuestion call
|
|
102
|
+
- NEVER combine multiple questions into a single AskUserQuestion
|
|
103
|
+
- NEVER skip a question, even if a default seems obvious
|
|
104
|
+
- ALL 4 variables must be set by explicit user response before proceeding
|
|
105
|
+
|
|
100
106
|
> **Reconfigure mode:** When `EXISTING_GITFLOW=true` and user chose "Reconfigure", show existing values as "(Current)" recommended options in each question. This avoids forcing the user to re-enter everything.
|
|
101
107
|
|
|
102
108
|
### 2a. Repository URL
|
|
@@ -220,6 +226,8 @@ Normalize name into variants (PascalCase.Dot, PascalCase, kebab-case, snake_case
|
|
|
220
226
|
|
|
221
227
|
### 2d. Worktree Mode
|
|
222
228
|
|
|
229
|
+
⛔ MANDATORY — this question is FREQUENTLY SKIPPED by accident. ALWAYS ask it.
|
|
230
|
+
|
|
223
231
|
**Fresh init:**
|
|
224
232
|
```json
|
|
225
233
|
{
|
|
@@ -257,6 +265,21 @@ Store the result as `{WORKTREE_MODE}` ("organized", "simple", or "disabled").
|
|
|
257
265
|
|
|
258
266
|
---
|
|
259
267
|
|
|
268
|
+
## GATE CHECK: Verify all 4 questions were answered
|
|
269
|
+
|
|
270
|
+
⛔ BLOCKING — Do NOT proceed to step 3 until ALL variables are confirmed:
|
|
271
|
+
|
|
272
|
+
| Variable | Required | Source |
|
|
273
|
+
|----------|----------|--------|
|
|
274
|
+
| {REPO_URL} | ✅ | From command arg OR question 2a |
|
|
275
|
+
| {PROJECT_BASE} | ✅ | From question 2b |
|
|
276
|
+
| {PROJECT_NAME} | ✅ | From question 2c |
|
|
277
|
+
| {WORKTREE_MODE} | ✅ | From question 2d — MUST be "organized", "simple", or "disabled" |
|
|
278
|
+
|
|
279
|
+
If {WORKTREE_MODE} is not set, GO BACK and ask question 2d NOW.
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
260
283
|
## STEP 3: CLONE AND CREATE STRUCTURE
|
|
261
284
|
|
|
262
285
|
**Skip this step if `{WORKTREE_MODE}` is "disabled".**
|
|
@@ -170,6 +170,9 @@ AskUserQuestion:
|
|
|
170
170
|
|
|
171
171
|
## Question 5: Worktree Mode
|
|
172
172
|
|
|
173
|
+
⛔ CRITICAL — This question is the MOST FREQUENTLY SKIPPED.
|
|
174
|
+
It MUST be asked as a SEPARATE AskUserQuestion call. NEVER default silently.
|
|
175
|
+
|
|
173
176
|
```yaml
|
|
174
177
|
AskUserQuestion:
|
|
175
178
|
- header: "Worktrees"
|
|
@@ -87,6 +87,9 @@ See [references/init-name-normalization.md](../references/init-name-normalizatio
|
|
|
87
87
|
|
|
88
88
|
**⛔ MUST ASK — this determines the directory structure (step 8).**
|
|
89
89
|
|
|
90
|
+
⛔ BLOCKING: If you reach step 8 without having asked the worktree mode question
|
|
91
|
+
and received an explicit user answer, STOP and ask it NOW.
|
|
92
|
+
|
|
90
93
|
See [references/init-questions.md](../references/init-questions.md) → **Question 5** for options:
|
|
91
94
|
- **Organized** (recommended): `01-Main/`, `02-Develop/`, `features/`, `releases/`, `hotfixes/`
|
|
92
95
|
- **Simple**: `main/`, `develop/`, `features/`, `releases/`, `hotfixes/`
|