@nexus-framework/cli 0.1.2 → 0.1.4

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.
@@ -57,20 +57,34 @@ function generateInstructions(config) {
57
57
 
58
58
  > **This file is the single source of truth for all AI coding assistants.**
59
59
  > It is auto-generated by [NEXUS CLI](https://github.com/GDA-Africa/nexus-cli) v${version}.
60
- > Root-level config files (.cursorrules, .windsurfrules, etc.) point here.
60
+ > Root-level config files (.cursorrules, .windsurfrules, etc.) embed these same rules.
61
61
 
62
62
  ---
63
63
 
64
- ## ⚠️ Before You Do Anything
64
+ ## 🧠 YOUR BRAIN: \`.nexus/docs/index.md\`
65
65
 
66
- **Read \`.nexus/docs/01_vision.md\` first** to understand what this project does.
67
- Then read \`.nexus/docs/07_implementation.md\` for the build plan and file-by-file guide.
66
+ **READ \`.nexus/docs/index.md\` FIRST. EVERY TIME. NO EXCEPTIONS.**
68
67
 
69
- The full doc map is in \`.nexus/index.md\`.
68
+ That file is your project brain. It contains:
69
+ - **Current Objective** — what you should be working on right now
70
+ - **Status Matrix** — what's done, what's in progress, what's blocked
71
+ - **Feature Backlog** — the prioritized roadmap of what to build
72
+ - **What Has Been Built** — every module, file, and test that exists
73
+ - **Progress Log** — session-by-session changelog (your memory)
74
+ - **What's Next** — your prioritized TODO list
75
+ - **Operating Rules** — the rules you MUST follow
76
+
77
+ \`\`\`
78
+ RULE: Before EVERY task, read .nexus/docs/index.md
79
+ RULE: After EVERY task, update .nexus/docs/index.md
80
+ RULE: When the user asks "what should we work on?" → check the index
81
+ RULE: When you finish a feature → update the index, then suggest the next item
82
+ RULE: NEVER ask "what enhancements would you like?" — the index has the answer
83
+ \`\`\`
70
84
 
71
85
  ---
72
86
 
73
- ## 🚨 CRITICAL — Onboarding Protocol (Auto-Populate Docs)
87
+ ## 🚨 CRITICAL — Onboarding Protocol (First-Time Setup)
74
88
 
75
89
  Each NEXUS doc has YAML frontmatter with a \\\`status\\\` field:
76
90
  - \\\`template\\\` — the doc is still in its default scaffolded state (has TODO placeholders)
@@ -81,36 +95,49 @@ STOP. If ANY .nexus/docs/ file has status: template → you MUST populate it FIR
81
95
  Do NOT skip this step. Do NOT jump straight to the user's request.
82
96
  This is a hard requirement, not a suggestion.
83
97
  \\\`\\\`\\\`
98
+ \\\`\\\`\\\`
84
99
 
85
100
  ### Steps:
86
101
 
87
102
  1. **Scan the codebase** — read \\\`package.json\\\`, \\\`tsconfig.json\\\`, source files in \\\`src/\\\`,
88
103
  route definitions, data models, and test files to understand the project.
89
104
 
90
- 2. **Auto-fill what you can infer** from the code:
105
+ 2. **Ask the user about their vision** what are they building? Who are the users?
106
+ What features do they need? Fill in \\\`01_vision.md\\\` and \\\`05_business_logic.md\\\`.
107
+
108
+ 3. **Auto-fill what you can infer** from the code:
91
109
  - \\\`02_architecture.md\\\` — tech stack, directory structure, data flow
92
110
  - \\\`03_data_contracts.md\\\` — schemas, types, validation from source code
93
111
  - \\\`04_api_contracts.md\\\` — routes, endpoints, request/response shapes
94
112
  - \\\`06_test_strategy.md\\\` — existing test setup, coverage, test patterns
95
- - \\\`07_implementation.md\\\` — current build state, what exists vs. what's planned
96
113
  - \\\`08_deployment.md\\\` — CI/CD config, environment variables, deploy targets
97
114
 
98
- 3. **Ask the user** for things you cannot infer from code:
99
- - \\\`01_vision.md\\\` product vision, user personas, success metrics
100
- - \\\`05_business_logic.md\\\` business rules, algorithms, decision logic
101
- - Any section where you have low confidence
115
+ 4. **Build the implementation plan** (\\\`07_implementation.md\\\`):
116
+ - Turn features from \\\`01_vision.md\\\` into concrete build phases
117
+ - Create a file-by-file plan with every file that needs to be created
118
+ - Set the current phase based on what already exists
119
+ - This is HOW you know what code to write
102
120
 
103
- 4. **Update the frontmatter** of each doc you fill in:
121
+ 5. **Update the frontmatter** of each doc you fill in:
104
122
  \\\`\\\`\\\`yaml
105
123
  status: populated
106
124
  confidence: high # or medium/low
107
125
  last_updated: "YYYY-MM-DD"
108
126
  \\\`\\\`\\\`
109
127
 
110
- 5. **Then proceed** with whatever task the user originally requested.
128
+ 6. **Build the project brain** (\\\`.nexus/docs/index.md\\\`):
129
+ - Fill in the feature backlog from \\\`01_vision.md\\\` features
130
+ - Update the status matrix to reflect what's populated
131
+ - Update "What Has Been Built" to reflect current state
132
+ - Set "What's Next" to the first real feature from the backlog
133
+ - **This step is CRITICAL — this file drives all future work**
134
+
135
+ 7. **THEN proceed** with the user's original request — or suggest
136
+ the first item from "What's Next" in the index.
111
137
 
112
138
  This onboarding flow only applies when docs have \\\`status: template\\\`.
113
- Once all docs are \\\`populated\\\`, skip this section and work normally.
139
+ Once all docs are \\\`populated\\\`, skip this section and work normally
140
+ but ALWAYS read \\\`.nexus/docs/index.md\\\` before every task.
114
141
 
115
142
  ---
116
143
 
@@ -191,21 +218,41 @@ This project includes 8 structured documentation files designed for both humans
191
218
  | 6 | \`.nexus/docs/06_test_strategy.md\` | Coverage targets, test types, testing philosophy |
192
219
  | 7 | \`.nexus/docs/07_implementation.md\` | Build order, file-by-file implementation plan |
193
220
  | 8 | \`.nexus/docs/08_deployment.md\` | Infrastructure, CI/CD, environment configuration |
221
+ | 🧠 | \`.nexus/docs/index.md\` | **PROJECT BRAIN** — status, backlog, progress, what's next |
222
+ | 📚 | \`.nexus/docs/knowledge.md\` | **KNOWLEDGE BASE** — learned insights, patterns, gotchas |
194
223
 
195
- **Start with \`.nexus/docs/01_vision.md\`**, then follow the numbered order.
224
+ **Start with \`.nexus/docs/index.md\`** (your brain), then \`.nexus/docs/01_vision.md\`.
196
225
 
197
226
  ---
198
227
 
199
- ## Workflow
200
-
201
- When implementing a feature:
202
-
203
- 1. **Read the relevant doc** — find the spec in \`.nexus/docs/\`
204
- 2. **Check the implementation plan** — \`.nexus/docs/07_implementation.md\`
205
- 3. **Write the code** following the architecture in \`.nexus/docs/02_architecture.md\`
206
- 4. **Write tests** — match the strategy in \`.nexus/docs/06_test_strategy.md\`
207
- 5. **Validate** \`${getValidationCommand(config)}\`
208
- 6. **Commit** use conventional commits (\`feat:\`, \`fix:\`, etc.)
228
+ ## Workflow — How To Work On This Project
229
+
230
+ ### Before EVERY task:
231
+ 1. **Read \`.nexus/docs/index.md\`** — check "Current Objective" and "What's Next"
232
+ 2. **Read the relevant spec doc** — find details in the numbered \`.nexus/docs/\` files
233
+ 3. **Scan \`.nexus/docs/knowledge.md\`** — check for relevant past learnings before making decisions
234
+ 4. **Check \`.nexus/docs/07_implementation.md\`** — find the file-by-file plan
235
+
236
+ ### During the task:
237
+ 4. **Write the code** following the architecture in \`.nexus/docs/02_architecture.md\`
238
+ 5. **Write tests** — match the strategy in \`.nexus/docs/06_test_strategy.md\`
239
+ 6. **Validate** — \`${getValidationCommand(config)}\`
240
+
241
+ ### After EVERY task:
242
+ 7. **Update \`.nexus/docs/index.md\`**:
243
+ - Move completed items from "What's Next" to "Progress Log"
244
+ - Update the "Status Matrix" and "What Has Been Built"
245
+ - Set the "Current Objective" to the next priority item
246
+ 8. **Update \`.nexus/docs/07_implementation.md\`** — mark completed files/tasks
247
+ 9. **Learn** — if you discovered something non-obvious (bug pattern, architecture insight, package quirk, performance fix), append an entry to \`.nexus/docs/knowledge.md\`
248
+ 10. **Commit** — use conventional commits (\`feat:\`, \`fix:\`, etc.)
249
+ 11. **Suggest the next task** from \`.nexus/docs/index.md\` "What's Next"
250
+
251
+ ### NEVER do this:
252
+ - ❌ Ask "what enhancements would you like?" when the backlog has items
253
+ - ❌ Invent random features not in the backlog
254
+ - ❌ Skip updating the index after completing work
255
+ - ❌ Treat docs as static — they evolve with the project
209
256
 
210
257
  ---
211
258
 
@@ -232,93 +279,161 @@ function toolInstructionContent(config, toolName) {
232
279
  const frameworkDisplay = getFrameworkDisplay(config.frontendFramework);
233
280
  const testDisplay = config.testFramework === 'none' ? 'None configured' : config.testFramework;
234
281
  const patternsDisplay = config.appPatterns.length > 0 ? config.appPatterns.join(', ') : 'None selected';
282
+ const backendDisplay = config.backendFramework === 'none'
283
+ ? `${config.backendStrategy} (no framework)`
284
+ : `${config.backendFramework} (${config.backendStrategy})`;
235
285
  return `# ${config.displayName} — ${toolName} Instructions
236
286
 
237
287
  > Auto-generated by [NEXUS CLI](https://github.com/GDA-Africa/nexus-cli) v${version}.
238
- > Full instructions also at \`.nexus/ai/instructions.md\`.
288
+ > This file contains the FULL project-aware instructions do NOT skip any section.
239
289
 
240
290
  ---
241
291
 
242
- ## 🚨 CRITICAL Read This First (Onboarding Protocol)
243
-
244
- This project uses the **NEXUS Documentation System** — 8 structured markdown files
245
- in \`.nexus/docs/\` that describe every aspect of the project.
292
+ ## 🧠 YOUR BRAIN: \`.nexus/docs/index.md\`
246
293
 
247
- Each doc has YAML frontmatter with a \`status\` field:
248
- - \`template\` — still has TODO placeholders, needs to be filled in
249
- - \`populated\` — already filled in by a human or AI
294
+ **READ \`.nexus/docs/index.md\` FIRST. EVERY TIME. NO EXCEPTIONS.**
250
295
 
251
- ### STOP. Before doing ANYTHING the user asks, check the docs:
296
+ That file is your project brain. It contains:
297
+ - **Current Objective** — what you should be working on right now
298
+ - **Status Matrix** — what's done, what's in progress, what's blocked
299
+ - **Feature Backlog** — the prioritized roadmap of what to build
300
+ - **What Has Been Built** — every module, file, and test that exists
301
+ - **Progress Log** — session-by-session changelog (your memory)
302
+ - **What's Next** — your prioritized TODO list
303
+ - **Operating Rules** — the rules you MUST follow
252
304
 
253
305
  \`\`\`
254
- If ANY .nexus/docs/ file has status: template → you MUST populate it FIRST.
255
- Do NOT skip this. Do NOT go straight to the user's request.
256
- This is a HARD REQUIREMENT, not a suggestion.
306
+ RULE: Before EVERY task, read .nexus/docs/index.md
307
+ RULE: After EVERY task, update .nexus/docs/index.md
308
+ RULE: When the user asks "what should we work on?" → check the index
309
+ RULE: When you finish a feature → update the index, then suggest the next item
310
+ RULE: NEVER ask "what enhancements would you like?" → the index has the answer
311
+ RULE: NEVER invent features → work from the feature backlog
257
312
  \`\`\`
258
313
 
259
- **Step 1 — Scan the codebase:** Read \`package.json\`, \`tsconfig.json\`, source files,
260
- routes, data models, and tests to understand the project.
261
-
262
- **Step 2 — Auto-fill what you can infer** from the code:
263
- - \`02_architecture.md\` tech stack, directory structure, data flow
264
- - \`03_data_contracts.md\`schemas, types, validation from source code
265
- - \`04_api_contracts.md\`routes, endpoints, request/response shapes
266
- - \`06_test_strategy.md\` — existing test setup, coverage, patterns
267
- - \`07_implementation.md\` — current build state, what exists vs. planned
268
- - \`08_deployment.md\` CI/CD config, environment variables
269
-
270
- **Step 3 Ask the user** for things you cannot infer:
271
- - \`01_vision.md\` — product vision, user personas, success metrics
272
- - \`05_business_logic.md\` — business rules, algorithms, decision logic
273
-
274
- **Step 4 — Update frontmatter** of each doc you fill in:
275
- \`\`\`yaml
276
- status: populated
277
- confidence: high # or medium/low
278
- last_updated: "YYYY-MM-DD"
279
- \`\`\`
314
+ ---
315
+
316
+ ## 🚨 CRITICAL — Onboarding Protocol (First-Time Setup)
317
+
318
+ Each NEXUS doc has YAML frontmatter with a \\\`status\\\` field:
319
+ - \\\`template\\\`the doc is still in its default scaffolded state
320
+ - \\\`populated\\\`the doc has been filled in by a human or AI agent
321
+
322
+ \\\`\\\`\\\`
323
+ STOP. If ANY .nexus/docs/ file has status: template → you MUST populate it FIRST.
324
+ Do NOT skip this step. Do NOT jump straight to the user's request.
325
+ This is a hard requirement, not a suggestion.
326
+ \\\`\\\`\\\`
327
+
328
+ ### Steps:
329
+
330
+ 1. **Scan the codebase** — read \\\`package.json\\\`, \\\`tsconfig.json\\\`, source files,
331
+ route definitions, data models, and test files to understand the project.
332
+
333
+ 2. **Ask the user about their vision** — what are they building? Who are the users?
334
+ Fill in \\\`01_vision.md\\\` and \\\`05_business_logic.md\\\`.
335
+
336
+ 3. **Auto-fill what you can infer** from the code:
337
+ - \\\`02_architecture.md\\\` — tech stack, directory structure, data flow
338
+ - \\\`03_data_contracts.md\\\` — schemas, types, validation from source code
339
+ - \\\`04_api_contracts.md\\\` — routes, endpoints, request/response shapes
340
+ - \\\`06_test_strategy.md\\\` — existing test setup, coverage, test patterns
341
+ - \\\`08_deployment.md\\\` — CI/CD config, environment variables, deploy targets
342
+
343
+ 4. **Build the implementation plan** (\\\`07_implementation.md\\\`):
344
+ - Turn features into concrete build phases
345
+ - Create a file-by-file plan
346
+ - Set the current phase based on what already exists
347
+
348
+ 5. **Update the frontmatter** of each doc you fill in:
349
+ \\\`\\\`\\\`yaml
350
+ status: populated
351
+ confidence: high
352
+ last_updated: "YYYY-MM-DD"
353
+ \\\`\\\`\\\`
280
354
 
281
- **Step 5 — THEN** proceed with whatever the user originally asked.
355
+ 6. **Build the project brain** (\\\`.nexus/docs/index.md\\\`):
356
+ - Fill in the feature backlog from \\\`01_vision.md\\\`
357
+ - Update the status matrix
358
+ - Set "What's Next" to the first real feature
282
359
 
283
- This only applies when docs have \`status: template\`. Once populated, work normally.
360
+ 7. **THEN proceed** with the user's original request.
284
361
 
285
362
  ---
286
363
 
287
- ## Project: ${config.displayName}
364
+ ## Project Identity
288
365
 
289
- - **Type:** ${config.projectType}
290
- - **Framework:** ${frameworkDisplay}
291
- - **Data Strategy:** ${config.dataStrategy}
292
- - **Testing:** ${testDisplay}
293
- - **Package Manager:** ${config.packageManager}
294
- - **Patterns:** ${patternsDisplay}
366
+ | Field | Value |
367
+ |-------|-------|
368
+ | Name | ${config.displayName} |
369
+ | Type | ${config.projectType} |
370
+ | Framework | ${frameworkDisplay} |
371
+ | Data Strategy | ${config.dataStrategy} |
372
+ | Backend | ${backendDisplay} |
373
+ | Testing | ${testDisplay} |
374
+ | Package Manager | ${config.packageManager} |
375
+ | Patterns | ${patternsDisplay} |
376
+
377
+ ---
295
378
 
296
- ## Documentation Map
379
+ ## Code Rules
380
+
381
+ 1. **TypeScript strict mode** — no \`any\`, no implicit returns
382
+ 2. **ESM only** — \`import\`/\`export\`, never \`require()\`
383
+ 3. **File extensions in imports** — always \`.js\` (e.g., \`import { foo } from './bar.js'\`)
384
+ 4. **Conventional Commits** — \`feat:\`, \`fix:\`, \`docs:\`, \`chore:\`, \`test:\`, \`refactor:\`
385
+ 5. **Test everything** — every feature needs tests
386
+ 6. **Validate after changes** — \`${getValidationCommand(config)}\`
387
+
388
+ ---
389
+
390
+ ## NEXUS Documentation System
297
391
 
298
392
  | # | File | Purpose |
299
393
  |---|------|---------|
300
- | 1 | \`.nexus/docs/01_vision.md\` | Product requirements, user stories |
301
- | 2 | \`.nexus/docs/02_architecture.md\` | System design, tech stack |
302
- | 3 | \`.nexus/docs/03_data_contracts.md\` | Database schemas, validation |
303
- | 4 | \`.nexus/docs/04_api_contracts.md\` | Endpoints, interfaces |
304
- | 5 | \`.nexus/docs/05_business_logic.md\` | Rules, algorithms, flows |
305
- | 6 | \`.nexus/docs/06_test_strategy.md\` | Coverage targets, test types |
306
- | 7 | \`.nexus/docs/07_implementation.md\` | Build order, file plan |
307
- | 8 | \`.nexus/docs/08_deployment.md\` | Infrastructure, CI/CD |
394
+ | 🧠 | \`.nexus/docs/index.md\` | **PROJECT BRAIN** — status, backlog, progress, what's next |
395
+ | 📚 | \`.nexus/knowledge.md\` | **KNOWLEDGE BASE** — learned insights, patterns, gotchas |
396
+ | 1 | \`.nexus/docs/01_vision.md\` | Product requirements, user stories, success metrics |
397
+ | 2 | \`.nexus/docs/02_architecture.md\` | System design, tech stack, data flow |
398
+ | 3 | \`.nexus/docs/03_data_contracts.md\` | Database schemas, validation, relationships |
399
+ | 4 | \`.nexus/docs/04_api_contracts.md\` | Endpoints, interfaces, status codes |
400
+ | 5 | \`.nexus/docs/05_business_logic.md\` | Rules, algorithms, state machines |
401
+ | 6 | \`.nexus/docs/06_test_strategy.md\` | Coverage targets, test types, philosophy |
402
+ | 7 | \`.nexus/docs/07_implementation.md\` | Build order, file-by-file plan |
403
+ | 8 | \`.nexus/docs/08_deployment.md\` | Infrastructure, CI/CD, environment config |
308
404
 
309
- ## Code Rules
405
+ ---
310
406
 
311
- - TypeScript strict mode no \`any\`, no implicit returns
312
- - ESM only — \`import\`/\`export\`, never \`require()\`
313
- - File extensions in imports — always \`.js\`
314
- - Conventional Commits\`feat:\`, \`fix:\`, \`docs:\`, \`chore:\`
315
- - Test everything\`tests/unit/\`
316
- - Validate: \`${getValidationCommand(config)}\`
407
+ ## Workflow How To Work On This Project
408
+
409
+ ### Before EVERY task:
410
+ 1. **Read \`.nexus/docs/index.md\`**check "Current Objective" and "What's Next"
411
+ 2. **Scan \`.nexus/knowledge.md\`**check for relevant past learnings
412
+ 3. **Read the relevant spec doc** — find details in the numbered docs
413
+ 4. **Check \`.nexus/docs/07_implementation.md\`** — find the file-by-file plan
414
+
415
+ ### During the task:
416
+ 5. **Write the code** following the architecture in \`.nexus/docs/02_architecture.md\`
417
+ 6. **Write tests** — match the strategy in \`.nexus/docs/06_test_strategy.md\`
418
+ 7. **Validate** — \`${getValidationCommand(config)}\`
419
+
420
+ ### After EVERY task:
421
+ 8. **Update \`.nexus/docs/index.md\`** — move items to Progress Log, update status
422
+ 9. **Update \`.nexus/docs/07_implementation.md\`** — mark completed files/tasks
423
+ 10. **Learn** — if you discovered something non-obvious, append to \`.nexus/knowledge.md\`
424
+ 11. **Commit** — conventional commits (\`feat:\`, \`fix:\`, etc.)
425
+ 12. **Suggest the next task** from \`.nexus/docs/index.md\` "What's Next"
426
+
427
+ ### NEVER do this:
428
+ - ❌ Ask "what enhancements would you like?" when the backlog has items
429
+ - ❌ Invent random features not in the backlog
430
+ - ❌ Skip updating the index after completing work
431
+ - ❌ Treat docs as static — they evolve with the project
432
+ - ❌ Ignore \`.nexus/knowledge.md\` — it prevents repeating mistakes
317
433
 
318
- ## Full Instructions
434
+ ---
319
435
 
320
- For the complete rule set (architecture rules, key directories, workflow),
321
- read \`.nexus/ai/instructions.md\`.
436
+ *Generated by [NEXUS CLI](https://github.com/GDA-Africa/nexus-cli) v${version}*
322
437
  `;
323
438
  }
324
439
  function generateCursorRules(config) {
@@ -1 +1 @@
1
- {"version":3,"file":"ai-config.js","sourceRoot":"","sources":["../../src/generators/ai-config.ts"],"names":[],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AC;IAChD,MAAM,OAAO,GAAG,MAAM,CAAC,aAAa,KAAK,MAAM,CAAC,CAAC,CAAC,OAAO,SAAS,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/E,OAAO,mBAAmB,OAAO,OAAO,SAAS,OAAO,CAAC;AAC3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/generators/docs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AA2B3D;;GAEG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,aAAa,EAAE,CAejE"}
1
+ {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/generators/docs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AA2C3D;;GAEG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,aAAa,EAAE,CAiBjE"}