learnship 1.9.4 → 1.9.5

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.4",
4
+ "version": "1.9.5",
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.4",
5
+ "version": "1.9.5",
6
6
  "logo": "assets/logo.png",
7
7
  "author": {
8
8
  "name": "Favio Vazquez",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "learnship",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
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/",
@@ -8,23 +8,38 @@ Initialize a new project with full context gathering, optional research, require
8
8
 
9
9
  ## Step 1: Setup
10
10
 
11
- Check if `.planning/PROJECT.md` already exists:
11
+ **Detect the current platform** by inspecting which config directory this workflow file lives in:
12
12
 
13
13
  ```bash
14
- test -f .planning/PROJECT.md && echo "EXISTS" || echo "NEW"
15
- ```
14
+ # Check which platform config directory contains this workflow
15
+ test -f "$HOME/.claude/learnship/workflows/new-project.md" && echo "CLAUDE" || \
16
+ test -f "./.claude/learnship/workflows/new-project.md" && echo "CLAUDE" || \
17
+ test -f "$HOME/.config/opencode/learnship/workflows/new-project.md" && echo "OPENCODE" || \
18
+ test -f "./.opencode/learnship/workflows/new-project.md" && echo "OPENCODE" || \
19
+ test -f "$HOME/.gemini/learnship/workflows/new-project.md" && echo "GEMINI" || \
20
+ test -f "$HOME/.codex/learnship/workflows/new-project.md" && echo "CODEX" || \
21
+ echo "WINDSURF"
22
+ ```
23
+
24
+ Set `PLATFORM` to the detected value. If detection is ambiguous (e.g. multiple matches), ask: "Which platform are you running? (Windsurf / Claude Code / OpenCode / Gemini CLI / Codex CLI)"
25
+
26
+ Platform determines:
27
+ - Which directory to add to `.gitignore` (so AI config files aren't tracked)
28
+ - Whether to ask the parallelization question (Group D below)
29
+ - The gitignore directory by platform:
30
+ - **Windsurf** → `.windsurf/`
31
+ - **Claude Code** → `.claude/`
32
+ - **OpenCode** → `.opencode/`
33
+ - **Gemini CLI** → `.gemini/`
34
+ - **Codex CLI** → `.codex/`
16
35
 
17
- **If EXISTS:** Stop. Project already initialized. Use the `progress` workflow to see where you are.
36
+ Check if `.planning/PROJECT.md` already exists:
18
37
 
19
- Check if `.windsurf/` is already in `.gitignore`:
20
38
  ```bash
21
- grep -q '.windsurf' .gitignore 2>/dev/null && echo "IGNORED" || echo "NOT_IGNORED"
39
+ test -f .planning/PROJECT.md && echo "EXISTS" || echo "NEW"
22
40
  ```
23
41
 
24
- **If NOT_IGNORED:** Add it now (regardless of whether the project is new or existing):
25
- ```bash
26
- echo '.windsurf/' >> .gitignore
27
- ```
42
+ **If EXISTS:** Stop. Project already initialized. Use the `progress` workflow to see where you are.
28
43
 
29
44
  Check if git is initialized:
30
45
 
@@ -37,9 +52,11 @@ test -d .git && echo "HAS_GIT" || echo "NO_GIT"
37
52
  git init
38
53
  ```
39
54
 
40
- Immediately add `.windsurf/` to `.gitignore` so the AI platform files are not tracked in the project repo:
55
+ Add the platform config directory to `.gitignore` so AI platform files are not tracked in the project repo. Use the platform-specific directory detected above:
41
56
  ```bash
42
- echo '.windsurf/' >> .gitignore
57
+ # Example for Claude Code:
58
+ grep -q '.claude/' .gitignore 2>/dev/null || echo '.claude/' >> .gitignore
59
+ # (use the correct dir for the detected platform)
43
60
  ```
44
61
 
45
62
  Create the planning directory:
@@ -75,13 +92,15 @@ Ask: "Which workflow agents should be enabled?"
75
92
  - **Plan Check** (recommended) — Verify plans achieve their goals before execution
76
93
  - **Verifier** (recommended) — Confirm deliverables match phase goals after execution
77
94
 
78
- **Group D — Parallel execution (Claude Code, OpenCode, Gemini CLI, Codex CLI only — skip for Windsurf):**
95
+ **Group D — Parallel execution:**
79
96
 
80
- Ask: "Do you want to enable parallel subagent execution?"
81
- - **No** (recommended default) — Plans execute sequentially, one at a time. Always safe, works on all platforms.
82
- - **Yes** — Each independent plan in a wave gets its own dedicated subagent with a fresh context budget. Faster but requires a platform that supports real subagents (Claude Code, OpenCode, Gemini CLI, Codex CLI). **Not available on Windsurf.**
97
+ **If PLATFORM is `WINDSURF`:** Skip this question entirely. Set `parallelization: false` automatically. Windsurf does not support real subagents.
83
98
 
84
- > Only ask this question if the platform is not Windsurf. If on Windsurf, always set `parallelization: false`.
99
+ **If PLATFORM is `CLAUDE`, `OPENCODE`, `GEMINI`, or `CODEX`:** Ask this question these platforms support real subagents:
100
+
101
+ Ask: "Do you want to enable parallel subagent execution?"
102
+ - **No** (recommended default) — Plans execute sequentially, one at a time. Safer, easier to follow.
103
+ - **Yes** — Each independent plan in a wave gets its own dedicated subagent with a fresh context budget. Faster, but uses more tokens.
85
104
 
86
105
  Ask: "Commit planning docs to git?"
87
106
  - **Yes** (recommended) — Planning docs tracked in version control
@@ -335,6 +354,8 @@ Files created:
335
354
  [- .planning/research/ (if research was run)]
336
355
 
337
356
  ▶ Next: discuss-phase 1 → plan-phase 1 → execute-phase 1
357
+
358
+ > **Platform detected:** `[PLATFORM]` — parallelization is `[true/false]`
338
359
  ```
339
360
 
340
361
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "learnship",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
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",