@ekkos/cli 1.3.2 → 1.3.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.
- package/dist/capture/jsonl-rewriter.d.ts +1 -1
- package/dist/capture/jsonl-rewriter.js +3 -3
- package/dist/capture/transcript-repair.d.ts +2 -2
- package/dist/capture/transcript-repair.js +2 -2
- package/dist/commands/claw.d.ts +13 -0
- package/dist/commands/claw.js +253 -0
- package/dist/commands/dashboard.js +617 -83
- package/dist/commands/doctor.d.ts +3 -3
- package/dist/commands/doctor.js +6 -79
- package/dist/commands/gemini.d.ts +19 -0
- package/dist/commands/gemini.js +193 -0
- package/dist/commands/init.js +2 -25
- package/dist/commands/run.d.ts +0 -1
- package/dist/commands/run.js +147 -241
- package/dist/commands/scan.d.ts +21 -0
- package/dist/commands/scan.js +386 -0
- package/dist/commands/swarm-dashboard.js +156 -28
- package/dist/commands/swarm.d.ts +1 -1
- package/dist/commands/swarm.js +1 -1
- package/dist/commands/test-claude.d.ts +2 -2
- package/dist/commands/test-claude.js +3 -3
- package/dist/deploy/index.d.ts +0 -2
- package/dist/deploy/index.js +0 -2
- package/dist/deploy/settings.d.ts +2 -2
- package/dist/deploy/settings.js +42 -4
- package/dist/deploy/skills.js +1 -2
- package/dist/index.js +79 -19
- package/dist/lib/usage-parser.js +4 -3
- package/dist/utils/proxy-url.d.ts +12 -1
- package/dist/utils/proxy-url.js +16 -1
- package/dist/utils/templates.js +1 -1
- package/package.json +4 -6
- package/templates/CLAUDE.md +49 -107
- package/dist/agent/daemon.d.ts +0 -130
- package/dist/agent/daemon.js +0 -606
- package/dist/agent/health-check.d.ts +0 -35
- package/dist/agent/health-check.js +0 -243
- package/dist/agent/pty-runner.d.ts +0 -53
- package/dist/agent/pty-runner.js +0 -190
- package/dist/commands/agent.d.ts +0 -50
- package/dist/commands/agent.js +0 -544
- package/dist/commands/setup-remote.d.ts +0 -20
- package/dist/commands/setup-remote.js +0 -582
- package/dist/commands/synk.d.ts +0 -7
- package/dist/commands/synk.js +0 -339
- package/dist/synk/api.d.ts +0 -22
- package/dist/synk/api.js +0 -133
- package/dist/synk/auth.d.ts +0 -7
- package/dist/synk/auth.js +0 -30
- package/dist/synk/config.d.ts +0 -18
- package/dist/synk/config.js +0 -37
- package/dist/synk/daemon/control-client.d.ts +0 -11
- package/dist/synk/daemon/control-client.js +0 -101
- package/dist/synk/daemon/control-server.d.ts +0 -24
- package/dist/synk/daemon/control-server.js +0 -91
- package/dist/synk/daemon/run.d.ts +0 -14
- package/dist/synk/daemon/run.js +0 -338
- package/dist/synk/encryption.d.ts +0 -17
- package/dist/synk/encryption.js +0 -133
- package/dist/synk/index.d.ts +0 -13
- package/dist/synk/index.js +0 -36
- package/dist/synk/machine-client.d.ts +0 -42
- package/dist/synk/machine-client.js +0 -218
- package/dist/synk/persistence.d.ts +0 -51
- package/dist/synk/persistence.js +0 -211
- package/dist/synk/qr.d.ts +0 -5
- package/dist/synk/qr.js +0 -33
- package/dist/synk/session-bridge.d.ts +0 -58
- package/dist/synk/session-bridge.js +0 -171
- package/dist/synk/session-client.d.ts +0 -46
- package/dist/synk/session-client.js +0 -240
- package/dist/synk/types.d.ts +0 -574
- package/dist/synk/types.js +0 -74
- package/dist/utils/verify-remote-terminal.d.ts +0 -10
- package/dist/utils/verify-remote-terminal.js +0 -415
- package/templates/README.md +0 -378
- package/templates/claude-plugins/PHASE2_COMPLETION.md +0 -346
- package/templates/claude-plugins/PLUGIN_PROPOSALS.md +0 -1776
- package/templates/claude-plugins/README.md +0 -587
- package/templates/claude-plugins/agents/code-reviewer.json +0 -14
- package/templates/claude-plugins/agents/debug-detective.json +0 -15
- package/templates/claude-plugins/agents/git-companion.json +0 -14
- package/templates/claude-plugins/blog-manager/.claude-plugin/plugin.json +0 -8
- package/templates/claude-plugins/blog-manager/commands/blog.md +0 -691
- package/templates/claude-plugins/golden-loop-monitor/.claude-plugin/plugin.json +0 -8
- package/templates/claude-plugins/golden-loop-monitor/commands/loop-status.md +0 -434
- package/templates/claude-plugins/learning-tracker/.claude-plugin/plugin.json +0 -8
- package/templates/claude-plugins/learning-tracker/commands/my-patterns.md +0 -282
- package/templates/claude-plugins/memory-lens/.claude-plugin/plugin.json +0 -8
- package/templates/claude-plugins/memory-lens/commands/memory-search.md +0 -181
- package/templates/claude-plugins/pattern-coach/.claude-plugin/plugin.json +0 -8
- package/templates/claude-plugins/pattern-coach/commands/forge.md +0 -365
- package/templates/claude-plugins/project-schema-validator/.claude-plugin/plugin.json +0 -8
- package/templates/claude-plugins/project-schema-validator/commands/validate-schema.md +0 -582
- package/templates/commands/continue.md +0 -47
- package/templates/cursor-rules/ekkos-memory.md +0 -127
- package/templates/ekkos-manifest.json +0 -223
- package/templates/helpers/json-parse.cjs +0 -101
- package/templates/plan-template.md +0 -306
- package/templates/shared/hooks-enabled.json +0 -22
- package/templates/shared/session-words.json +0 -45
- package/templates/skills/ekkOS_Deep_Recall/Skill.md +0 -282
- package/templates/skills/ekkOS_Learn/Skill.md +0 -265
- package/templates/skills/ekkOS_Memory_First/Skill.md +0 -206
- package/templates/skills/ekkOS_Plan_Assist/Skill.md +0 -302
- package/templates/skills/ekkOS_Preferences/Skill.md +0 -247
- package/templates/skills/ekkOS_Reflect/Skill.md +0 -257
- package/templates/skills/ekkOS_Safety/Skill.md +0 -265
- package/templates/skills/ekkOS_Schema/Skill.md +0 -251
- package/templates/skills/ekkOS_Summary/Skill.md +0 -257
- package/templates/spec-template.md +0 -159
- package/templates/windsurf-rules/ekkos-memory.md +0 -127
- package/templates/windsurf-skills/README.md +0 -58
- package/templates/windsurf-skills/ekkos-continue/SKILL.md +0 -81
- package/templates/windsurf-skills/ekkos-golden-loop/SKILL.md +0 -225
- package/templates/windsurf-skills/ekkos-insights/SKILL.md +0 -138
- package/templates/windsurf-skills/ekkos-recall/SKILL.md +0 -96
- package/templates/windsurf-skills/ekkos-safety/SKILL.md +0 -89
- package/templates/windsurf-skills/ekkos-vault/SKILL.md +0 -86
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
# Implementation Plan: [Feature Name]
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
**Technical implementation plan for [Feature Name] based on the specification.**
|
|
5
|
-
|
|
6
|
-
## Architecture Overview
|
|
7
|
-
|
|
8
|
-
### System Components
|
|
9
|
-
- **Frontend**: React components and state management
|
|
10
|
-
- **API Layer**: Next.js API routes and middleware
|
|
11
|
-
- **AI Services**: AI provider integration and processing
|
|
12
|
-
- **Database**: Supabase data storage and queries
|
|
13
|
-
- **External APIs**: Third-party service integrations
|
|
14
|
-
|
|
15
|
-
### Data Flow
|
|
16
|
-
```
|
|
17
|
-
User Input → Frontend → API Route → AI Processing → Database → Response
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Technical Stack
|
|
21
|
-
|
|
22
|
-
### Frontend
|
|
23
|
-
- **Framework**: Next.js 15.5.2 with React 19
|
|
24
|
-
- **Styling**: Tailwind CSS
|
|
25
|
-
- **State Management**: React hooks and context
|
|
26
|
-
- **Type Safety**: TypeScript
|
|
27
|
-
|
|
28
|
-
### Backend
|
|
29
|
-
- **Runtime**: Node.js with Next.js API routes
|
|
30
|
-
- **Database**: Supabase (PostgreSQL)
|
|
31
|
-
- **AI Providers**: OpenAI, Gemini (Google AI)
|
|
32
|
-
- **Authentication**: Supabase Auth (planned)
|
|
33
|
-
|
|
34
|
-
### External Services
|
|
35
|
-
- **YouTube API**: Content extraction
|
|
36
|
-
- **AI APIs**: OpenAI, Google AI (Gemini)
|
|
37
|
-
- **Content Processing**: Custom extraction services
|
|
38
|
-
|
|
39
|
-
## Implementation Phases
|
|
40
|
-
|
|
41
|
-
### Phase 1: Foundation Setup
|
|
42
|
-
**Duration**: 1-2 days
|
|
43
|
-
|
|
44
|
-
#### Tasks
|
|
45
|
-
- [ ] **Database Schema**: Create/modify database tables
|
|
46
|
-
- [ ] **API Contracts**: Define request/response interfaces
|
|
47
|
-
- [ ] **Type Definitions**: Create TypeScript interfaces
|
|
48
|
-
- [ ] **Environment Setup**: Configure required environment variables
|
|
49
|
-
|
|
50
|
-
#### Deliverables
|
|
51
|
-
- Database migration scripts
|
|
52
|
-
- TypeScript interface definitions
|
|
53
|
-
- API endpoint specifications
|
|
54
|
-
- Environment configuration
|
|
55
|
-
|
|
56
|
-
### Phase 2: Core Implementation
|
|
57
|
-
**Duration**: 3-5 days
|
|
58
|
-
|
|
59
|
-
#### Backend Implementation
|
|
60
|
-
- [ ] **API Routes**: Implement Next.js API endpoints
|
|
61
|
-
- [ ] **AI Integration**: Connect to AI providers
|
|
62
|
-
- [ ] **Data Processing**: Implement content processing logic
|
|
63
|
-
- [ ] **Error Handling**: Implement comprehensive error handling
|
|
64
|
-
|
|
65
|
-
#### Frontend Implementation
|
|
66
|
-
- [ ] **UI Components**: Create React components
|
|
67
|
-
- [ ] **State Management**: Implement data flow
|
|
68
|
-
- [ ] **User Interface**: Design and implement user interactions
|
|
69
|
-
- [ ] **Responsive Design**: Ensure mobile compatibility
|
|
70
|
-
|
|
71
|
-
#### Deliverables
|
|
72
|
-
- Working API endpoints
|
|
73
|
-
- Functional UI components
|
|
74
|
-
- AI integration working
|
|
75
|
-
- Basic error handling
|
|
76
|
-
|
|
77
|
-
### Phase 3: Integration and Testing
|
|
78
|
-
**Duration**: 2-3 days
|
|
79
|
-
|
|
80
|
-
#### Integration Tasks
|
|
81
|
-
- [ ] **End-to-End Testing**: Test complete user workflows
|
|
82
|
-
- [ ] **AI Provider Testing**: Validate AI accuracy and performance
|
|
83
|
-
- [ ] **Error Scenario Testing**: Test failure modes and recovery
|
|
84
|
-
- [ ] **Performance Testing**: Validate response times and throughput
|
|
85
|
-
|
|
86
|
-
#### Quality Assurance
|
|
87
|
-
- [ ] **Code Review**: Review all implementation code
|
|
88
|
-
- [ ] **Security Review**: Validate security measures
|
|
89
|
-
- [ ] **Accessibility Review**: Ensure accessibility compliance
|
|
90
|
-
- [ ] **Documentation**: Update technical documentation
|
|
91
|
-
|
|
92
|
-
#### Deliverables
|
|
93
|
-
- Fully tested feature
|
|
94
|
-
- Performance benchmarks
|
|
95
|
-
- Security validation
|
|
96
|
-
- Updated documentation
|
|
97
|
-
|
|
98
|
-
## Database Schema
|
|
99
|
-
|
|
100
|
-
### New Tables
|
|
101
|
-
```sql
|
|
102
|
-
-- Example table for new feature
|
|
103
|
-
CREATE TABLE feature_table (
|
|
104
|
-
id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
|
|
105
|
-
user_id TEXT NOT NULL,
|
|
106
|
-
data JSONB NOT NULL,
|
|
107
|
-
created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
|
|
108
|
-
updated_at TIMESTAMP WITH TIME ZONE DEFAULT NOW()
|
|
109
|
-
);
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
### Modified Tables
|
|
113
|
-
- **content_items**: Add new fields if needed
|
|
114
|
-
- **users**: Add new fields if needed
|
|
115
|
-
|
|
116
|
-
## API Design
|
|
117
|
-
|
|
118
|
-
### New Endpoints
|
|
119
|
-
- **POST /api/feature**: Create new feature item
|
|
120
|
-
- **GET /api/feature**: List feature items
|
|
121
|
-
- **PUT /api/feature/[id]**: Update feature item
|
|
122
|
-
- **DELETE /api/feature/[id]**: Delete feature item
|
|
123
|
-
|
|
124
|
-
### Request/Response Examples
|
|
125
|
-
```typescript
|
|
126
|
-
// POST /api/feature
|
|
127
|
-
interface CreateFeatureRequest {
|
|
128
|
-
title: string;
|
|
129
|
-
content: string;
|
|
130
|
-
// ... other fields
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
interface CreateFeatureResponse {
|
|
134
|
-
id: string;
|
|
135
|
-
// ... response fields
|
|
136
|
-
}
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
## AI Integration
|
|
140
|
-
|
|
141
|
-
### AI Provider Selection
|
|
142
|
-
- **Primary**: OpenAI (for main processing)
|
|
143
|
-
- **Fallback**: Mock provider (for development)
|
|
144
|
-
- **Future**: Anthropic (for additional capabilities)
|
|
145
|
-
|
|
146
|
-
### AI Processing Pipeline
|
|
147
|
-
1. **Content Analysis**: Analyze input content
|
|
148
|
-
2. **Feature Extraction**: Extract relevant features
|
|
149
|
-
3. **AI Processing**: Apply AI algorithms
|
|
150
|
-
4. **Result Validation**: Validate AI outputs
|
|
151
|
-
5. **Response Generation**: Format final response
|
|
152
|
-
|
|
153
|
-
### Cost Considerations
|
|
154
|
-
- **OpenAI API**: ~$0.01-0.10 per request
|
|
155
|
-
- **Gemini API**: ~$0.005-0.05 per request
|
|
156
|
-
- **Expected Volume**: 100-1000 requests/day
|
|
157
|
-
- **Monthly Cost**: $10-100 estimated
|
|
158
|
-
|
|
159
|
-
## Frontend Components
|
|
160
|
-
|
|
161
|
-
### New Components
|
|
162
|
-
- **FeatureForm**: Form for creating/editing features
|
|
163
|
-
- **FeatureList**: List view of features
|
|
164
|
-
- **FeatureDetail**: Detailed view of individual feature
|
|
165
|
-
- **FeatureCard**: Card component for feature display
|
|
166
|
-
|
|
167
|
-
### State Management
|
|
168
|
-
- **Context**: FeatureContext for global state
|
|
169
|
-
- **Hooks**: Custom hooks for data fetching
|
|
170
|
-
- **Local State**: Component-level state management
|
|
171
|
-
|
|
172
|
-
## Error Handling
|
|
173
|
-
|
|
174
|
-
### Error Types
|
|
175
|
-
- **Validation Errors**: Input validation failures
|
|
176
|
-
- **AI Errors**: AI provider failures
|
|
177
|
-
- **Network Errors**: API communication failures
|
|
178
|
-
- **Database Errors**: Data persistence failures
|
|
179
|
-
|
|
180
|
-
### Error Recovery
|
|
181
|
-
- **Retry Logic**: Automatic retry for transient failures
|
|
182
|
-
- **Fallback Strategies**: Alternative approaches when primary fails
|
|
183
|
-
- **User Feedback**: Clear error messages and recovery options
|
|
184
|
-
- **Logging**: Comprehensive error logging and monitoring
|
|
185
|
-
|
|
186
|
-
## Performance Considerations
|
|
187
|
-
|
|
188
|
-
### Optimization Strategies
|
|
189
|
-
- **Caching**: Implement appropriate caching strategies
|
|
190
|
-
- **Lazy Loading**: Load components and data on demand
|
|
191
|
-
- **Debouncing**: Prevent excessive API calls
|
|
192
|
-
- **Compression**: Compress API responses
|
|
193
|
-
|
|
194
|
-
### Monitoring
|
|
195
|
-
- **Response Times**: Track API response times
|
|
196
|
-
- **Error Rates**: Monitor error frequencies
|
|
197
|
-
- **AI Performance**: Track AI accuracy and costs
|
|
198
|
-
- **User Metrics**: Monitor user engagement
|
|
199
|
-
|
|
200
|
-
## Security Considerations
|
|
201
|
-
|
|
202
|
-
### Authentication
|
|
203
|
-
- **User Verification**: Verify user identity
|
|
204
|
-
- **Session Management**: Manage user sessions
|
|
205
|
-
- **Token Validation**: Validate authentication tokens
|
|
206
|
-
|
|
207
|
-
### Authorization
|
|
208
|
-
- **Access Control**: Control feature access
|
|
209
|
-
- **Data Isolation**: Ensure user data isolation
|
|
210
|
-
- **Permission Checks**: Validate user permissions
|
|
211
|
-
|
|
212
|
-
### Data Protection
|
|
213
|
-
- **Input Validation**: Validate all inputs
|
|
214
|
-
- **Output Sanitization**: Sanitize outputs
|
|
215
|
-
- **Privacy Compliance**: Ensure data privacy
|
|
216
|
-
- **Audit Logging**: Log security-relevant events
|
|
217
|
-
|
|
218
|
-
## Testing Strategy
|
|
219
|
-
|
|
220
|
-
### Unit Testing
|
|
221
|
-
- **Component Tests**: Test React components
|
|
222
|
-
- **API Tests**: Test API endpoints
|
|
223
|
-
- **Service Tests**: Test business logic
|
|
224
|
-
- **AI Tests**: Test AI integration
|
|
225
|
-
|
|
226
|
-
### Integration Testing
|
|
227
|
-
- **End-to-End Tests**: Test complete workflows
|
|
228
|
-
- **API Integration**: Test API interactions
|
|
229
|
-
- **Database Integration**: Test data persistence
|
|
230
|
-
- **External Service Integration**: Test third-party services
|
|
231
|
-
|
|
232
|
-
### Performance Testing
|
|
233
|
-
- **Load Testing**: Test under expected load
|
|
234
|
-
- **Stress Testing**: Test under high load
|
|
235
|
-
- **AI Performance**: Test AI response times
|
|
236
|
-
- **Database Performance**: Test query performance
|
|
237
|
-
|
|
238
|
-
## Deployment Plan
|
|
239
|
-
|
|
240
|
-
### Environment Setup
|
|
241
|
-
- **Development**: Local development environment
|
|
242
|
-
- **Staging**: Pre-production testing environment
|
|
243
|
-
- **Production**: Live production environment
|
|
244
|
-
|
|
245
|
-
### Deployment Process
|
|
246
|
-
1. **Code Review**: Review all changes
|
|
247
|
-
2. **Testing**: Run comprehensive tests
|
|
248
|
-
3. **Staging Deployment**: Deploy to staging
|
|
249
|
-
4. **Production Deployment**: Deploy to production
|
|
250
|
-
5. **Monitoring**: Monitor deployment health
|
|
251
|
-
|
|
252
|
-
### Rollback Strategy
|
|
253
|
-
- **Database Rollback**: Rollback database changes
|
|
254
|
-
- **Code Rollback**: Rollback code changes
|
|
255
|
-
- **Configuration Rollback**: Rollback configuration changes
|
|
256
|
-
- **Monitoring**: Monitor rollback success
|
|
257
|
-
|
|
258
|
-
## Success Metrics
|
|
259
|
-
|
|
260
|
-
### Technical Metrics
|
|
261
|
-
- **Response Time**: < 2 seconds for API calls
|
|
262
|
-
- **Error Rate**: < 1% error rate
|
|
263
|
-
- **Uptime**: > 99.9% uptime
|
|
264
|
-
- **AI Accuracy**: > 90% accuracy
|
|
265
|
-
|
|
266
|
-
### User Metrics
|
|
267
|
-
- **Adoption Rate**: % of users using feature
|
|
268
|
-
- **Satisfaction**: User satisfaction scores
|
|
269
|
-
- **Engagement**: Feature usage frequency
|
|
270
|
-
- **Retention**: User retention impact
|
|
271
|
-
|
|
272
|
-
### Business Metrics
|
|
273
|
-
- **Cost per Operation**: Cost efficiency
|
|
274
|
-
- **Revenue Impact**: Revenue generation
|
|
275
|
-
- **User Growth**: User acquisition impact
|
|
276
|
-
- **Competitive Advantage**: Market positioning
|
|
277
|
-
|
|
278
|
-
## Risk Mitigation
|
|
279
|
-
|
|
280
|
-
### Technical Risks
|
|
281
|
-
- **AI Provider Outage**: Implement fallback providers
|
|
282
|
-
- **Database Issues**: Implement backup and recovery
|
|
283
|
-
- **Performance Issues**: Implement monitoring and scaling
|
|
284
|
-
- **Security Vulnerabilities**: Implement security reviews
|
|
285
|
-
|
|
286
|
-
### Business Risks
|
|
287
|
-
- **User Adoption**: Implement user feedback loops
|
|
288
|
-
- **Cost Overruns**: Implement cost monitoring
|
|
289
|
-
- **Competitive Pressure**: Implement rapid iteration
|
|
290
|
-
- **Regulatory Issues**: Implement compliance monitoring
|
|
291
|
-
|
|
292
|
-
## Future Enhancements
|
|
293
|
-
|
|
294
|
-
### Planned Improvements
|
|
295
|
-
- **Advanced AI Features**: Enhanced AI capabilities
|
|
296
|
-
- **Mobile App**: Native mobile application
|
|
297
|
-
- **API Expansion**: Additional API endpoints
|
|
298
|
-
- **Integration**: Third-party integrations
|
|
299
|
-
|
|
300
|
-
### Research Areas
|
|
301
|
-
- **AI Optimization**: Improve AI accuracy and cost
|
|
302
|
-
- **User Experience**: Enhance user interface
|
|
303
|
-
- **Performance**: Optimize system performance
|
|
304
|
-
- **Scalability**: Improve system scalability
|
|
305
|
-
|
|
306
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"updatedAt": "2026-01-18T00:00:00Z",
|
|
4
|
-
"targets": {
|
|
5
|
-
"claude": {
|
|
6
|
-
"user-prompt-submit": true,
|
|
7
|
-
"assistant-response": true,
|
|
8
|
-
"stop": true,
|
|
9
|
-
"session-start": true
|
|
10
|
-
},
|
|
11
|
-
"cursor": {
|
|
12
|
-
"enabled": true
|
|
13
|
-
},
|
|
14
|
-
"windsurf": {
|
|
15
|
-
"enabled": true
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"redaction": {
|
|
19
|
-
"enabled": true,
|
|
20
|
-
"mode": "safe"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 2,
|
|
3
|
-
"updatedAt": "2026-01-18T00:00:00Z",
|
|
4
|
-
"adjectives": [
|
|
5
|
-
"ace", "big", "blu", "coy", "dex",
|
|
6
|
-
"eco", "fab", "gem", "hex", "ice",
|
|
7
|
-
"jet", "key", "lux", "max", "neo",
|
|
8
|
-
"oak", "pop", "rad", "sky", "top",
|
|
9
|
-
"uno", "vex", "wax", "xen", "zen",
|
|
10
|
-
"hot", "red", "nox", "sol", "vim",
|
|
11
|
-
"ash", "dew", "fog", "glo", "ink",
|
|
12
|
-
"joy", "koi", "lit", "mox", "nix",
|
|
13
|
-
"orb", "pix", "qix", "rox", "sly",
|
|
14
|
-
"tek", "ulu", "vox", "wiz", "zap"
|
|
15
|
-
],
|
|
16
|
-
"nouns": [
|
|
17
|
-
"ant", "bat", "cat", "dog", "elk",
|
|
18
|
-
"fox", "gnu", "hen", "imp", "jay",
|
|
19
|
-
"kit", "lex", "moo", "nub", "owl",
|
|
20
|
-
"pug", "ram", "sun", "tux", "urn",
|
|
21
|
-
"van", "web", "yak", "zed", "ape",
|
|
22
|
-
"bee", "cod", "doe", "eel", "fin",
|
|
23
|
-
"gup", "hog", "ion", "jab", "keg",
|
|
24
|
-
"log", "mud", "net", "oat", "pod",
|
|
25
|
-
"rye", "sap", "tar", "vat", "wok",
|
|
26
|
-
"box", "cub", "dip", "gem", "hub"
|
|
27
|
-
],
|
|
28
|
-
"verbs": [
|
|
29
|
-
"ask", "bet", "cut", "dig", "eat",
|
|
30
|
-
"fix", "get", "hit", "jab", "key",
|
|
31
|
-
"let", "mix", "nap", "opt", "pop",
|
|
32
|
-
"run", "set", "tap", "use", "vet",
|
|
33
|
-
"win", "zip", "zap", "add", "bid",
|
|
34
|
-
"dub", "end", "fly", "gig", "hum",
|
|
35
|
-
"jog", "lob", "map", "net", "orb",
|
|
36
|
-
"pay", "rip", "sip", "tag", "vow",
|
|
37
|
-
"wag", "yap", "bow", "cue", "dip",
|
|
38
|
-
"fan", "hop", "jam", "nod", "tug"
|
|
39
|
-
],
|
|
40
|
-
"rules": {
|
|
41
|
-
"format": "{adj}-{noun}-{verb}",
|
|
42
|
-
"minPerList": 25,
|
|
43
|
-
"maxPerList": 500
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,282 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ekkOS_Deep_Recall
|
|
3
|
-
description: Deep memory retrieval across sessions and projects. Activate when user says "yesterday", "last week", "remember when", "what did we discuss", "we worked on X before", "bring context from [project]", or asks about past decisions, fixes, or discussions. Combines time-based recall with semantic search.
|
|
4
|
-
allowed-tools:
|
|
5
|
-
- mcp__ekkos-memory__ekkOS_Recall
|
|
6
|
-
- mcp__ekkos-memory__ekkOS_Search
|
|
7
|
-
- mcp__ekkos-memory__ekkOS_Context
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# ekkOS_Deep_Recall
|
|
11
|
-
|
|
12
|
-
You are augmented with **ekkOS_ memory** - and you can recall conversations, decisions, and solutions from any point in history.
|
|
13
|
-
|
|
14
|
-
## Why This Skill Exists
|
|
15
|
-
|
|
16
|
-
Users reference past work in many ways:
|
|
17
|
-
- By time: "yesterday", "last week", "a month ago"
|
|
18
|
-
- By topic: "remember when we fixed the auth bug?"
|
|
19
|
-
- By project: "bring context from the API project"
|
|
20
|
-
- By outcome: "what solution did we use for caching?"
|
|
21
|
-
|
|
22
|
-
This skill searches across all memory layers to find what they need.
|
|
23
|
-
|
|
24
|
-
## When To Activate
|
|
25
|
-
|
|
26
|
-
| Trigger | Action |
|
|
27
|
-
|---------|--------|
|
|
28
|
-
| "yesterday", "last week", "recently" | Time-based recall |
|
|
29
|
-
| "remember when we...", "we discussed..." | Semantic search |
|
|
30
|
-
| "what did we decide about X" | Decision search |
|
|
31
|
-
| "we fixed this before" | Solution/pattern search |
|
|
32
|
-
| "bring context from [project]" | Cross-project recall |
|
|
33
|
-
| "what do you know about X" | Full memory search |
|
|
34
|
-
|
|
35
|
-
## Instructions
|
|
36
|
-
|
|
37
|
-
### For Time-Based Queries
|
|
38
|
-
|
|
39
|
-
Parse the time reference and call recall:
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
"yesterday" → ekkOS_Recall({ days_ago: 1 })
|
|
43
|
-
"last week" → ekkOS_Recall({ days_ago: 7 })
|
|
44
|
-
"a few days ago" → ekkOS_Recall({ days_ago: 3 })
|
|
45
|
-
"last month" → ekkOS_Recall({ days_ago: 30 })
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Options:
|
|
49
|
-
```javascript
|
|
50
|
-
ekkOS_Recall({
|
|
51
|
-
days_ago: 1, // How far back
|
|
52
|
-
limit: 20, // Max results
|
|
53
|
-
llm_summarize: true, // AI summary
|
|
54
|
-
include_patterns: true, // Include forged patterns
|
|
55
|
-
include_file_changes: true, // Include files touched
|
|
56
|
-
group_by_sessions: true // Group by session
|
|
57
|
-
})
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
### For Topic-Based Queries
|
|
61
|
-
|
|
62
|
-
Use semantic search:
|
|
63
|
-
|
|
64
|
-
```javascript
|
|
65
|
-
ekkOS_Search({
|
|
66
|
-
query: "authentication token refresh implementation",
|
|
67
|
-
sources: ["episodic", "patterns", "semantic"]
|
|
68
|
-
})
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
### For Decision Queries
|
|
72
|
-
|
|
73
|
-
Search with decision extraction:
|
|
74
|
-
|
|
75
|
-
```javascript
|
|
76
|
-
ekkOS_Recall({
|
|
77
|
-
semantic_query: "decision about caching strategy",
|
|
78
|
-
extract_decisions: true
|
|
79
|
-
})
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
### For Cross-Project Context
|
|
83
|
-
|
|
84
|
-
Search codebase layer:
|
|
85
|
-
|
|
86
|
-
```javascript
|
|
87
|
-
ekkOS_Search({
|
|
88
|
-
query: "rate limiting implementation",
|
|
89
|
-
sources: ["codebase", "patterns"]
|
|
90
|
-
})
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
## Response Format
|
|
94
|
-
|
|
95
|
-
### Time-Based Results
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
🧠 **Yesterday's Sessions**
|
|
99
|
-
|
|
100
|
-
**Session 1** (10:30 AM - 12:15 PM)
|
|
101
|
-
- Working on: CI/CD pipeline setup
|
|
102
|
-
- Completed: GitHub Actions configuration
|
|
103
|
-
- Left off: Fixing failing auth test
|
|
104
|
-
|
|
105
|
-
**Session 2** (3:00 PM - 5:00 PM)
|
|
106
|
-
- Working on: User service refactoring
|
|
107
|
-
- Decision: Use Redis over Memcached
|
|
108
|
-
- Files: src/services/user.ts, src/cache/redis.ts
|
|
109
|
-
|
|
110
|
-
---
|
|
111
|
-
Would you like to continue any of these?
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
### Topic-Based Results
|
|
115
|
-
|
|
116
|
-
```
|
|
117
|
-
🧠 **Found: Caching Bug Fix** (2 weeks ago)
|
|
118
|
-
|
|
119
|
-
**The Problem**: Cache not invalidating on updates
|
|
120
|
-
**Root Cause**: Object reference used as key instead of ID
|
|
121
|
-
**Solution**: Changed to immutable entity ID as cache key
|
|
122
|
-
|
|
123
|
-
**Pattern Forged**: "Always use immutable IDs as cache keys"
|
|
124
|
-
Confidence: 0.95 | Applied 12 times successfully
|
|
125
|
-
|
|
126
|
-
Want me to apply this pattern to your current issue?
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
### Decision Results
|
|
130
|
-
|
|
131
|
-
```
|
|
132
|
-
🧠 **Decision: Caching Strategy** (January 5th)
|
|
133
|
-
|
|
134
|
-
**Context**: Choosing between Redis and Memcached
|
|
135
|
-
**Decision**: Redis
|
|
136
|
-
**Reasons**:
|
|
137
|
-
- Persistence for cache warmth
|
|
138
|
-
- Pub/sub for invalidation
|
|
139
|
-
- Lua scripting for atomic operations
|
|
140
|
-
|
|
141
|
-
**Who decided**: You, after weighing trade-offs
|
|
142
|
-
**Outcome**: Working well, no regrets mentioned
|
|
143
|
-
|
|
144
|
-
Is this the decision you were looking for?
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
## Example Scenarios
|
|
148
|
-
|
|
149
|
-
### Scenario 1: Yesterday's Work
|
|
150
|
-
```
|
|
151
|
-
User: "What were we working on yesterday?"
|
|
152
|
-
|
|
153
|
-
You: ekkOS_Recall({ days_ago: 1, group_by_sessions: true })
|
|
154
|
-
|
|
155
|
-
🧠 Yesterday (January 10th):
|
|
156
|
-
|
|
157
|
-
**Session 1** (10:30 AM)
|
|
158
|
-
- API rate limiting implementation
|
|
159
|
-
- Sliding window algorithm complete
|
|
160
|
-
- Left off: Edge case testing
|
|
161
|
-
|
|
162
|
-
**Session 2** (3:00 PM)
|
|
163
|
-
- Dashboard component refactoring
|
|
164
|
-
- Split into smaller components
|
|
165
|
-
- Forged: "Component composition pattern"
|
|
166
|
-
|
|
167
|
-
Continue where you left off?
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
### Scenario 2: Remember When
|
|
171
|
-
```
|
|
172
|
-
User: "Remember when we fixed that weird auth bug?"
|
|
173
|
-
|
|
174
|
-
You: ekkOS_Search({
|
|
175
|
-
query: "authentication bug fix",
|
|
176
|
-
sources: ["episodic", "patterns"]
|
|
177
|
-
})
|
|
178
|
-
|
|
179
|
-
🧠 Found it! (3 weeks ago)
|
|
180
|
-
|
|
181
|
-
**Bug**: JWT tokens expiring early
|
|
182
|
-
**Cause**: Timezone mismatch in expiry calculation
|
|
183
|
-
**Fix**: Use UTC consistently across all time ops
|
|
184
|
-
|
|
185
|
-
Pattern: "auth-jwt-timezone-fix"
|
|
186
|
-
Applied successfully 5 times since
|
|
187
|
-
|
|
188
|
-
Is this what you were thinking of?
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
### Scenario 3: Past Decision
|
|
192
|
-
```
|
|
193
|
-
User: "What did we decide about the database schema?"
|
|
194
|
-
|
|
195
|
-
You: ekkOS_Recall({
|
|
196
|
-
semantic_query: "database schema decision",
|
|
197
|
-
extract_decisions: true
|
|
198
|
-
})
|
|
199
|
-
|
|
200
|
-
🧠 **Schema Decisions** (found 3)
|
|
201
|
-
|
|
202
|
-
1. **Users table** (Jan 5)
|
|
203
|
-
- Soft deletes with deleted_at
|
|
204
|
-
- UUID primary keys
|
|
205
|
-
- Email unique constraint
|
|
206
|
-
|
|
207
|
-
2. **Orders table** (Jan 8)
|
|
208
|
-
- Denormalized totals for performance
|
|
209
|
-
- Status enum, not string
|
|
210
|
-
- Foreign key to users
|
|
211
|
-
|
|
212
|
-
3. **Products table** (Jan 10)
|
|
213
|
-
- JSON column for attributes
|
|
214
|
-
- Full-text search enabled
|
|
215
|
-
|
|
216
|
-
Want details on any of these?
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
### Scenario 4: Cross-Project
|
|
220
|
-
```
|
|
221
|
-
User: "How did we implement rate limiting in the API project?"
|
|
222
|
-
|
|
223
|
-
You: ekkOS_Search({
|
|
224
|
-
query: "rate limiting implementation",
|
|
225
|
-
sources: ["codebase", "patterns"]
|
|
226
|
-
})
|
|
227
|
-
|
|
228
|
-
🧠 **Rate Limiting** (from api-project)
|
|
229
|
-
|
|
230
|
-
**Approach**: Token bucket algorithm
|
|
231
|
-
**Storage**: Redis with TTL
|
|
232
|
-
**Limits**: 100 req/min per API key
|
|
233
|
-
|
|
234
|
-
**Files**:
|
|
235
|
-
- src/middleware/rateLimit.ts
|
|
236
|
-
- src/redis/tokenBucket.ts
|
|
237
|
-
|
|
238
|
-
**Pattern**: "rate-limit-token-bucket"
|
|
239
|
-
Works in: api-project, dashboard-api
|
|
240
|
-
|
|
241
|
-
Want me to apply this pattern here?
|
|
242
|
-
```
|
|
243
|
-
|
|
244
|
-
## When No Results Found
|
|
245
|
-
|
|
246
|
-
```
|
|
247
|
-
🧠 I couldn't find anything about [topic].
|
|
248
|
-
|
|
249
|
-
Possible reasons:
|
|
250
|
-
- We haven't discussed this before
|
|
251
|
-
- It was before ekkOS was set up
|
|
252
|
-
- The search terms didn't match
|
|
253
|
-
|
|
254
|
-
Try:
|
|
255
|
-
1. Different keywords?
|
|
256
|
-
2. Broader time range?
|
|
257
|
-
3. Check a specific project?
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
## Combining with Current Context
|
|
261
|
-
|
|
262
|
-
After recall, offer to load full context:
|
|
263
|
-
|
|
264
|
-
```
|
|
265
|
-
"Would you like me to load the full session context?
|
|
266
|
-
This brings back all the details from that conversation."
|
|
267
|
-
|
|
268
|
-
→ ekkOS_Context({ task: "continue X from recalled session" })
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
## Success Metrics
|
|
272
|
-
|
|
273
|
-
You're using this skill well when:
|
|
274
|
-
- Time references trigger automatic recall
|
|
275
|
-
- Topic searches find relevant past work
|
|
276
|
-
- Decisions are surfaced with context
|
|
277
|
-
- Users feel like you "remember everything"
|
|
278
|
-
- Cross-project patterns are reusable
|
|
279
|
-
|
|
280
|
-
---
|
|
281
|
-
|
|
282
|
-
**Mantra**: The past is never lost - search for it, find it, use it.
|