clavix 4.10.0 → 4.11.1

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.
Files changed (95) hide show
  1. package/dist/cli/commands/analyze.d.ts +3 -0
  2. package/dist/cli/commands/analyze.js +11 -5
  3. package/dist/cli/commands/execute.d.ts +2 -2
  4. package/dist/cli/commands/execute.js +23 -21
  5. package/dist/cli/commands/improve.d.ts +32 -0
  6. package/dist/cli/commands/improve.js +250 -0
  7. package/dist/cli/commands/init.js +35 -29
  8. package/dist/cli/commands/prd.js +14 -13
  9. package/dist/cli/commands/prompts/clear.d.ts +2 -2
  10. package/dist/cli/commands/prompts/clear.js +32 -26
  11. package/dist/cli/commands/prompts/list.js +14 -19
  12. package/dist/cli/commands/summarize.js +23 -14
  13. package/dist/cli/commands/verify.d.ts +2 -2
  14. package/dist/cli/commands/verify.js +26 -24
  15. package/dist/core/doc-injector.d.ts +2 -0
  16. package/dist/core/doc-injector.js +12 -13
  17. package/dist/core/intelligence/intent-detector.d.ts +4 -0
  18. package/dist/core/intelligence/intent-detector.js +8 -18
  19. package/dist/core/intelligence/pattern-library.d.ts +16 -10
  20. package/dist/core/intelligence/pattern-library.js +47 -35
  21. package/dist/core/intelligence/patterns/actionability-enhancer.d.ts +2 -2
  22. package/dist/core/intelligence/patterns/actionability-enhancer.js +1 -1
  23. package/dist/core/intelligence/patterns/alternative-phrasing-generator.d.ts +2 -2
  24. package/dist/core/intelligence/patterns/alternative-phrasing-generator.js +1 -1
  25. package/dist/core/intelligence/patterns/ambiguity-detector.d.ts +2 -2
  26. package/dist/core/intelligence/patterns/ambiguity-detector.js +1 -1
  27. package/dist/core/intelligence/patterns/assumption-explicitizer.d.ts +2 -2
  28. package/dist/core/intelligence/patterns/assumption-explicitizer.js +1 -1
  29. package/dist/core/intelligence/patterns/base-pattern.d.ts +10 -7
  30. package/dist/core/intelligence/patterns/base-pattern.js +7 -3
  31. package/dist/core/intelligence/patterns/completeness-validator.d.ts +2 -2
  32. package/dist/core/intelligence/patterns/completeness-validator.js +1 -1
  33. package/dist/core/intelligence/patterns/conciseness-filter.d.ts +2 -2
  34. package/dist/core/intelligence/patterns/conciseness-filter.js +1 -1
  35. package/dist/core/intelligence/patterns/context-precision.d.ts +2 -2
  36. package/dist/core/intelligence/patterns/context-precision.js +1 -1
  37. package/dist/core/intelligence/patterns/conversation-summarizer.d.ts +2 -2
  38. package/dist/core/intelligence/patterns/conversation-summarizer.js +1 -1
  39. package/dist/core/intelligence/patterns/dependency-identifier.d.ts +2 -2
  40. package/dist/core/intelligence/patterns/dependency-identifier.js +1 -1
  41. package/dist/core/intelligence/patterns/domain-context-enricher.d.ts +2 -2
  42. package/dist/core/intelligence/patterns/domain-context-enricher.js +1 -1
  43. package/dist/core/intelligence/patterns/edge-case-identifier.d.ts +2 -2
  44. package/dist/core/intelligence/patterns/edge-case-identifier.js +1 -1
  45. package/dist/core/intelligence/patterns/error-tolerance-enhancer.d.ts +2 -2
  46. package/dist/core/intelligence/patterns/error-tolerance-enhancer.js +1 -1
  47. package/dist/core/intelligence/patterns/implicit-requirement-extractor.d.ts +2 -2
  48. package/dist/core/intelligence/patterns/implicit-requirement-extractor.js +1 -1
  49. package/dist/core/intelligence/patterns/objective-clarifier.d.ts +2 -2
  50. package/dist/core/intelligence/patterns/objective-clarifier.js +1 -1
  51. package/dist/core/intelligence/patterns/output-format-enforcer.d.ts +2 -2
  52. package/dist/core/intelligence/patterns/output-format-enforcer.js +1 -1
  53. package/dist/core/intelligence/patterns/prd-structure-enforcer.d.ts +2 -2
  54. package/dist/core/intelligence/patterns/prd-structure-enforcer.js +1 -1
  55. package/dist/core/intelligence/patterns/prerequisite-identifier.d.ts +2 -2
  56. package/dist/core/intelligence/patterns/prerequisite-identifier.js +1 -1
  57. package/dist/core/intelligence/patterns/requirement-prioritizer.d.ts +2 -2
  58. package/dist/core/intelligence/patterns/requirement-prioritizer.js +1 -1
  59. package/dist/core/intelligence/patterns/scope-definer.d.ts +2 -2
  60. package/dist/core/intelligence/patterns/scope-definer.js +1 -1
  61. package/dist/core/intelligence/patterns/step-decomposer.d.ts +2 -2
  62. package/dist/core/intelligence/patterns/step-decomposer.js +1 -1
  63. package/dist/core/intelligence/patterns/structure-organizer.d.ts +2 -2
  64. package/dist/core/intelligence/patterns/structure-organizer.js +1 -1
  65. package/dist/core/intelligence/patterns/success-criteria-enforcer.d.ts +2 -2
  66. package/dist/core/intelligence/patterns/success-criteria-enforcer.js +1 -1
  67. package/dist/core/intelligence/patterns/success-metrics-enforcer.d.ts +2 -2
  68. package/dist/core/intelligence/patterns/success-metrics-enforcer.js +1 -1
  69. package/dist/core/intelligence/patterns/technical-context-enricher.d.ts +2 -2
  70. package/dist/core/intelligence/patterns/technical-context-enricher.js +1 -1
  71. package/dist/core/intelligence/patterns/topic-coherence-analyzer.d.ts +2 -2
  72. package/dist/core/intelligence/patterns/topic-coherence-analyzer.js +1 -1
  73. package/dist/core/intelligence/patterns/user-persona-enricher.d.ts +2 -2
  74. package/dist/core/intelligence/patterns/user-persona-enricher.js +1 -1
  75. package/dist/core/intelligence/patterns/validation-checklist-creator.d.ts +2 -2
  76. package/dist/core/intelligence/patterns/validation-checklist-creator.js +1 -1
  77. package/dist/core/intelligence/types.d.ts +6 -3
  78. package/dist/core/intelligence/universal-optimizer.d.ts +20 -15
  79. package/dist/core/intelligence/universal-optimizer.js +44 -29
  80. package/dist/core/prompt-manager.d.ts +24 -22
  81. package/dist/core/prompt-manager.js +65 -92
  82. package/dist/core/verification-manager.d.ts +8 -7
  83. package/dist/core/verification-manager.js +34 -41
  84. package/dist/templates/agents/octo.md +6 -8
  85. package/dist/templates/slash-commands/_canonical/execute.md +39 -41
  86. package/dist/templates/slash-commands/_canonical/improve.md +604 -0
  87. package/dist/templates/slash-commands/_canonical/verify.md +1 -1
  88. package/dist/templates/slash-commands/_components/sections/escalation-factors.md +25 -25
  89. package/dist/templates/slash-commands/_components/sections/pattern-visibility.md +27 -33
  90. package/dist/types/config.d.ts +1 -2
  91. package/dist/types/verification.d.ts +7 -6
  92. package/dist/types/verification.js +2 -1
  93. package/package.json +1 -1
  94. package/dist/templates/slash-commands/_canonical/deep.md +0 -651
  95. package/dist/templates/slash-commands/_canonical/fast.md +0 -535
@@ -1,20 +1,20 @@
1
1
  ---
2
2
  name: "Clavix: Execute"
3
- description: Execute saved prompts from fast/deep optimization
3
+ description: Execute saved prompts from improve optimization
4
4
  ---
5
5
 
6
6
  # Clavix: Execute Saved Prompts
7
7
 
8
- Time to build! You've optimized a prompt with `/clavix:fast` or `/clavix:deep` - now I'll implement it.
8
+ Time to build! You've optimized a prompt with `/clavix:improve` - now I'll implement it.
9
9
 
10
- Your saved prompts live in `.clavix/outputs/prompts/fast/` or `.clavix/outputs/prompts/deep/`.
10
+ Your saved prompts live in `.clavix/outputs/prompts/`.
11
11
 
12
12
  ---
13
13
 
14
14
  ## What This Does
15
15
 
16
16
  When you run `/clavix:execute`, I:
17
- 1. **Find your prompt** - Load what you saved from fast/deep mode
17
+ 1. **Find your prompt** - Load what you saved from improve mode
18
18
  2. **Understand what to build** - Read the requirements and checklist
19
19
  3. **Implement everything** - Write the code, create files, build features
20
20
  4. **Run verification automatically** - Make sure everything works
@@ -29,18 +29,18 @@ When you run `/clavix:execute`, I:
29
29
  **I'm in implementation mode. Building time!**
30
30
 
31
31
  **What I'll do:**
32
- - Read and understand your prompt requirements
33
- - Implement everything in the optimized prompt
34
- - Write production-quality code
35
- - Follow the specifications exactly
36
- - Run tests and verification automatically
37
- - Handle errors and fix issues
32
+ - Read and understand your prompt requirements
33
+ - Implement everything in the optimized prompt
34
+ - Write production-quality code
35
+ - Follow the specifications exactly
36
+ - Run tests and verification automatically
37
+ - Handle errors and fix issues
38
38
 
39
39
  **What I'm authorized to create:**
40
- - Functions, classes, and components
41
- - New files and file modifications
42
- - Tests for implemented code
43
- - Configuration files if needed
40
+ - Functions, classes, and components
41
+ - New files and file modifications
42
+ - Tests for implemented code
43
+ - Configuration files if needed
44
44
 
45
45
  **Before I start, I'll confirm:**
46
46
  > "Starting implementation mode. Building your [feature description]..."
@@ -51,9 +51,8 @@ For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
51
51
 
52
52
  ## Before You Start
53
53
 
54
- You need a saved prompt first. Run one of these:
55
- - `/clavix:fast "your prompt"` - Quick improvements
56
- - `/clavix:deep "your prompt"` - Comprehensive analysis
54
+ You need a saved prompt first. Run:
55
+ - `/clavix:improve "your prompt"` - Smart prompt improvement with auto depth selection
57
56
 
58
57
  Then come back here with `/clavix:execute`.
59
58
 
@@ -78,7 +77,8 @@ Me: "Done! Here's what I built..."
78
77
 
79
78
  I automatically run these commands (you don't need to):
80
79
  - `clavix execute --latest` - Get most recent prompt
81
- - Or `clavix execute --latest --fast` - Get latest fast mode prompt
80
+ - Or `clavix execute --latest --standard` - Get latest standard depth prompt
81
+ - Or `clavix execute --latest --comprehensive` - Get latest comprehensive depth prompt
82
82
  - Or `clavix execute --id <id>` - Get specific prompt
83
83
 
84
84
  **Step 2: I read and understand**
@@ -129,11 +129,11 @@ After I finish building, I run verification myself:
129
129
  ### What You'll See
130
130
 
131
131
  ```
132
- Implementation complete for [prompt-id]
132
+ Implementation complete for [prompt-id]
133
133
 
134
134
  Verification Results:
135
- 8 items passed
136
- 1 item needs attention: [specific issue]
135
+ 8 items passed
136
+ 1 item needs attention: [specific issue]
137
137
 
138
138
  Would you like me to fix the failing item?
139
139
  ```
@@ -142,10 +142,10 @@ Would you like me to fix the failing item?
142
142
 
143
143
  | Symbol | Meaning |
144
144
  |--------|---------|
145
- | | Passed - This works |
146
- | | Failed - Needs fixing |
147
- | ⏭️ | Skipped - Check later |
148
- | | N/A - Doesn't apply |
145
+ | Pass | Passed - This works |
146
+ | Fail | Failed - Needs fixing |
147
+ | Skip | Skipped - Check later |
148
+ | N/A | N/A - Doesn't apply |
149
149
 
150
150
  ### When Things Fail
151
151
 
@@ -162,17 +162,17 @@ I'll explain what's wrong and what you might need to do:
162
162
  > "The database connection is failing - this might be a configuration issue.
163
163
  > Can you check that your `.env` file has the correct `DATABASE_URL`?"
164
164
 
165
- ### Fast Mode vs Deep Mode Verification
165
+ ### Standard vs Comprehensive Depth Verification
166
166
 
167
- **Fast mode prompts:**
167
+ **Standard depth prompts:**
168
168
  - I generate a basic checklist based on what you asked for
169
169
  - Covers essentials: compiles, no errors, requirements met
170
170
 
171
- **Deep mode prompts:**
171
+ **Comprehensive depth prompts:**
172
172
  - Use the comprehensive checklist from deep analysis
173
173
  - More thorough verification with edge cases
174
174
 
175
- **For more thorough verification next time, use `/clavix:deep`**
175
+ **For more thorough verification, use `/clavix:improve --comprehensive`**
176
176
 
177
177
  ---
178
178
 
@@ -181,8 +181,7 @@ I'll explain what's wrong and what you might need to do:
181
181
  These are commands I execute automatically - you don't need to run them.
182
182
 
183
183
  **Where prompts live:**
184
- - Fast prompts: `.clavix/outputs/prompts/fast/`
185
- - Deep prompts: `.clavix/outputs/prompts/deep/`
184
+ - All prompts: `.clavix/outputs/prompts/`
186
185
 
187
186
  ### Commands I Use (Reference)
188
187
 
@@ -205,7 +204,7 @@ After I finish implementing and verification passes:
205
204
  ### The Prompt Lifecycle
206
205
 
207
206
  ```
208
- 1. YOU CREATE → /clavix:fast or /clavix:deep
207
+ 1. YOU CREATE → /clavix:improve
209
208
  2. I EXECUTE → /clavix:execute (you are here)
210
209
  3. I VERIFY → Automatic verification
211
210
  4. I CLEANUP → Remove executed prompts
@@ -233,7 +232,7 @@ Need to see what projects exist or check progress? I use these commands:
233
232
  If I can't find a saved prompt, I'll tell you:
234
233
  > "I don't see any saved prompts. Let's create one first!"
235
234
 
236
- Then you can run `/clavix:fast "your requirement"` and come back.
235
+ Then you can run `/clavix:improve "your requirement"` and come back.
237
236
 
238
237
  ### Prompt Is Old or Stale
239
238
 
@@ -257,23 +256,22 @@ If I can't get verification to pass after trying:
257
256
  **Where you are:** Execute (building your prompt)
258
257
 
259
258
  **How you got here:**
260
- 1. `/clavix:fast` or `/clavix:deep` → Optimized your prompt
261
- 2. **`/clavix:execute`** Now building it (you are here)
259
+ 1. `/clavix:improve` - Optimized your prompt
260
+ 2. **`/clavix:execute`** - Now building it (you are here)
262
261
 
263
262
  **What happens after:**
264
- - I verify automatically Results shown
265
- - If all passes Done! I clean up
266
- - If issues `/clavix:verify` for detailed check
263
+ - I verify automatically - Results shown
264
+ - If all passes - Done! I clean up
265
+ - If issues - `/clavix:verify` for detailed check
267
266
 
268
267
  **Related commands:**
269
- - `/clavix:fast` - Quick prompt optimization (previous step)
270
- - `/clavix:deep` - Comprehensive analysis (alternative previous step)
268
+ - `/clavix:improve` - Smart prompt optimization (previous step)
271
269
  - `/clavix:verify` - Detailed verification (if needed)
272
270
  - `/clavix:archive` - Archive when fully done
273
271
 
274
272
  ---
275
273
 
276
- ## Agent Transparency (v4.9)
274
+ ## Agent Transparency (v4.11)
277
275
 
278
276
  ### CLI Reference (Commands I Execute)
279
277
  {{INCLUDE:agent-protocols/cli-reference.md}}