@ekkos/cli 1.0.35 โ 1.0.36
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.
- package/package.json +2 -4
- package/templates/CLAUDE.md +135 -23
- package/templates/ekkos-manifest.json +8 -8
- package/templates/hooks/assistant-response.ps1 +188 -160
- package/templates/hooks/assistant-response.sh +130 -66
- package/templates/hooks/hooks.json +6 -0
- package/templates/hooks/lib/contract.sh +43 -31
- package/templates/hooks/lib/state.sh +53 -1
- package/templates/hooks/session-start.ps1 +218 -355
- package/templates/hooks/session-start.sh +202 -167
- package/templates/hooks/stop.ps1 +305 -298
- package/templates/hooks/stop.sh +275 -948
- package/templates/hooks/user-prompt-submit.ps1 +563 -497
- package/templates/hooks/user-prompt-submit.sh +383 -457
- package/templates/windsurf-hooks/hooks.json +9 -2
- package/templates/windsurf-hooks/lib/contract.sh +2 -0
- package/templates/windsurf-skills/ekkos-memory/SKILL.md +219 -219
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
3
|
"hooks": {
|
|
4
|
-
"
|
|
4
|
+
"pre_user_prompt": [
|
|
5
5
|
{
|
|
6
|
-
"command": "./.windsurf/hooks/
|
|
6
|
+
"command": "./.windsurf/hooks/pre-user-prompt.sh",
|
|
7
|
+
"show_output": false
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"post_cascade_response": [
|
|
11
|
+
{
|
|
12
|
+
"command": "./.windsurf/hooks/post-cascade-response.sh",
|
|
13
|
+
"show_output": false
|
|
7
14
|
}
|
|
8
15
|
]
|
|
9
16
|
}
|
|
@@ -1,219 +1,219 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: ekkOS Memory System
|
|
3
|
-
description: AI-native cognitive memory with 31 MCP tools for persistent learning and context continuity
|
|
4
|
-
trigger: always_on
|
|
5
|
-
author: ekkOS Technologies
|
|
6
|
-
tags: [memory, patterns, learning, context]
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# ekkOS Memory System Skill
|
|
10
|
-
|
|
11
|
-
This skill enables Cascade to leverage the full ekkOS 11-layer cognitive memory system for persistent learning, pattern recognition, and context continuity across sessions.
|
|
12
|
-
|
|
13
|
-
## When to Use This Skill
|
|
14
|
-
|
|
15
|
-
**ALWAYS USE** for:
|
|
16
|
-
- Technical questions (before answering, search memory)
|
|
17
|
-
- Bug fixes (forge patterns after solving)
|
|
18
|
-
- Architecture decisions (check for existing patterns)
|
|
19
|
-
- Code reviews (retrieve relevant patterns)
|
|
20
|
-
- Refactoring (find proven approaches)
|
|
21
|
-
|
|
22
|
-
## Core Workflow
|
|
23
|
-
|
|
24
|
-
### 1. Search Before Answering (MANDATORY)
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
Before answering ANY technical question:
|
|
28
|
-
|
|
29
|
-
1. Call ekkOS_Search with the query
|
|
30
|
-
2. Review retrieved patterns
|
|
31
|
-
3. Acknowledge ALL patterns with [ekkOS_SELECT] or [ekkOS_SKIP]
|
|
32
|
-
4. THEN provide your answer
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### 2. PatternGuard Acknowledgment
|
|
36
|
-
|
|
37
|
-
For every pattern retrieved, you MUST acknowledge it:
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
[ekkOS_SELECT]
|
|
41
|
-
- id: <pattern-uuid>
|
|
42
|
-
reason: Using this because...
|
|
43
|
-
confidence: 0.95
|
|
44
|
-
[/ekkOS_SELECT]
|
|
45
|
-
|
|
46
|
-
[ekkOS_SKIP]
|
|
47
|
-
- id: <pattern-uuid>
|
|
48
|
-
reason: Not relevant because...
|
|
49
|
-
[/ekkOS_SKIP]
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
**Coverage must be 100%** - every pattern ID must be acknowledged.
|
|
53
|
-
|
|
54
|
-
### 3. Forge What You Learn
|
|
55
|
-
|
|
56
|
-
After fixing bugs, solving problems, or discovering gotchas:
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
Call ekkOS_Forge with:
|
|
60
|
-
- Problem: What was broken
|
|
61
|
-
- Solution: How you fixed it
|
|
62
|
-
- Tags: [language, framework, error-type]
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## MCP Tools Reference
|
|
66
|
-
|
|
67
|
-
### Core Memory (8 tools)
|
|
68
|
-
|
|
69
|
-
| Tool | Purpose | When to Use |
|
|
70
|
-
|------|---------|-------------|
|
|
71
|
-
| `ekkOS_Search` | Search all 11 memory layers | **Before EVERY technical answer** |
|
|
72
|
-
| `ekkOS_Context` | Get relevant task context | When starting multi-step tasks |
|
|
73
|
-
| `ekkOS_Capture` | Capture memory events | Log significant actions |
|
|
74
|
-
| `ekkOS_Forge` | Create patterns from solutions | After fixing bugs/discoveries |
|
|
75
|
-
| `ekkOS_Directive` | Create MUST/NEVER/PREFER/AVOID rules | When user states preferences |
|
|
76
|
-
| `ekkOS_Outcome` | Track success/failure | After applying patterns |
|
|
77
|
-
| `ekkOS_Detect` | Auto-detect pattern usage | In responses |
|
|
78
|
-
| `ekkOS_Recall` | Recall past conversations | When user asks "what did we" |
|
|
79
|
-
|
|
80
|
-
### Schema Awareness (2 tools)
|
|
81
|
-
|
|
82
|
-
| Tool | Purpose | When to Use |
|
|
83
|
-
|------|---------|-------------|
|
|
84
|
-
| `ekkOS_IndexSchema` | Index database schemas | With Supabase/Prisma projects |
|
|
85
|
-
| `ekkOS_GetSchema` | Get specific table schema | When writing queries |
|
|
86
|
-
|
|
87
|
-
### Plan Management (9 tools)
|
|
88
|
-
|
|
89
|
-
| Tool | Purpose | When to Use |
|
|
90
|
-
|------|---------|-------------|
|
|
91
|
-
| `ekkOS_Plan` | Create structured plans | Multi-step features |
|
|
92
|
-
| `ekkOS_Generate` | AI-generate plans | Complex tasks |
|
|
93
|
-
| `ekkOS_PlanStatus` | Update plan status | Marking steps complete |
|
|
94
|
-
| `ekkOS_PlanStep` | Mark step done | Step completion |
|
|
95
|
-
| `ekkOS_SaveTemplate` | Save as template | Reusable workflows |
|
|
96
|
-
| `ekkOS_Templates` | List templates | Finding existing plans |
|
|
97
|
-
| `ekkOS_FromTemplate` | Create from template | Starting from template |
|
|
98
|
-
|
|
99
|
-
### Portability & Secrets (8 tools)
|
|
100
|
-
|
|
101
|
-
| Tool | Purpose | When to Use |
|
|
102
|
-
|------|---------|-------------|
|
|
103
|
-
| `ekkOS_Export` | Export as backup | Before major changes |
|
|
104
|
-
| `ekkOS_Import` | Import from backup | Restoring context |
|
|
105
|
-
| `ekkOS_StoreSecret` | Encrypt credentials | Storing API keys |
|
|
106
|
-
| `ekkOS_GetSecret` | Retrieve secrets | Using stored credentials |
|
|
107
|
-
| `ekkOS_ListSecrets` | List secret metadata | Checking what's stored |
|
|
108
|
-
| `ekkOS_RotateSecret` | Rotate secret values | Key rotation |
|
|
109
|
-
|
|
110
|
-
### System Health (4 tools)
|
|
111
|
-
|
|
112
|
-
| Tool | Purpose | When to Use |
|
|
113
|
-
|------|---------|-------------|
|
|
114
|
-
| `ekkOS_Stats` | Get layer statistics | Health checks |
|
|
115
|
-
| `ekkOS_Summary` | Get activity summary | Progress updates |
|
|
116
|
-
| `ekkOS_Conflict` | Check for conflicts | Before dangerous ops |
|
|
117
|
-
| `ekkOS_Reflect` | Analyze for improvements | Post-task review |
|
|
118
|
-
|
|
119
|
-
## 11-Layer Architecture
|
|
120
|
-
|
|
121
|
-
| Layer | Purpose | Example Content |
|
|
122
|
-
|-------|---------|-----------------|
|
|
123
|
-
| 1 | Working | Current session context |
|
|
124
|
-
| 2 | Episodic | Past conversation turns |
|
|
125
|
-
| 3 | Semantic | Embeddings/vectors |
|
|
126
|
-
| 4 | Patterns | Proven solutions |
|
|
127
|
-
| 5 | Procedural | Step-by-step guides |
|
|
128
|
-
| 6 | Collective | Community patterns |
|
|
129
|
-
| 7 | Meta | Pattern effectiveness |
|
|
130
|
-
| 8 | Codebase | Project code context |
|
|
131
|
-
| 9 | Directives | User rules (MUST/NEVER) |
|
|
132
|
-
| 10 | Conflict | Auto-resolution rules |
|
|
133
|
-
| 11 | Secrets | Encrypted credentials |
|
|
134
|
-
|
|
135
|
-
## Forge Triggers
|
|
136
|
-
|
|
137
|
-
**Always forge when you:**
|
|
138
|
-
- Fix a bug (create anti-pattern from the bug)
|
|
139
|
-
- Find a better approach (update existing pattern)
|
|
140
|
-
- Discover a gotcha (create warning pattern)
|
|
141
|
-
- Get corrected by user (learn from correction)
|
|
142
|
-
- Solve auth/config issues (create setup pattern)
|
|
143
|
-
- Make architecture decisions (document rationale)
|
|
144
|
-
- Debug non-trivially (capture the journey)
|
|
145
|
-
|
|
146
|
-
## Response Format
|
|
147
|
-
|
|
148
|
-
End EVERY response with:
|
|
149
|
-
|
|
150
|
-
```
|
|
151
|
-
๐ง **ekkOS_โข** ยท ๐
YYYY-MM-DD H:MM AM/PM TZ
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
## Examples
|
|
155
|
-
|
|
156
|
-
### Example 1: Technical Question
|
|
157
|
-
|
|
158
|
-
User: "How do I fix CORS in Next.js?"
|
|
159
|
-
|
|
160
|
-
Your workflow:
|
|
161
|
-
1. Call `ekkOS_Search` with query: "Next.js CORS fix"
|
|
162
|
-
2. Review retrieved patterns
|
|
163
|
-
3. Acknowledge all patterns with SELECT/SKIP
|
|
164
|
-
4. Provide answer based on patterns + your knowledge
|
|
165
|
-
5. End with footer
|
|
166
|
-
|
|
167
|
-
### Example 2: Bug Fix
|
|
168
|
-
|
|
169
|
-
User: "The build is failing with this error..."
|
|
170
|
-
|
|
171
|
-
Your workflow:
|
|
172
|
-
1. Call `ekkOS_Search` with error message
|
|
173
|
-
2. Apply relevant patterns
|
|
174
|
-
3. Acknowledge with SELECT
|
|
175
|
-
4. Fix the bug
|
|
176
|
-
5. Call `ekkOS_Forge` with the solution
|
|
177
|
-
6. Call `ekkOS_Outcome` to track success
|
|
178
|
-
|
|
179
|
-
### Example 3: User Preference
|
|
180
|
-
|
|
181
|
-
User: "I always want TypeScript strict mode"
|
|
182
|
-
|
|
183
|
-
Your workflow:
|
|
184
|
-
1. Call `ekkOS_Directive`:
|
|
185
|
-
- type: PREFER
|
|
186
|
-
- rule: "Use TypeScript strict mode"
|
|
187
|
-
- scope: project
|
|
188
|
-
2. Acknowledge in future responses
|
|
189
|
-
|
|
190
|
-
## Best Practices
|
|
191
|
-
|
|
192
|
-
1. **Search first** - Never answer without searching
|
|
193
|
-
2. **Acknowledge all** - 100% PatternGuard coverage required
|
|
194
|
-
3. **Forge immediately** - Don't wait to capture learnings
|
|
195
|
-
4. **Track outcomes** - Success/failure feedback improves patterns
|
|
196
|
-
5. **Use directives** - Convert user preferences to rules
|
|
197
|
-
6. **Export regularly** - Backup before major changes
|
|
198
|
-
7. **End with footer** - Every response needs the ekkOS footer
|
|
199
|
-
|
|
200
|
-
## Troubleshooting
|
|
201
|
-
|
|
202
|
-
**"No patterns found"**
|
|
203
|
-
โ You're in new territory. Forge what you discover.
|
|
204
|
-
|
|
205
|
-
**"Pattern retrieval failed"**
|
|
206
|
-
โ Check auth: `~/.ekkos/config.json` should have hookApiKey
|
|
207
|
-
|
|
208
|
-
**"How do I continue from last session?"**
|
|
209
|
-
โ Ask: "recall our last conversation" or "where were we"
|
|
210
|
-
|
|
211
|
-
## Resources
|
|
212
|
-
|
|
213
|
-
- Website: https://ekkos.dev
|
|
214
|
-
- Docs: https://docs.ekkos.dev
|
|
215
|
-
- Support: support@ekkos.dev
|
|
216
|
-
|
|
217
|
-
---
|
|
218
|
-
|
|
219
|
-
๐ง **ekkOS_โข** ยท Built for infinite context
|
|
1
|
+
---
|
|
2
|
+
title: ekkOS Memory System
|
|
3
|
+
description: AI-native cognitive memory with 31 MCP tools for persistent learning and context continuity
|
|
4
|
+
trigger: always_on
|
|
5
|
+
author: ekkOS Technologies
|
|
6
|
+
tags: [memory, patterns, learning, context]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# ekkOS Memory System Skill
|
|
10
|
+
|
|
11
|
+
This skill enables Cascade to leverage the full ekkOS 11-layer cognitive memory system for persistent learning, pattern recognition, and context continuity across sessions.
|
|
12
|
+
|
|
13
|
+
## When to Use This Skill
|
|
14
|
+
|
|
15
|
+
**ALWAYS USE** for:
|
|
16
|
+
- Technical questions (before answering, search memory)
|
|
17
|
+
- Bug fixes (forge patterns after solving)
|
|
18
|
+
- Architecture decisions (check for existing patterns)
|
|
19
|
+
- Code reviews (retrieve relevant patterns)
|
|
20
|
+
- Refactoring (find proven approaches)
|
|
21
|
+
|
|
22
|
+
## Core Workflow
|
|
23
|
+
|
|
24
|
+
### 1. Search Before Answering (MANDATORY)
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
Before answering ANY technical question:
|
|
28
|
+
|
|
29
|
+
1. Call ekkOS_Search with the query
|
|
30
|
+
2. Review retrieved patterns
|
|
31
|
+
3. Acknowledge ALL patterns with [ekkOS_SELECT] or [ekkOS_SKIP]
|
|
32
|
+
4. THEN provide your answer
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### 2. PatternGuard Acknowledgment
|
|
36
|
+
|
|
37
|
+
For every pattern retrieved, you MUST acknowledge it:
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
[ekkOS_SELECT]
|
|
41
|
+
- id: <pattern-uuid>
|
|
42
|
+
reason: Using this because...
|
|
43
|
+
confidence: 0.95
|
|
44
|
+
[/ekkOS_SELECT]
|
|
45
|
+
|
|
46
|
+
[ekkOS_SKIP]
|
|
47
|
+
- id: <pattern-uuid>
|
|
48
|
+
reason: Not relevant because...
|
|
49
|
+
[/ekkOS_SKIP]
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Coverage must be 100%** - every pattern ID must be acknowledged.
|
|
53
|
+
|
|
54
|
+
### 3. Forge What You Learn
|
|
55
|
+
|
|
56
|
+
After fixing bugs, solving problems, or discovering gotchas:
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
Call ekkOS_Forge with:
|
|
60
|
+
- Problem: What was broken
|
|
61
|
+
- Solution: How you fixed it
|
|
62
|
+
- Tags: [language, framework, error-type]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## MCP Tools Reference
|
|
66
|
+
|
|
67
|
+
### Core Memory (8 tools)
|
|
68
|
+
|
|
69
|
+
| Tool | Purpose | When to Use |
|
|
70
|
+
|------|---------|-------------|
|
|
71
|
+
| `ekkOS_Search` | Search all 11 memory layers | **Before EVERY technical answer** |
|
|
72
|
+
| `ekkOS_Context` | Get relevant task context | When starting multi-step tasks |
|
|
73
|
+
| `ekkOS_Capture` | Capture memory events | Log significant actions |
|
|
74
|
+
| `ekkOS_Forge` | Create patterns from solutions | After fixing bugs/discoveries |
|
|
75
|
+
| `ekkOS_Directive` | Create MUST/NEVER/PREFER/AVOID rules | When user states preferences |
|
|
76
|
+
| `ekkOS_Outcome` | Track success/failure | After applying patterns |
|
|
77
|
+
| `ekkOS_Detect` | Auto-detect pattern usage | In responses |
|
|
78
|
+
| `ekkOS_Recall` | Recall past conversations | When user asks "what did we" |
|
|
79
|
+
|
|
80
|
+
### Schema Awareness (2 tools)
|
|
81
|
+
|
|
82
|
+
| Tool | Purpose | When to Use |
|
|
83
|
+
|------|---------|-------------|
|
|
84
|
+
| `ekkOS_IndexSchema` | Index database schemas | With Supabase/Prisma projects |
|
|
85
|
+
| `ekkOS_GetSchema` | Get specific table schema | When writing queries |
|
|
86
|
+
|
|
87
|
+
### Plan Management (9 tools)
|
|
88
|
+
|
|
89
|
+
| Tool | Purpose | When to Use |
|
|
90
|
+
|------|---------|-------------|
|
|
91
|
+
| `ekkOS_Plan` | Create structured plans | Multi-step features |
|
|
92
|
+
| `ekkOS_Generate` | AI-generate plans | Complex tasks |
|
|
93
|
+
| `ekkOS_PlanStatus` | Update plan status | Marking steps complete |
|
|
94
|
+
| `ekkOS_PlanStep` | Mark step done | Step completion |
|
|
95
|
+
| `ekkOS_SaveTemplate` | Save as template | Reusable workflows |
|
|
96
|
+
| `ekkOS_Templates` | List templates | Finding existing plans |
|
|
97
|
+
| `ekkOS_FromTemplate` | Create from template | Starting from template |
|
|
98
|
+
|
|
99
|
+
### Portability & Secrets (8 tools)
|
|
100
|
+
|
|
101
|
+
| Tool | Purpose | When to Use |
|
|
102
|
+
|------|---------|-------------|
|
|
103
|
+
| `ekkOS_Export` | Export as backup | Before major changes |
|
|
104
|
+
| `ekkOS_Import` | Import from backup | Restoring context |
|
|
105
|
+
| `ekkOS_StoreSecret` | Encrypt credentials | Storing API keys |
|
|
106
|
+
| `ekkOS_GetSecret` | Retrieve secrets | Using stored credentials |
|
|
107
|
+
| `ekkOS_ListSecrets` | List secret metadata | Checking what's stored |
|
|
108
|
+
| `ekkOS_RotateSecret` | Rotate secret values | Key rotation |
|
|
109
|
+
|
|
110
|
+
### System Health (4 tools)
|
|
111
|
+
|
|
112
|
+
| Tool | Purpose | When to Use |
|
|
113
|
+
|------|---------|-------------|
|
|
114
|
+
| `ekkOS_Stats` | Get layer statistics | Health checks |
|
|
115
|
+
| `ekkOS_Summary` | Get activity summary | Progress updates |
|
|
116
|
+
| `ekkOS_Conflict` | Check for conflicts | Before dangerous ops |
|
|
117
|
+
| `ekkOS_Reflect` | Analyze for improvements | Post-task review |
|
|
118
|
+
|
|
119
|
+
## 11-Layer Architecture
|
|
120
|
+
|
|
121
|
+
| Layer | Purpose | Example Content |
|
|
122
|
+
|-------|---------|-----------------|
|
|
123
|
+
| 1 | Working | Current session context |
|
|
124
|
+
| 2 | Episodic | Past conversation turns |
|
|
125
|
+
| 3 | Semantic | Embeddings/vectors |
|
|
126
|
+
| 4 | Patterns | Proven solutions |
|
|
127
|
+
| 5 | Procedural | Step-by-step guides |
|
|
128
|
+
| 6 | Collective | Community patterns |
|
|
129
|
+
| 7 | Meta | Pattern effectiveness |
|
|
130
|
+
| 8 | Codebase | Project code context |
|
|
131
|
+
| 9 | Directives | User rules (MUST/NEVER) |
|
|
132
|
+
| 10 | Conflict | Auto-resolution rules |
|
|
133
|
+
| 11 | Secrets | Encrypted credentials |
|
|
134
|
+
|
|
135
|
+
## Forge Triggers
|
|
136
|
+
|
|
137
|
+
**Always forge when you:**
|
|
138
|
+
- Fix a bug (create anti-pattern from the bug)
|
|
139
|
+
- Find a better approach (update existing pattern)
|
|
140
|
+
- Discover a gotcha (create warning pattern)
|
|
141
|
+
- Get corrected by user (learn from correction)
|
|
142
|
+
- Solve auth/config issues (create setup pattern)
|
|
143
|
+
- Make architecture decisions (document rationale)
|
|
144
|
+
- Debug non-trivially (capture the journey)
|
|
145
|
+
|
|
146
|
+
## Response Format
|
|
147
|
+
|
|
148
|
+
End EVERY response with:
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
๐ง **ekkOS_โข** ยท ๐
YYYY-MM-DD H:MM AM/PM TZ
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Examples
|
|
155
|
+
|
|
156
|
+
### Example 1: Technical Question
|
|
157
|
+
|
|
158
|
+
User: "How do I fix CORS in Next.js?"
|
|
159
|
+
|
|
160
|
+
Your workflow:
|
|
161
|
+
1. Call `ekkOS_Search` with query: "Next.js CORS fix"
|
|
162
|
+
2. Review retrieved patterns
|
|
163
|
+
3. Acknowledge all patterns with SELECT/SKIP
|
|
164
|
+
4. Provide answer based on patterns + your knowledge
|
|
165
|
+
5. End with footer
|
|
166
|
+
|
|
167
|
+
### Example 2: Bug Fix
|
|
168
|
+
|
|
169
|
+
User: "The build is failing with this error..."
|
|
170
|
+
|
|
171
|
+
Your workflow:
|
|
172
|
+
1. Call `ekkOS_Search` with error message
|
|
173
|
+
2. Apply relevant patterns
|
|
174
|
+
3. Acknowledge with SELECT
|
|
175
|
+
4. Fix the bug
|
|
176
|
+
5. Call `ekkOS_Forge` with the solution
|
|
177
|
+
6. Call `ekkOS_Outcome` to track success
|
|
178
|
+
|
|
179
|
+
### Example 3: User Preference
|
|
180
|
+
|
|
181
|
+
User: "I always want TypeScript strict mode"
|
|
182
|
+
|
|
183
|
+
Your workflow:
|
|
184
|
+
1. Call `ekkOS_Directive`:
|
|
185
|
+
- type: PREFER
|
|
186
|
+
- rule: "Use TypeScript strict mode"
|
|
187
|
+
- scope: project
|
|
188
|
+
2. Acknowledge in future responses
|
|
189
|
+
|
|
190
|
+
## Best Practices
|
|
191
|
+
|
|
192
|
+
1. **Search first** - Never answer without searching
|
|
193
|
+
2. **Acknowledge all** - 100% PatternGuard coverage required
|
|
194
|
+
3. **Forge immediately** - Don't wait to capture learnings
|
|
195
|
+
4. **Track outcomes** - Success/failure feedback improves patterns
|
|
196
|
+
5. **Use directives** - Convert user preferences to rules
|
|
197
|
+
6. **Export regularly** - Backup before major changes
|
|
198
|
+
7. **End with footer** - Every response needs the ekkOS footer
|
|
199
|
+
|
|
200
|
+
## Troubleshooting
|
|
201
|
+
|
|
202
|
+
**"No patterns found"**
|
|
203
|
+
โ You're in new territory. Forge what you discover.
|
|
204
|
+
|
|
205
|
+
**"Pattern retrieval failed"**
|
|
206
|
+
โ Check auth: `~/.ekkos/config.json` should have hookApiKey
|
|
207
|
+
|
|
208
|
+
**"How do I continue from last session?"**
|
|
209
|
+
โ Ask: "recall our last conversation" or "where were we"
|
|
210
|
+
|
|
211
|
+
## Resources
|
|
212
|
+
|
|
213
|
+
- Website: https://ekkos.dev
|
|
214
|
+
- Docs: https://docs.ekkos.dev
|
|
215
|
+
- Support: support@ekkos.dev
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
๐ง **ekkOS_โข** ยท Built for infinite context
|