omgkit 2.10.0 → 2.11.0

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 (55) hide show
  1. package/package.json +2 -1
  2. package/plugin/agents/autonomous-orchestrator.yaml +215 -0
  3. package/plugin/commands/auto/approve.md +258 -0
  4. package/plugin/commands/auto/checkpoint.md +253 -0
  5. package/plugin/commands/auto/init.md +236 -0
  6. package/plugin/commands/auto/next.md +278 -0
  7. package/plugin/commands/auto/reject.md +278 -0
  8. package/plugin/commands/auto/resume.md +233 -0
  9. package/plugin/commands/auto/start.md +212 -0
  10. package/plugin/commands/auto/status.md +212 -0
  11. package/plugin/commands/auto/verify.md +353 -0
  12. package/plugin/commands/workflow/1000x-innovation.md +61 -0
  13. package/plugin/commands/workflow/100x-architecture.md +60 -0
  14. package/plugin/commands/workflow/10x-improvement.md +63 -0
  15. package/plugin/commands/workflow/agent-development.md +60 -0
  16. package/plugin/commands/workflow/api-design.md +61 -0
  17. package/plugin/commands/workflow/api-testing.md +61 -0
  18. package/plugin/commands/workflow/authentication.md +60 -0
  19. package/plugin/commands/workflow/best-practices.md +61 -0
  20. package/plugin/commands/workflow/bug-fix.md +61 -0
  21. package/plugin/commands/workflow/code-review.md +52 -0
  22. package/plugin/commands/workflow/feature.md +73 -0
  23. package/plugin/commands/workflow/fine-tuning.md +60 -0
  24. package/plugin/commands/workflow/full-feature.md +70 -0
  25. package/plugin/commands/workflow/marketing.md +53 -0
  26. package/plugin/commands/workflow/migration.md +60 -0
  27. package/plugin/commands/workflow/model-evaluation.md +59 -0
  28. package/plugin/commands/workflow/optimization.md +60 -0
  29. package/plugin/commands/workflow/penetration-testing.md +60 -0
  30. package/plugin/commands/workflow/performance-optimization.md +60 -0
  31. package/plugin/commands/workflow/prompt-engineering.md +51 -0
  32. package/plugin/commands/workflow/rag-development.md +79 -0
  33. package/plugin/commands/workflow/refactor.md +59 -0
  34. package/plugin/commands/workflow/schema-design.md +70 -0
  35. package/plugin/commands/workflow/security-audit.md +61 -0
  36. package/plugin/commands/workflow/sprint-execution.md +65 -0
  37. package/plugin/commands/workflow/sprint-retrospective.md +61 -0
  38. package/plugin/commands/workflow/sprint-setup.md +64 -0
  39. package/plugin/commands/workflow/technical-docs.md +52 -0
  40. package/plugin/commands/workflow/technology-research.md +61 -0
  41. package/plugin/skills/autonomous/project-orchestration/SKILL.md +332 -0
  42. package/plugin/templates/autonomous/archetypes/api-service.yaml +78 -0
  43. package/plugin/templates/autonomous/archetypes/cli-tool.yaml +67 -0
  44. package/plugin/templates/autonomous/archetypes/fullstack-app.yaml +97 -0
  45. package/plugin/templates/autonomous/archetypes/library.yaml +64 -0
  46. package/plugin/templates/autonomous/archetypes/saas-mvp.yaml +417 -0
  47. package/plugin/templates/autonomous/decision-framework.yaml +337 -0
  48. package/plugin/templates/autonomous/discovery-questions.yaml +795 -0
  49. package/plugin/templates/autonomous/features-schema.yaml +254 -0
  50. package/plugin/templates/autonomous/memory-system.yaml +298 -0
  51. package/plugin/templates/autonomous/prd-template.md +251 -0
  52. package/plugin/templates/autonomous/state-schema.yaml +383 -0
  53. package/plugin/workflows/autonomous/discovery.yaml +232 -0
  54. package/plugin/workflows/autonomous/execution.yaml +275 -0
  55. package/plugin/workflows/autonomous/planning.yaml +244 -0
@@ -0,0 +1,254 @@
1
+ # Features Schema for Autonomous Projects
2
+ # This defines the structure of .omgkit/generated/features.yaml
3
+
4
+ version: 1
5
+
6
+ schema:
7
+ # Metadata
8
+ project_name:
9
+ type: string
10
+ required: true
11
+ description: Project name for reference
12
+
13
+ generated_at:
14
+ type: datetime
15
+ required: true
16
+ description: When feature list was generated
17
+
18
+ source:
19
+ type: string
20
+ required: true
21
+ description: PRD file this was generated from
22
+
23
+ # Feature priorities
24
+ priorities:
25
+ p0:
26
+ type: array
27
+ items: feature
28
+ description: Must-have features for MVP
29
+
30
+ p1:
31
+ type: array
32
+ items: feature
33
+ description: Should-have features
34
+
35
+ p2:
36
+ type: array
37
+ items: feature
38
+ description: Nice-to-have features
39
+
40
+ out_of_scope:
41
+ type: array
42
+ items: string
43
+ description: Explicitly excluded features
44
+
45
+ # Feature definition
46
+ feature:
47
+ id:
48
+ type: string
49
+ required: true
50
+ pattern: "^[a-z][a-z0-9_]*$"
51
+ description: Unique feature identifier
52
+
53
+ name:
54
+ type: string
55
+ required: true
56
+ description: Human-readable feature name
57
+
58
+ description:
59
+ type: string
60
+ required: true
61
+ description: What this feature does
62
+
63
+ priority:
64
+ type: string
65
+ enum: [p0, p1, p2]
66
+ required: true
67
+ description: Feature priority
68
+
69
+ category:
70
+ type: string
71
+ enum: [auth, data, ui, api, integration, infrastructure, other]
72
+ description: Feature category
73
+
74
+ phase:
75
+ type: string
76
+ description: Which phase this feature belongs to
77
+
78
+ dependencies:
79
+ type: array
80
+ items: string
81
+ description: IDs of features this depends on
82
+
83
+ # Implementation details
84
+ implementation:
85
+ approach:
86
+ type: string
87
+ description: How to implement this feature
88
+
89
+ files:
90
+ type: array
91
+ items: string
92
+ description: Files to create/modify
93
+
94
+ models:
95
+ type: array
96
+ items: string
97
+ description: Data models needed
98
+
99
+ apis:
100
+ type: array
101
+ items: string
102
+ description: API endpoints needed
103
+
104
+ components:
105
+ type: array
106
+ items: string
107
+ description: UI components needed
108
+
109
+ # Testing requirements
110
+ testing:
111
+ unit_tests:
112
+ type: array
113
+ items: string
114
+ description: Unit tests to write
115
+
116
+ integration_tests:
117
+ type: array
118
+ items: string
119
+ description: Integration tests to write
120
+
121
+ acceptance_criteria:
122
+ type: array
123
+ items: string
124
+ description: Acceptance criteria from PRD
125
+
126
+ # Progress tracking
127
+ status:
128
+ type: string
129
+ enum: [pending, in_progress, completed, skipped, blocked]
130
+ default: pending
131
+ description: Current feature status
132
+
133
+ progress:
134
+ steps_total:
135
+ type: integer
136
+ description: Total implementation steps
137
+
138
+ steps_completed:
139
+ type: integer
140
+ default: 0
141
+ description: Completed steps
142
+
143
+ tests_total:
144
+ type: integer
145
+ description: Total tests to write
146
+
147
+ tests_passed:
148
+ type: integer
149
+ default: 0
150
+ description: Passing tests
151
+
152
+ # Autonomy settings
153
+ autonomy:
154
+ level:
155
+ type: integer
156
+ enum: [0, 1, 2, 3, 4]
157
+ default: 1
158
+ description: Override autonomy level for this feature
159
+
160
+ reason:
161
+ type: string
162
+ description: Why this level was set
163
+
164
+ # Timing
165
+ started_at:
166
+ type: datetime
167
+ description: When work started
168
+
169
+ completed_at:
170
+ type: datetime
171
+ description: When feature was completed
172
+
173
+ estimated_complexity:
174
+ type: string
175
+ enum: [trivial, low, medium, high, very_high]
176
+ description: Complexity estimate
177
+
178
+ # Example feature structure
179
+ example:
180
+ id: user_authentication
181
+ name: User Authentication
182
+ description: Allow users to register, login, and manage sessions
183
+ priority: p0
184
+ category: auth
185
+ phase: backend
186
+ dependencies: []
187
+
188
+ implementation:
189
+ approach: JWT-based auth with refresh tokens
190
+ files:
191
+ - src/services/auth.service.ts
192
+ - src/controllers/auth.controller.ts
193
+ - src/middleware/auth.middleware.ts
194
+ - src/utils/jwt.ts
195
+ models:
196
+ - User
197
+ - RefreshToken
198
+ apis:
199
+ - POST /auth/register
200
+ - POST /auth/login
201
+ - POST /auth/refresh
202
+ - POST /auth/logout
203
+ components:
204
+ - LoginForm
205
+ - RegisterForm
206
+
207
+ testing:
208
+ unit_tests:
209
+ - auth.service.test.ts
210
+ - jwt.test.ts
211
+ integration_tests:
212
+ - auth.routes.test.ts
213
+ acceptance_criteria:
214
+ - Users can register with email and password
215
+ - Users can login and receive JWT token
216
+ - Invalid credentials return appropriate error
217
+ - Tokens expire after configured time
218
+
219
+ status: pending
220
+ progress:
221
+ steps_total: 7
222
+ steps_completed: 0
223
+ tests_total: 12
224
+ tests_passed: 0
225
+
226
+ autonomy:
227
+ level: 2
228
+ reason: Auth is security-critical
229
+
230
+ estimated_complexity: medium
231
+
232
+ # Feature extraction rules
233
+ extraction_rules:
234
+ from_prd:
235
+ - section: "Core Features"
236
+ priority: p0
237
+ - section: "Additional Features"
238
+ priority: p1
239
+ - section: "Future Considerations"
240
+ priority: p2
241
+
242
+ auto_categorize:
243
+ auth:
244
+ keywords: [login, register, authentication, password, session, jwt, oauth]
245
+ data:
246
+ keywords: [database, model, schema, crud, query]
247
+ ui:
248
+ keywords: [page, component, form, button, modal, layout]
249
+ api:
250
+ keywords: [endpoint, route, rest, graphql, webhook]
251
+ integration:
252
+ keywords: [stripe, email, sms, third-party, external]
253
+ infrastructure:
254
+ keywords: [deploy, ci, docker, kubernetes, monitoring]
@@ -0,0 +1,298 @@
1
+ # Memory System for Autonomous Development
2
+ # Defines how context is preserved across sessions
3
+
4
+ version: 1
5
+
6
+ # Memory structure
7
+ structure:
8
+ base_path: ".omgkit/memory"
9
+
10
+ directories:
11
+ context:
12
+ path: "context/"
13
+ description: "Current project context files"
14
+ retention: "persistent"
15
+
16
+ decisions:
17
+ path: "decisions/"
18
+ description: "Decision records and ADRs"
19
+ retention: "persistent"
20
+
21
+ journal:
22
+ path: "journal/"
23
+ description: "Daily development logs"
24
+ retention: "30_days"
25
+
26
+ patterns:
27
+ path: "patterns/"
28
+ description: "Learned patterns and preferences"
29
+ retention: "persistent"
30
+
31
+ cache:
32
+ path: "cache/"
33
+ description: "Temporary cached data"
34
+ retention: "session"
35
+
36
+ # Context files
37
+ context_files:
38
+ - id: project_brief
39
+ filename: "project-brief.md"
40
+ description: "High-level project overview"
41
+ update_frequency: "on_discovery_complete"
42
+ template: |
43
+ # {project_name}
44
+
45
+ ## Overview
46
+ {description}
47
+
48
+ ## Type
49
+ {project_type}
50
+
51
+ ## Key Features
52
+ {features_summary}
53
+
54
+ ## Tech Stack
55
+ {tech_stack}
56
+
57
+ ## Status
58
+ Current Phase: {current_phase}
59
+ Last Updated: {timestamp}
60
+
61
+ - id: current_feature
62
+ filename: "current-feature.md"
63
+ description: "Details of feature being implemented"
64
+ update_frequency: "on_feature_start"
65
+ template: |
66
+ # Current Feature: {feature_name}
67
+
68
+ ## Description
69
+ {description}
70
+
71
+ ## Acceptance Criteria
72
+ {acceptance_criteria}
73
+
74
+ ## Implementation Plan
75
+ {implementation_steps}
76
+
77
+ ## Progress
78
+ Steps Completed: {completed}/{total}
79
+
80
+ ## Notes
81
+ {notes}
82
+
83
+ - id: tech_decisions
84
+ filename: "tech-decisions.md"
85
+ description: "Summary of technical decisions"
86
+ update_frequency: "on_decision"
87
+ template: |
88
+ # Technical Decisions
89
+
90
+ ## Stack
91
+ - Frontend: {frontend}
92
+ - Backend: {backend}
93
+ - Database: {database}
94
+ - Hosting: {hosting}
95
+
96
+ ## Key Decisions
97
+ {decisions_list}
98
+
99
+ ## Patterns Used
100
+ {patterns_list}
101
+
102
+ - id: error_context
103
+ filename: "error-context.md"
104
+ description: "Context for error recovery"
105
+ update_frequency: "on_error"
106
+ template: |
107
+ # Error Context
108
+
109
+ ## Last Error
110
+ {error_message}
111
+
112
+ ## Location
113
+ File: {file}
114
+ Line: {line}
115
+
116
+ ## Attempted Fixes
117
+ {fixes_attempted}
118
+
119
+ ## Resolution Status
120
+ {status}
121
+
122
+ # Decision record template
123
+ decision_template:
124
+ filename_pattern: "{date}-{id}.md"
125
+ template: |
126
+ # Decision: {title}
127
+
128
+ **Date:** {date}
129
+ **Status:** {status}
130
+ **Phase:** {phase}
131
+
132
+ ## Context
133
+ {context}
134
+
135
+ ## Decision
136
+ {decision}
137
+
138
+ ## Options Considered
139
+ {options}
140
+
141
+ ## Rationale
142
+ {rationale}
143
+
144
+ ## Consequences
145
+ {consequences}
146
+
147
+ ## Related
148
+ - Features: {related_features}
149
+ - Files: {related_files}
150
+
151
+ # Journal entry template
152
+ journal_template:
153
+ filename_pattern: "{date}.md"
154
+ template: |
155
+ # Development Journal - {date}
156
+
157
+ ## Session Summary
158
+ Started: {start_time}
159
+ Ended: {end_time}
160
+
161
+ ## Work Completed
162
+ {completed_items}
163
+
164
+ ## In Progress
165
+ {in_progress_items}
166
+
167
+ ## Decisions Made
168
+ {decisions}
169
+
170
+ ## Challenges
171
+ {challenges}
172
+
173
+ ## Notes
174
+ {notes}
175
+
176
+ ## Tomorrow
177
+ {next_steps}
178
+
179
+ # Pattern recognition
180
+ patterns:
181
+ capture:
182
+ - trigger: "similar_code_structure"
183
+ action: "record_pattern"
184
+ template: |
185
+ ## Pattern: {name}
186
+
187
+ ### Context
188
+ When to use: {when}
189
+
190
+ ### Structure
191
+ ```{language}
192
+ {code_structure}
193
+ ```
194
+
195
+ ### Examples
196
+ {examples}
197
+
198
+ apply:
199
+ - trigger: "similar_task"
200
+ action: "suggest_pattern"
201
+ threshold: 0.8 # Similarity threshold
202
+
203
+ # Memory operations
204
+ operations:
205
+ read:
206
+ - Load relevant context files
207
+ - Check for recent decisions
208
+ - Load patterns for current task
209
+ - Check error context if resuming
210
+
211
+ write:
212
+ - Update context files atomically
213
+ - Create decision records
214
+ - Append to journal
215
+ - Update patterns if learned
216
+
217
+ cleanup:
218
+ - Archive old journal entries
219
+ - Compress old decisions
220
+ - Clear session cache
221
+ - Maintain size limits
222
+
223
+ # Memory limits
224
+ limits:
225
+ max_context_files: 10
226
+ max_context_file_size: "50KB"
227
+ max_decisions_kept: 100
228
+ max_journal_entries: 30
229
+ max_patterns: 50
230
+ total_memory_size: "10MB"
231
+
232
+ # Session handling
233
+ session:
234
+ start:
235
+ - Load project-brief.md
236
+ - Load current-feature.md if exists
237
+ - Load recent decisions
238
+ - Load relevant patterns
239
+ - Check for error context
240
+
241
+ during:
242
+ - Update current-feature.md on progress
243
+ - Record decisions as they happen
244
+ - Append to journal periodically
245
+ - Cache intermediate state
246
+
247
+ end:
248
+ - Save final state
249
+ - Complete journal entry
250
+ - Clean session cache
251
+ - Archive if needed
252
+
253
+ # Context prioritization
254
+ prioritization:
255
+ always_load:
256
+ - project-brief.md
257
+ - tech-decisions.md
258
+
259
+ load_if_relevant:
260
+ - current-feature.md
261
+ - error-context.md
262
+
263
+ load_on_demand:
264
+ - Decision records
265
+ - Patterns
266
+
267
+ # Retrieval settings
268
+ retrieval:
269
+ search:
270
+ - Index context files
271
+ - Search by keywords
272
+ - Filter by date range
273
+ - Sort by relevance
274
+
275
+ relevance_factors:
276
+ - Recency: 0.3
277
+ - Keyword match: 0.4
278
+ - Phase match: 0.2
279
+ - Category match: 0.1
280
+
281
+ # Export/import
282
+ export:
283
+ format: "zip"
284
+ includes:
285
+ - All context files
286
+ - All decisions
287
+ - Recent journal entries
288
+ - Active patterns
289
+ excludes:
290
+ - Cache
291
+ - Temporary files
292
+
293
+ import:
294
+ validation:
295
+ - Check structure
296
+ - Validate schemas
297
+ - Check for conflicts
298
+ merge_strategy: "newer_wins"