erne-universal 0.10.12 → 0.10.14

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.
@@ -43,27 +43,27 @@
43
43
  "visual-debugger"
44
44
  ],
45
45
  "commands": [
46
- "plan",
47
- "code-review",
48
- "tdd",
49
- "build-fix",
50
- "perf",
51
- "upgrade",
52
- "native-module",
53
- "navigate",
54
- "animate",
55
- "deploy",
56
- "component",
57
- "debug",
58
- "debug-visual",
59
- "quality-gate",
60
- "code",
61
- "feature",
62
- "learn",
63
- "retrospective",
64
- "setup-device",
65
- "orchestrate",
66
- "worker"
46
+ "erne-plan",
47
+ "erne-code-review",
48
+ "erne-tdd",
49
+ "erne-build-fix",
50
+ "erne-perf",
51
+ "erne-upgrade",
52
+ "erne-native-module",
53
+ "erne-navigate",
54
+ "erne-animate",
55
+ "erne-deploy",
56
+ "erne-component",
57
+ "erne-debug",
58
+ "erne-debug-visual",
59
+ "erne-quality-gate",
60
+ "erne-code",
61
+ "erne-feature",
62
+ "erne-learn",
63
+ "erne-retrospective",
64
+ "erne-setup-device",
65
+ "erne-orchestrate",
66
+ "erne-worker"
67
67
  ],
68
68
  "skills": [
69
69
  "coding-standards",
package/CLAUDE.md CHANGED
@@ -123,7 +123,7 @@ When a user's message matches these signals, automatically use the corresponding
123
123
 
124
124
  ## Available Commands
125
125
 
126
- Use `/plan`, `/code-review`, `/tdd`, `/build-fix`, `/perf`, `/upgrade`, `/native-module`, `/navigate`, `/animate`, `/deploy`, `/component`, `/debug`, `/debug-visual`, `/audit`, `/quality-gate`, `/code`, `/feature`, `/learn`, `/retrospective`, `/setup-device` for guided workflows.
126
+ Use `/erne-plan`, `/erne-code-review`, `/erne-tdd`, `/erne-build-fix`, `/erne-perf`, `/erne-upgrade`, `/erne-native-module`, `/erne-navigate`, `/erne-animate`, `/erne-deploy`, `/erne-component`, `/erne-debug`, `/erne-debug-visual`, `/erne-audit`, `/erne-quality-gate`, `/erne-code`, `/erne-feature`, `/erne-learn`, `/erne-retrospective`, `/erne-setup-device` for guided workflows.
127
127
 
128
128
  ## Worker Mode (Autonomous Ticket Execution)
129
129
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: animate
3
- description: Implement animations using the ui-designer agent with Reanimated and Gesture Handler
2
+ name: erne-animate
3
+ description: ERNE — Implement animations using the ui-designer agent with Reanimated and Gesture Handler
4
4
  ---
5
5
 
6
- # /animate — Implement Animations
6
+ # /erne-animate — Implement Animations
7
7
 
8
- You are executing the `/animate` command. Use the **ui-designer** agent to implement animations.
8
+ You are executing the `/erne-animate` command. Use the **ui-designer** agent to implement animations.
9
9
 
10
10
  ## Process
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: build-fix
3
- description: Diagnose and fix build failures using the expo-config-resolver agent
2
+ name: erne-build-fix
3
+ description: ERNE — Diagnose and fix build failures using the expo-config-resolver agent
4
4
  ---
5
5
 
6
- # /build-fix — Fix Build Failures
6
+ # /erne-build-fix — Fix Build Failures
7
7
 
8
- You are executing the `/build-fix` command. Use the **expo-config-resolver** agent to diagnose and fix build errors.
8
+ You are executing the `/erne-build-fix` command. Use the **expo-config-resolver** agent to diagnose and fix build errors.
9
9
 
10
10
  ## Diagnostic Process
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: code-review
3
- description: Comprehensive code review combining code quality and performance analysis
2
+ name: erne-code-review
3
+ description: ERNE — Comprehensive code review combining code quality and performance analysis
4
4
  ---
5
5
 
6
- # /code-review — Full Code Review
6
+ # /erne-code-review — Full Code Review
7
7
 
8
- You are executing the `/code-review` command. Run **code-reviewer** and **performance-profiler** agents in parallel for comprehensive review.
8
+ You are executing the `/erne-code-review` command. Run **code-reviewer** and **performance-profiler** agents in parallel for comprehensive review.
9
9
 
10
10
  ## Parallel Execution
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: code
3
- description: Implement features using the senior-developer agent
2
+ name: erne-code
3
+ description: ERNE — Implement features using the senior-developer agent
4
4
  ---
5
5
 
6
- # /code — Feature Implementation
6
+ # /erne-code — Feature Implementation
7
7
 
8
- You are executing the `/code` command. Use the **senior-developer** agent to implement production-grade feature code.
8
+ You are executing the `/erne-code` command. Use the **senior-developer** agent to implement production-grade feature code.
9
9
 
10
10
  ## Process
11
11
 
@@ -30,4 +30,4 @@ You are executing the `/code` command. Use the **senior-developer** agent to imp
30
30
 
31
31
  - Reference the active platform rules layer for conventions
32
32
  - Follow the project's import ordering: react -> react-native -> expo -> external -> internal -> types
33
- - If the task is a single isolated unit (one screen, one hook), consider `/feature` instead
33
+ - If the task is a single isolated unit (one screen, one hook), consider `/erne-feature` instead
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: component
3
- description: Design and test UI components using parallel ui-designer and tdd-guide agents
2
+ name: erne-component
3
+ description: ERNE — Design and test UI components using parallel ui-designer and tdd-guide agents
4
4
  ---
5
5
 
6
- # /component — Design + Test Component
6
+ # /erne-component — Design + Test Component
7
7
 
8
- You are executing the `/component` command. Run **ui-designer** and **tdd-guide** in parallel. One designs the component, the other writes tests.
8
+ You are executing the `/erne-component` command. Run **ui-designer** and **tdd-guide** in parallel. One designs the component, the other writes tests.
9
9
 
10
10
  ## Parallel Execution
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: debug-visual
3
- description: Screenshot-based visual debugging using the visual-debugger agent
2
+ name: erne-debug-visual
3
+ description: ERNE — Screenshot-based visual debugging using the visual-debugger agent
4
4
  ---
5
5
 
6
- # /debug-visual — Visual Debugging
6
+ # /erne-debug-visual — Visual Debugging
7
7
 
8
- You are executing the `/debug-visual` command. Use the **visual-debugger** agent for screenshot-based UI analysis and fixing.
8
+ You are executing the `/erne-debug-visual` command. Use the **visual-debugger** agent for screenshot-based UI analysis and fixing.
9
9
 
10
10
  ## Arguments
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: debug
3
- description: Systematic diagnosis of bugs using the performance-profiler agent
2
+ name: erne-debug
3
+ description: ERNE — Systematic diagnosis of bugs using the performance-profiler agent
4
4
  ---
5
5
 
6
- # /debug — Systematic Diagnosis
6
+ # /erne-debug — Systematic Diagnosis
7
7
 
8
- You are executing the `/debug` command. Use the **performance-profiler** agent for systematic bug diagnosis.
8
+ You are executing the `/erne-debug` command. Use the **performance-profiler** agent for systematic bug diagnosis.
9
9
 
10
10
  ## Process
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: deploy
3
- description: Validate and submit app builds using parallel expo-config-resolver and code-reviewer agents
2
+ name: erne-deploy
3
+ description: ERNE — Validate and submit app builds using parallel expo-config-resolver and code-reviewer agents
4
4
  ---
5
5
 
6
- # /deploy — Validate & Submit
6
+ # /erne-deploy — Validate & Submit
7
7
 
8
- You are executing the `/deploy` command. Run **expo-config-resolver** and **code-reviewer** in parallel. One validates build/deploy config, the other reviews code quality.
8
+ You are executing the `/erne-deploy` command. Run **expo-config-resolver** and **code-reviewer** in parallel. One validates build/deploy config, the other reviews code quality.
9
9
 
10
10
  ## Parallel Execution
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: feature
3
- description: Build a focused feature unit using the feature-builder agent
2
+ name: erne-feature
3
+ description: ERNE — Build a focused feature unit using the feature-builder agent
4
4
  ---
5
5
 
6
- # /feature — Focused Feature Unit
6
+ # /erne-feature — Focused Feature Unit
7
7
 
8
- You are executing the `/feature` command. Use the **feature-builder** agent to implement a discrete, scoped feature unit.
8
+ You are executing the `/erne-feature` command. Use the **feature-builder** agent to implement a discrete, scoped feature unit.
9
9
 
10
10
  ## Process
11
11
 
@@ -25,13 +25,13 @@ You are executing the `/feature` command. Use the **feature-builder** agent to i
25
25
 
26
26
  ## Parallel Work
27
27
 
28
- When used alongside `/code` (senior-developer):
29
- - `/code` handles: data layer, stores, navigation skeleton, complex multi-screen flows
30
- - `/feature` handles: individual screens, isolated components, utility hooks, API wrappers
28
+ When used alongside `/erne-code` (senior-developer):
29
+ - `/erne-code` handles: data layer, stores, navigation skeleton, complex multi-screen flows
30
+ - `/erne-feature` handles: individual screens, isolated components, utility hooks, API wrappers
31
31
  - Coordinate via shared type definitions and agreed interfaces
32
32
 
33
33
  ## Notes
34
34
 
35
35
  - Reference the active platform rules layer for conventions
36
- - Keep scope tight — if the task touches more than 3 files, use `/code` instead
36
+ - Keep scope tight — if the task touches more than 3 files, use `/erne-code` instead
37
37
  - Every delivered unit must include its integration point documentation
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: learn
3
- description: Manual skill generation — runs continuous-learning-v2 scripts to extract patterns from session
2
+ name: erne-learn
3
+ description: ERNE — Manual skill generation — runs continuous-learning-v2 scripts to extract patterns from session
4
4
  ---
5
5
 
6
- # /learn — Generate Skills from Session
6
+ # /erne-learn — Generate Skills from Session
7
7
 
8
- You are executing the `/learn` command. This is **script-driven** — it runs the continuous-learning-v2 pipeline directly.
8
+ You are executing the `/erne-learn` command. This is **script-driven** — it runs the continuous-learning-v2 pipeline directly.
9
9
 
10
10
  ## What This Does
11
11
 
@@ -53,4 +53,4 @@ Ensures new rules/skills have valid frontmatter and don't conflict with existing
53
53
  - Periodically to capture accumulated project knowledge
54
54
 
55
55
  ## Note
56
- The automatic `PostToolUse` hook (`continuous-learning-v2.cjs`) does lightweight extraction after every tool call. This `/learn` command runs a comprehensive analysis that catches patterns the real-time hook might miss.
56
+ The automatic `PostToolUse` hook (`continuous-learning-v2.cjs`) does lightweight extraction after every tool call. This `/erne-learn` command runs a comprehensive analysis that catches patterns the real-time hook might miss.
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: native-module
3
- description: Create native modules with sequential native-bridge-builder then code-reviewer agents
2
+ name: erne-native-module
3
+ description: ERNE — Create native modules with sequential native-bridge-builder then code-reviewer agents
4
4
  ---
5
5
 
6
- # /native-module — Create Native Module
6
+ # /erne-native-module — Create Native Module
7
7
 
8
- You are executing the `/native-module` command. Run **native-bridge-builder** first (create the module), then **code-reviewer** (review it). This is sequential, not parallel.
8
+ You are executing the `/erne-native-module` command. Run **native-bridge-builder** first (create the module), then **code-reviewer** (review it). This is sequential, not parallel.
9
9
 
10
10
  ## Phase 1: native-bridge-builder — Scaffold & Implement
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: navigate
3
- description: Design navigation architecture using the architect agent
2
+ name: erne-navigate
3
+ description: ERNE — Design navigation architecture using the architect agent
4
4
  ---
5
5
 
6
- # /navigate — Navigation Design
6
+ # /erne-navigate — Navigation Design
7
7
 
8
- You are executing the `/navigate` command. Use the **architect** agent to design navigation structure.
8
+ You are executing the `/erne-navigate` command. Use the **architect** agent to design navigation structure.
9
9
 
10
10
  ## Process
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: orchestrate
3
- description: Run a full multi-agent pipeline from plan to validation using the pipeline-orchestrator agent
2
+ name: erne-orchestrate
3
+ description: ERNE — Run a full multi-agent pipeline from plan to validation using the pipeline-orchestrator agent
4
4
  ---
5
5
 
6
- # /orchestrate — Multi-Agent Pipeline Execution
6
+ # /erne-orchestrate — Multi-Agent Pipeline Execution
7
7
 
8
- You are executing the `/orchestrate` command. Use the **pipeline-orchestrator** agent to coordinate a full pipeline across multiple ERNE agents.
8
+ You are executing the `/erne-orchestrate` command. Use the **pipeline-orchestrator** agent to coordinate a full pipeline across multiple ERNE agents.
9
9
 
10
10
  ## Usage
11
11
 
@@ -112,4 +112,4 @@ The pipeline-orchestrator provides a live progress table and a final summary:
112
112
  - The pipeline-orchestrator does not write code — it coordinates agents
113
113
  - Handoffs between agents follow the templates in `docs/handoff-templates.md`
114
114
  - Full pipeline documentation is in `docs/pipeline.md`
115
- - If the task is too small for a full pipeline (e.g., a one-file fix), consider using `/code` or `/tdd` instead
115
+ - If the task is too small for a full pipeline (e.g., a one-file fix), consider using `/erne-code` or `/erne-tdd` instead
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: perf
3
- description: Performance profiling and optimization using the performance-profiler agent
2
+ name: erne-perf
3
+ description: ERNE — Performance profiling and optimization using the performance-profiler agent
4
4
  ---
5
5
 
6
- # /perf — Performance Profiling
6
+ # /erne-perf — Performance Profiling
7
7
 
8
- You are executing the `/perf` command. Use the **performance-profiler** agent to diagnose and fix performance issues.
8
+ You are executing the `/erne-perf` command. Use the **performance-profiler** agent to diagnose and fix performance issues.
9
9
 
10
10
  ## Diagnostic Areas
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: plan
3
- description: Design feature architecture using the architect agent
2
+ name: erne-plan
3
+ description: ERNE — Design feature architecture using the architect agent
4
4
  ---
5
5
 
6
- # /plan — Feature Architecture Design
6
+ # /erne-plan — Feature Architecture Design
7
7
 
8
- You are executing the `/plan` command. Use the **architect** agent to design a feature architecture.
8
+ You are executing the `/erne-plan` command. Use the **architect** agent to design a feature architecture.
9
9
 
10
10
  ## Process
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: quality-gate
3
- description: Pre-merge quality checks using parallel code-reviewer and performance-profiler agents
2
+ name: erne-quality-gate
3
+ description: ERNE — Pre-merge quality checks using parallel code-reviewer and performance-profiler agents
4
4
  ---
5
5
 
6
- # /quality-gate — Pre-Merge Checks
6
+ # /erne-quality-gate — Pre-Merge Checks
7
7
 
8
- You are executing the `/quality-gate` command. Run **code-reviewer** and **performance-profiler** in parallel for comprehensive pre-merge validation.
8
+ You are executing the `/erne-quality-gate` command. Run **code-reviewer** and **performance-profiler** in parallel for comprehensive pre-merge validation.
9
9
 
10
10
  ## Parallel Execution
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: retrospective
3
- description: Session analysis — runs evaluate-session.js to review work quality and suggest improvements
2
+ name: erne-retrospective
3
+ description: ERNE — Session analysis — runs the session evaluator to review work quality and suggest improvements
4
4
  ---
5
5
 
6
- # /retrospective — Session Analysis
6
+ # /erne-retrospective — Session Analysis
7
7
 
8
- You are executing the `/retrospective` command. This is **script-driven** — it runs the session evaluation pipeline.
8
+ You are executing the `/erne-retrospective` command. This is **script-driven** — it runs the session evaluation pipeline.
9
9
 
10
10
  ## What This Does
11
11
 
@@ -1,15 +1,15 @@
1
1
  ---
2
- name: setup-device
3
- description: Install and configure agent-device MCP server for simulator/emulator control
2
+ name: erne-setup-device
3
+ description: ERNE — Install and configure agent-device MCP server for simulator/emulator control
4
4
  ---
5
5
 
6
- # /setup-device — Setup Device Control
6
+ # /erne-setup-device — Setup Device Control
7
7
 
8
- You are executing the `/setup-device` command. This is **script-driven** — it sets up the agent-device MCP server.
8
+ You are executing the `/erne-setup-device` command. This is **script-driven** — it sets up the agent-device MCP server.
9
9
 
10
10
  ## What This Does
11
11
 
12
- Installs and configures the agent-device MCP server so commands like `/debug`, `/perf`, `/component`, and `/deploy` gain visual device interaction capabilities.
12
+ Installs and configures the agent-device MCP server so commands like `/erne-debug`, `/erne-perf`, `/erne-component`, and `/erne-deploy` gain visual device interaction capabilities.
13
13
 
14
14
  ## Process
15
15
 
@@ -62,11 +62,11 @@ After setup, these commands gain enhanced capabilities:
62
62
 
63
63
  | Command | Enhancement |
64
64
  |---------|-------------|
65
- | `/debug` | Screenshot reproduction steps, tap through UI |
66
- | `/perf` | Measure real FPS, capture actual jank frames |
67
- | `/component` | Render on device, visual verification screenshot |
68
- | `/deploy` | Launch preview build, verify UI before submit |
69
- | `/build-fix` | Build, install, and launch to verify fix |
65
+ | `/erne-debug` | Screenshot reproduction steps, tap through UI |
66
+ | `/erne-perf` | Measure real FPS, capture actual jank frames |
67
+ | `/erne-component` | Render on device, visual verification screenshot |
68
+ | `/erne-deploy` | Launch preview build, verify UI before submit |
69
+ | `/erne-build-fix` | Build, install, and launch to verify fix |
70
70
 
71
71
  ### Output
72
72
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: tdd
3
- description: Test-driven development workflow with Jest and React Native Testing Library
2
+ name: erne-tdd
3
+ description: ERNE — Test-driven development workflow with Jest and React Native Testing Library
4
4
  ---
5
5
 
6
- # /tdd — Test-Driven Development
6
+ # /erne-tdd — Test-Driven Development
7
7
 
8
- You are executing the `/tdd` command. Use the **tdd-guide** agent to implement features test-first.
8
+ You are executing the `/erne-tdd` command. Use the **tdd-guide** agent to implement features test-first.
9
9
 
10
10
  ## Red-Green-Refactor Cycle
11
11
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: upgrade
3
- description: Version migration for Expo SDK and React Native using the upgrade-assistant agent
2
+ name: erne-upgrade
3
+ description: ERNE — Version migration for Expo SDK and React Native using the upgrade-assistant agent
4
4
  ---
5
5
 
6
- # /upgrade — Version Migration
6
+ # /erne-upgrade — Version Migration
7
7
 
8
- You are executing the `/upgrade` command. Use the **upgrade-assistant** agent for guided version migration.
8
+ You are executing the `/erne-upgrade` command. Use the **upgrade-assistant** agent for guided version migration.
9
9
 
10
10
  ## 5-Step Upgrade Process
11
11
 
@@ -1,9 +1,9 @@
1
1
  ---
2
- name: worker
3
- description: Autonomous ticket execution — polls a provider, picks up ready tickets, and runs the full ERNE pipeline (validate, plan, code, test, review, PR).
2
+ name: erne-worker
3
+ description: ERNE — Autonomous ticket execution — polls a provider, picks up ready tickets, and runs the full ERNE pipeline (validate, plan, code, test, review, PR).
4
4
  ---
5
5
 
6
- # /worker — Autonomous Ticket Execution
6
+ # /erne-worker — Autonomous Ticket Execution
7
7
 
8
8
  ## Usage
9
9
 
package/lib/claude-md.js CHANGED
@@ -69,7 +69,7 @@ const STORAGE_LABELS = {
69
69
  'async-storage': 'AsyncStorage',
70
70
  };
71
71
 
72
- const AVAILABLE_COMMANDS = '/plan, /code-review, /tdd, /build-fix, /perf, /upgrade, /native-module, /debug, /debug-visual, /deploy,\n/component, /navigate, /animate, /orchestrate, /quality-gate, /code, /feature, /worker, /audit, /learn, /retrospective, /setup-device';
72
+ const AVAILABLE_COMMANDS = '/erne-plan, /erne-code-review, /erne-tdd, /erne-build-fix, /erne-perf, /erne-upgrade, /erne-native-module, /erne-debug, /erne-debug-visual, /erne-deploy,\n/erne-component, /erne-navigate, /erne-animate, /erne-orchestrate, /erne-quality-gate, /erne-code, /erne-feature, /erne-worker, /erne-audit, /erne-learn, /erne-retrospective, /erne-setup-device';
73
73
 
74
74
  /**
75
75
  * Read project name from package.json or fallback to directory basename.
package/lib/init.js CHANGED
@@ -238,6 +238,9 @@ module.exports = async function init() {
238
238
  console.log(` ✓ .claude/rules/ (layers: ${ruleLayers.join(', ')})`);
239
239
  console.log(` ✓ .claude/hooks.json (${profile} profile)`);
240
240
  console.log(` ✓ .claude/mcp/ (${mcpCount} servers)`);
241
+ if (mcpCount > 0) {
242
+ console.log(' ⚠ MCP servers configured in .mcp.json — restart Claude Code session to activate');
243
+ }
241
244
  console.log(' ✓ .claude/settings.json');
242
245
 
243
246
  // Handle CLAUDE.md
@@ -270,48 +273,49 @@ module.exports = async function init() {
270
273
  console.log(` ⚠ Audit skipped: ${err.message}`);
271
274
  }
272
275
 
273
- // ─── Step 6: Launch Dashboard ───
276
+ // ─── Step 6: Dashboard Info ───
274
277
  const skipDashboard = process.env.NODE_TEST || process.env.ERNE_SKIP_DASHBOARD;
275
- if (!skipDashboard) console.log(' Step 6: Launching dashboard...\n');
276
- try {
277
- if (skipDashboard) throw new Error('skipped in test');
278
- const { fork } = require('child_process');
279
- const fs = require('fs');
280
- const dashboardDir = path.resolve(__dirname, '..', 'dashboard');
281
- const serverPath = path.resolve(dashboardDir, 'server.js');
282
-
283
- // Install dashboard deps if needed
284
- if (!fs.existsSync(path.join(dashboardDir, 'node_modules', 'better-sqlite3'))) {
285
- console.log(' Installing dashboard dependencies...');
286
- require('child_process').execSync('npm install --production', { cwd: dashboardDir, stdio: 'ignore' });
287
- }
288
-
289
- // Fork dashboard server in background
290
- const child = fork(serverPath, ['--no-open'], {
291
- cwd,
292
- detached: true,
293
- stdio: 'ignore',
294
- env: { ...process.env, ERNE_PROJECT_DIR: cwd },
295
- });
296
- child.unref();
297
-
298
- // Wait briefly for server to start, then open browser
299
- setTimeout(() => {
300
- try {
301
- const { resolveDashboardPort } = require('../scripts/hooks/lib/port-registry');
302
- const port = resolveDashboardPort(cwd) || 3333;
303
- const open = process.platform === 'darwin' ? 'open' : process.platform === 'win32' ? 'start' : 'xdg-open';
304
- require('child_process').exec(`${open} http://localhost:${port}`);
305
- console.log(` ✓ Dashboard running at http://localhost:${port}`);
306
- } catch {
307
- console.log(' ✓ Dashboard started in background');
278
+ if (!skipDashboard) {
279
+ try {
280
+ const fs2 = require('fs');
281
+ const dashboardDir = path.resolve(__dirname, '..', 'dashboard');
282
+ const depsInstalled = fs2.existsSync(path.join(dashboardDir, 'node_modules', 'better-sqlite3'));
283
+
284
+ if (depsInstalled) {
285
+ const serverPath = path.resolve(dashboardDir, 'server.js');
286
+ const { fork } = require('child_process');
287
+ const child = fork(serverPath, [], {
288
+ cwd,
289
+ detached: true,
290
+ stdio: 'ignore',
291
+ env: { ...process.env, ERNE_PROJECT_DIR: cwd },
292
+ });
293
+ child.unref();
294
+
295
+ let port = 3333;
296
+ try {
297
+ const { resolveDashboardPort } = require('../scripts/hooks/lib/port-registry');
298
+ port = resolveDashboardPort(cwd) || 3333;
299
+ } catch { /* fallback 3333 */ }
300
+
301
+ console.log(` ✓ Dashboard: http://localhost:${port}`);
302
+ } else {
303
+ console.log(' ℹ Dashboard: run \x1b[36mnpx erne-universal dashboard\x1b[0m to start (first launch installs deps ~2min)');
308
304
  }
309
- }, 2000);
310
- } catch (err) {
311
- console.log(` ⚠ Dashboard skipped: ${err.message}`);
305
+ } catch {
306
+ console.log(' Dashboard: run \x1b[36mnpx erne-universal dashboard\x1b[0m to start');
307
+ }
312
308
  }
313
309
 
314
- console.log('\n Done! Run /plan to start your first feature.\n');
310
+ console.log('');
311
+ console.log(' \x1b[32mDone!\x1b[0m ERNE is ready.');
312
+ console.log('');
313
+ console.log(' Next steps:');
314
+ console.log(' • Type \x1b[36m/erne-plan\x1b[0m to plan a feature');
315
+ console.log(' • Type \x1b[36m/erne-perf\x1b[0m to profile performance');
316
+ console.log(' • Type \x1b[36m/erne-doctor\x1b[0m to check project health');
317
+ console.log(' • See all commands: type \x1b[36m/erne-\x1b[0m and press Tab');
318
+ console.log('');
315
319
  } finally {
316
320
  if (rl) rl.close();
317
321
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erne-universal",
3
- "version": "0.10.12",
3
+ "version": "0.10.14",
4
4
  "description": "Complete AI coding agent harness for React Native and Expo development",
5
5
  "keywords": [
6
6
  "react-native",
@@ -11,17 +11,17 @@ This skill manages the continuous learning pipeline — observing patterns durin
11
11
 
12
12
  ```
13
13
  PostToolUse hook (real-time)
14
- → continuous-learning-observer.cjs (lightweight pattern capture)
14
+ `continuous-learning-observer.cjs` (lightweight pattern capture)
15
15
  → patterns stored in .claude/memory/observations/
16
16
 
17
17
  /learn command (manual, comprehensive)
18
- → extract-session-patterns.js (full session analysis)
19
- → analyze-patterns.js (pattern clustering + dedup)
18
+ `extract-session-patterns.js` (full session analysis)
19
+ `analyze-patterns.js` (pattern clustering + dedup)
20
20
  → skill-generator prompt (create new content)
21
- → validate-content.js (verify new content is valid)
21
+ `validate-content.js` (verify new content is valid)
22
22
 
23
23
  /retrospective command (session end)
24
- → evaluate-session.js (quality metrics + suggestions)
24
+ `evaluate-session.js` (quality metrics + suggestions)
25
25
  ```
26
26
 
27
27
  ## How It Works