learnship 1.9.20 → 1.9.21

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "learnship",
3
3
  "description": "Agentic engineering done right — 42 structured workflows, persistent memory across sessions, integrated learning partner, and impeccable UI design system. Works with Claude Code, Windsurf, Cursor, Gemini CLI, OpenCode, and Codex.",
4
- "version": "1.9.20",
4
+ "version": "1.9.21",
5
5
  "author": {
6
6
  "name": "Favio Vazquez",
7
7
  "email": "favio.vazquezp@gmail.com"
@@ -2,7 +2,7 @@
2
2
  "name": "learnship",
3
3
  "displayName": "learnship",
4
4
  "description": "Agentic engineering done right — 42 structured workflows, persistent memory across sessions, integrated learning partner, and impeccable UI design system.",
5
- "version": "1.9.20",
5
+ "version": "1.9.21",
6
6
  "logo": "assets/logo.png",
7
7
  "author": {
8
8
  "name": "Favio Vazquez",
@@ -5,6 +5,54 @@ description: Activate learnship agentic engineering workflows — structured pha
5
5
 
6
6
  You are working inside a project that uses **learnship** — a multi-platform agentic engineering system for building real products with spec-driven workflows, integrated learning, and impeccable design.
7
7
 
8
+ ## Mandatory Gate — No Project, No Work
9
+
10
+ **Before responding to any user message, check:**
11
+
12
+ ```
13
+ Does .planning/PROJECT.md exist?
14
+ ```
15
+
16
+ - **No** → The project has not been initialized. **Do NOT implement anything.** Tell the user:
17
+
18
+ > "This project hasn't been set up with learnship yet. Run `/new-project` to initialize it — that takes about 10 minutes and sets up the spec, roadmap, and phase structure before any code gets written.
19
+ >
20
+ > This is not optional: working without a spec means building the wrong thing. `/new-project` first."
21
+
22
+ Then stop. Do not offer to help with the task. Do not say "but I can also just fix it directly." Wait for the user to run `/new-project`.
23
+
24
+ - **Yes** → Continue normally. Apply the workflow routing logic.
25
+
26
+ **This gate applies to ALL messages** — bug reports, feature requests, "quick fixes", detailed specs, anything. The only exception: if the user is currently mid-ceremony in `/new-project` (i.e., they are answering your questions), their messages are workflow answers, not tasks to route.
27
+
28
+ ## New Project Ceremony — /new-project
29
+
30
+ When the user runs `/new-project`, execute these **9 mandatory steps in order**. Do not skip, defer, or abbreviate any step.
31
+
32
+ **Checklist (check off as you go):**
33
+ - [ ] Step 1 — Setup & codebase check
34
+ - [ ] Step 1b — Existing codebase scan (if applicable)
35
+ - [ ] Step 2 — Configuration questions
36
+ - [ ] Step 3 — Deep questioning (4 exchanges minimum)
37
+ - [ ] Step 4 — Write and confirm PROJECT.md
38
+ - [ ] Step 5 — Research decision (ask user, wait for answer)
39
+ - [ ] Step 6 — Define requirements (interactive)
40
+ - [ ] Step 7 — Create and approve roadmap
41
+ - [ ] Step 8 — Generate AGENTS.md ← **mandatory, never skip**
42
+ - [ ] Step 9 — Done banner + next step
43
+
44
+ **Critical gates:**
45
+
46
+ 1. **Exchange 1 answer does NOT skip Exchanges 2–4.** No matter how detailed the user's answer to "What do you want to build?" — it is raw material for follow-ups, not a replacement. You MUST still ask Exchanges 2, 3, and 4.
47
+
48
+ 2. **After Step 4 (PROJECT.md confirmed):** Do NOT write REQUIREMENTS.md or ROADMAP.md. First ask: "Before I write the requirements — do you want me to research the domain ecosystem first?" Wait for reply.
49
+
50
+ 3. **After Step 7 (roadmap approved):** Do NOT display the done banner or suggest next steps. Generate AGENTS.md (Step 8) first.
51
+
52
+ 4. **Step 9 next step is `/discuss-phase 1` — not `/plan-phase`.** The phase loop is: `discuss-phase` → `plan-phase` → `execute-phase` → `verify-work`. `discuss-phase` is mandatory first — it writes the CONTEXT.md that planning depends on.
53
+
54
+ **Routing protocol suspended during `/new-project`.** Every user message while the ceremony is in progress is an answer to a workflow question, not a task to route.
55
+
8
56
  ## Core Workflows
9
57
 
10
58
  Suggest the appropriate workflow slash command when relevant:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "learnship",
3
- "version": "1.9.20",
3
+ "version": "1.9.21",
4
4
  "description": "Agentic engineering done right — 42 structured workflows, persistent memory across sessions, integrated learning partner, and impeccable UI design system.",
5
5
  "author": "Favio Vazquez",
6
6
  "homepage": "https://faviovazquez.github.io/learnship/",
@@ -6,6 +6,19 @@ description: Initialize a new project — questioning → research → requireme
6
6
 
7
7
  Initialize a new project with full context gathering, optional research, requirements scoping, and roadmap creation. This is the most leveraged moment in any project — deep questioning now means better plans, better execution, better outcomes.
8
8
 
9
+ > **This workflow has 9 mandatory steps. You must complete every step in order. Do not skip, defer, or abbreviate any step. Check each one off as you complete it:**
10
+ >
11
+ > - [ ] Step 1 — Setup & codebase check
12
+ > - [ ] Step 1b — Existing codebase scan (if applicable)
13
+ > - [ ] Step 2 — Configuration questions
14
+ > - [ ] Step 3 — Deep questioning (4 exchanges)
15
+ > - [ ] Step 4 — Write and confirm PROJECT.md
16
+ > - [ ] Step 5 — Research decision (ask user, wait for answer)
17
+ > - [ ] Step 6 — Define requirements (interactive)
18
+ > - [ ] Step 7 — Create and approve roadmap
19
+ > - [ ] Step 8 — Generate AGENTS.md ← **mandatory, never skip**
20
+ > - [ ] Step 9 — Done banner + next step
21
+
9
22
  ## Step 1: Setup
10
23
 
11
24
  <!-- LEARNSHIP_PLATFORM_LABEL -->
@@ -208,15 +221,15 @@ If user requests changes: update PROJECT.md, show the full file again, re-ask th
208
221
  git add .planning/PROJECT.md && git commit -m "docs: initialize project"
209
222
  ```
210
223
 
211
- > 🛑 STOP. Do not proceed to Step 5 until you have asked the research question below AND received the user's explicit answer to it.
224
+ > 🛑 STOP — **Step 4 complete. You MUST now ask the research question (Step 5) before writing any other file.** Do not write REQUIREMENTS.md. Do not write ROADMAP.md. Do not proceed to any other step. The next action is to ask the user exactly one question: whether to research the domain first.
212
225
 
213
226
  ## Step 5: Research Decision
214
227
 
215
- Ask: "Research the domain ecosystem before defining requirements?"
228
+ Ask: **"Before I write the requirements — do you want me to research the domain ecosystem first?"**
216
229
  - **Research first** (recommended) — Discover standard stacks, expected features, architecture patterns
217
230
  - **Skip research** — I know this domain well, go straight to requirements
218
231
 
219
- > 🛑 STOP. Wait for the user's explicit choice before continuing. Do not default to "Research first" wait for the user's actual reply.
232
+ > 🛑 STOP. Wait for the user's explicit choice. Do not default to either option. Do not write REQUIREMENTS.md yet. Do not proceed until the user replies.
220
233
 
221
234
  **If Research first:**
222
235
 
@@ -325,6 +338,8 @@ Ask for approval:
325
338
  git add .planning/ROADMAP.md .planning/STATE.md .planning/REQUIREMENTS.md && git commit -m "docs: create roadmap ([N] phases)"
326
339
  ```
327
340
 
341
+ > 🛑 STOP — **Step 7 complete. You MUST now generate AGENTS.md (Step 8) before anything else.** Do not display the done banner. Do not suggest next steps. Do not end the workflow. The roadmap is approved — AGENTS.md is next.
342
+
328
343
  ## Step 8: Generate AGENTS.md
329
344
 
330
345
  > **🔴 MANDATORY — This step must always be completed. Do not skip it, do not defer it, do not move to Step 9 without writing AGENTS.md to the project root. AGENTS.md is the persistent memory file that every future session depends on.**
@@ -378,7 +393,10 @@ Files created:
378
393
  - .planning/config.json
379
394
  [- .planning/research/ (if research was run)]
380
395
 
381
- ▶ Next: discuss-phase 1 plan-phase 1 execute-phase 1
396
+ ▶ Next: `/discuss-phase 1` **start here, not `/plan-phase`**
397
+
398
+ The phase loop is: `discuss-phase` → `plan-phase` → `execute-phase` → `verify-work`
399
+ `discuss-phase` is mandatory before planning — it captures your intent and writes the CONTEXT.md that plan-phase depends on. Skipping it means planning without context.
382
400
 
383
401
  > **Platform detected:** `[PLATFORM]` — parallelization is `[true/false]`
384
402
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "learnship",
3
- "version": "1.9.20",
3
+ "version": "1.9.21",
4
4
  "description": "Learn as you build. Build with intent. — A multi-platform agentic engineering system for Windsurf, Claude Code, Cursor, OpenCode, Gemini CLI, and Codex: spec-driven workflows, integrated learning, and production-grade design.",
5
5
  "keywords": [
6
6
  "agentic",