omgkit 2.10.1 → 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 (26) 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/skills/autonomous/project-orchestration/SKILL.md +332 -0
  13. package/plugin/templates/autonomous/archetypes/api-service.yaml +78 -0
  14. package/plugin/templates/autonomous/archetypes/cli-tool.yaml +67 -0
  15. package/plugin/templates/autonomous/archetypes/fullstack-app.yaml +97 -0
  16. package/plugin/templates/autonomous/archetypes/library.yaml +64 -0
  17. package/plugin/templates/autonomous/archetypes/saas-mvp.yaml +417 -0
  18. package/plugin/templates/autonomous/decision-framework.yaml +337 -0
  19. package/plugin/templates/autonomous/discovery-questions.yaml +795 -0
  20. package/plugin/templates/autonomous/features-schema.yaml +254 -0
  21. package/plugin/templates/autonomous/memory-system.yaml +298 -0
  22. package/plugin/templates/autonomous/prd-template.md +251 -0
  23. package/plugin/templates/autonomous/state-schema.yaml +383 -0
  24. package/plugin/workflows/autonomous/discovery.yaml +232 -0
  25. package/plugin/workflows/autonomous/execution.yaml +275 -0
  26. package/plugin/workflows/autonomous/planning.yaml +244 -0
@@ -0,0 +1,251 @@
1
+ # Product Requirements Document (PRD)
2
+
3
+ ## Project: {{project_name}}
4
+ **Generated:** {{generated_date}}
5
+ **Version:** 1.0
6
+
7
+ ---
8
+
9
+ ## Executive Summary
10
+
11
+ ### Problem Statement
12
+ {{problem_statement}}
13
+
14
+ ### Solution
15
+ {{solution_vision}}
16
+
17
+ ### Target User
18
+ {{primary_user_role}} - {{primary_user_technical}}
19
+
20
+ ### Key Differentiator
21
+ {{differentiator}}
22
+
23
+ ### Business Model
24
+ {{business_model}}
25
+
26
+ ### Timeline
27
+ {{timeline}}
28
+
29
+ ---
30
+
31
+ ## 1. Vision & Goals
32
+
33
+ ### 1.1 Problem We're Solving
34
+ {{problem_statement}}
35
+
36
+ **Who experiences this:**
37
+ {{problem_who}}
38
+
39
+ **Current workarounds:**
40
+ {{problem_workarounds}}
41
+
42
+ **Cost of not solving:**
43
+ {{problem_cost}}
44
+
45
+ ### 1.2 Our Solution
46
+ {{solution_vision}}
47
+
48
+ ### 1.3 Success Metrics
49
+
50
+ | Metric | Target | Timeline |
51
+ |--------|--------|----------|
52
+ {{#each success_metrics}}
53
+ | {{metric}} | {{target}} | {{timeline}} |
54
+ {{/each}}
55
+
56
+ ---
57
+
58
+ ## 2. User Personas
59
+
60
+ ### 2.1 Primary Persona: {{primary_user_role}}
61
+
62
+ **Technical Level:** {{primary_user_technical}}
63
+
64
+ **Goals:**
65
+ {{primary_user_goals}}
66
+
67
+ **Frustrations:**
68
+ {{primary_user_frustrations}}
69
+
70
+ **User Journey:**
71
+ 1. **Discovery** - How they find us
72
+ 2. **Onboarding** - First experience
73
+ 3. **First Value** - When they get value
74
+ 4. **Regular Use** - Daily workflows
75
+ 5. **Growth** - Getting more value
76
+
77
+ {{#if secondary_users}}
78
+ ### 2.2 Secondary Users
79
+
80
+ {{#each secondary_users}}
81
+ - **{{label}}**: {{description}}
82
+ {{/each}}
83
+ {{/if}}
84
+
85
+ ### 2.3 Scale Expectations
86
+
87
+ - **Expected Users:** {{user_scale}}
88
+ - **Peak Concurrent:** {{concurrent_users}}
89
+ - **Geography:** {{user_geography}}
90
+
91
+ ---
92
+
93
+ ## 3. Features & Scope
94
+
95
+ ### 3.1 Core Features (P0 - Must Have)
96
+
97
+ {{#each core_features}}
98
+ #### {{name}}
99
+ - **Description:** {{description}}
100
+ - **User Story:** {{user_story}}
101
+ - **Priority:** {{priority}}
102
+ {{/each}}
103
+
104
+ ### 3.2 Feature Categories
105
+
106
+ {{#each feature_categories}}
107
+ - [x] **{{label}}**: {{description}}
108
+ {{/each}}
109
+
110
+ ### 3.3 Nice to Have (P2 - Future)
111
+
112
+ {{#each nice_to_have}}
113
+ - {{name}}: {{description}}
114
+ {{/each}}
115
+
116
+ ### 3.4 Explicitly Out of Scope
117
+
118
+ {{out_of_scope}}
119
+
120
+ ---
121
+
122
+ ## 4. Non-Functional Requirements
123
+
124
+ ### 4.1 Performance
125
+ - **Response Time:** {{performance_requirements}}
126
+ - **Availability:** {{availability_requirements}}
127
+
128
+ ### 4.2 Security & Compliance
129
+ {{#each security_requirements}}
130
+ - {{label}}: {{description}}
131
+ {{/each}}
132
+
133
+ ### 4.3 Accessibility
134
+ - **Level:** {{accessibility_requirements}}
135
+
136
+ ---
137
+
138
+ ## 5. Technical Specification
139
+
140
+ ### 5.1 Technology Stack
141
+
142
+ | Layer | Choice | Rationale |
143
+ |-------|--------|-----------|
144
+ | Frontend | {{frontend_preference}} | {{frontend_rationale}} |
145
+ | Backend | {{backend_preference}} | {{backend_rationale}} |
146
+ | Database | {{database_preference}} | {{database_rationale}} |
147
+ | Auth | {{auth_preference}} | {{auth_rationale}} |
148
+ | Hosting | {{hosting_preference}} | {{hosting_rationale}} |
149
+ {{#if payment_provider}}
150
+ | Payments | {{payment_provider}} | {{payment_rationale}} |
151
+ {{/if}}
152
+
153
+ ### 5.2 Integrations
154
+
155
+ {{#if existing_systems}}
156
+ | System | Type | Direction | Critical |
157
+ |--------|------|-----------|----------|
158
+ {{#each existing_systems}}
159
+ | {{system}} | {{type}} | {{direction}} | {{critical}} |
160
+ {{/each}}
161
+ {{else}}
162
+ No external integrations required for v1.
163
+ {{/if}}
164
+
165
+ ### 5.3 Data Requirements
166
+
167
+ - **Data Residency:** {{data_residency}}
168
+ - **Offline Capability:** {{offline_capability}}
169
+
170
+ ---
171
+
172
+ ## 6. Risk Analysis
173
+
174
+ ### 6.1 Technical Risks
175
+
176
+ **Risk:** {{biggest_technical_risk}}
177
+
178
+ **Mitigation:**
179
+ - [To be defined during planning]
180
+
181
+ ### 6.2 Market Risks
182
+
183
+ **Risk:** {{biggest_market_risk}}
184
+
185
+ **Mitigation:**
186
+ - [To be defined during planning]
187
+
188
+ ### 6.3 Assumptions
189
+
190
+ {{assumptions}}
191
+
192
+ ---
193
+
194
+ ## 7. Validation Plan
195
+
196
+ ### 7.1 Validation Approach
197
+ {{#each validation_approach}}
198
+ - {{label}}: {{description}}
199
+ {{/each}}
200
+
201
+ ### 7.2 MVP Definition
202
+ {{mvp_definition}}
203
+
204
+ ### 7.3 Launch Criteria
205
+ {{launch_criteria}}
206
+
207
+ ---
208
+
209
+ ## 8. Timeline & Milestones
210
+
211
+ ### 8.1 Project Type
212
+ **{{project_type}}** using **{{archetype}}** archetype
213
+
214
+ ### 8.2 High-Level Phases
215
+
216
+ | Phase | Description | Checkpoint |
217
+ |-------|-------------|------------|
218
+ | Discovery | Requirements gathering | ✓ Complete |
219
+ | Planning | Architecture & design | Yes |
220
+ | Foundation | Project setup, auth | Yes |
221
+ | Core | Main features | Per feature |
222
+ | Hardening | Security, performance | Yes |
223
+ | Deployment | Go live | Yes |
224
+
225
+ ### 8.3 Constraints
226
+
227
+ - **Hard Deadline:** {{hard_deadline}}
228
+ - **Budget:** {{budget_constraints}}
229
+
230
+ ---
231
+
232
+ ## 9. Appendix
233
+
234
+ ### 9.1 Glossary
235
+
236
+ [Define domain-specific terms]
237
+
238
+ ### 9.2 References
239
+
240
+ [Links to relevant documentation, competitors, research]
241
+
242
+ ### 9.3 Change Log
243
+
244
+ | Version | Date | Changes |
245
+ |---------|------|---------|
246
+ | 1.0 | {{generated_date}} | Initial PRD generated from discovery |
247
+
248
+ ---
249
+
250
+ *Generated by OMGKIT Autonomous System*
251
+ *Think Omega. Build Omega. Be Omega.*
@@ -0,0 +1,383 @@
1
+ # State Schema for Autonomous Projects
2
+ # This defines the structure of .omgkit/state.yaml
3
+
4
+ version: 1
5
+
6
+ schema:
7
+ # Project metadata
8
+ project:
9
+ name:
10
+ type: string
11
+ required: true
12
+ description: Project name from discovery
13
+
14
+ type:
15
+ type: string
16
+ required: true
17
+ enum: [saas, api, cli, library, fullstack, mobile]
18
+ description: Type of project being built
19
+
20
+ archetype:
21
+ type: string
22
+ required: true
23
+ description: Archetype ID (saas-mvp, api-service, etc.)
24
+
25
+ created_at:
26
+ type: datetime
27
+ required: true
28
+ description: When project was initialized
29
+
30
+ description:
31
+ type: string
32
+ required: false
33
+ description: Brief project description
34
+
35
+ # Current execution state
36
+ phase:
37
+ type: string
38
+ required: true
39
+ description: Current phase ID from archetype
40
+
41
+ status:
42
+ type: string
43
+ required: true
44
+ enum: [ready, in_progress, checkpoint, blocked, completed, revision_needed]
45
+ default: ready
46
+ description: Current execution status
47
+
48
+ # Checkpoint information
49
+ checkpoint:
50
+ pending:
51
+ type: boolean
52
+ default: false
53
+ description: Whether checkpoint needs approval
54
+
55
+ type:
56
+ type: string
57
+ enum: [phase, quality_gate, decision, manual]
58
+ description: What triggered the checkpoint
59
+
60
+ phase:
61
+ type: string
62
+ description: Phase that completed (for phase checkpoints)
63
+
64
+ description:
65
+ type: string
66
+ description: Human-readable checkpoint description
67
+
68
+ artifacts:
69
+ type: array
70
+ items: string
71
+ description: Files to review at this checkpoint
72
+
73
+ rejected:
74
+ type: boolean
75
+ default: false
76
+ description: Whether checkpoint was rejected
77
+
78
+ rejection:
79
+ reason:
80
+ type: string
81
+ category:
82
+ type: string
83
+ enum: [scope_change, quality_issue, design_issue, missing_item, other]
84
+ timestamp:
85
+ type: datetime
86
+
87
+ approved_at:
88
+ type: datetime
89
+ description: When checkpoint was approved
90
+
91
+ # Progress tracking
92
+ progress:
93
+ phases_completed:
94
+ type: array
95
+ items: string
96
+ description: List of completed phase IDs
97
+
98
+ current_feature:
99
+ type: string
100
+ description: Current feature being implemented
101
+
102
+ current_step:
103
+ type: string
104
+ description: Current step within feature
105
+
106
+ features_completed:
107
+ type: array
108
+ items: string
109
+ description: List of completed feature IDs
110
+
111
+ steps_completed:
112
+ type: array
113
+ items: string
114
+ description: Steps completed in current feature
115
+
116
+ skipped_steps:
117
+ type: array
118
+ items:
119
+ step:
120
+ type: string
121
+ reason:
122
+ type: string
123
+ timestamp:
124
+ type: datetime
125
+ description: Steps that were skipped
126
+
127
+ # Resume support
128
+ resume_point:
129
+ phase:
130
+ type: string
131
+ description: Phase to resume from
132
+
133
+ feature:
134
+ type: string
135
+ description: Feature to resume from
136
+
137
+ step:
138
+ type: string
139
+ description: Step to resume from
140
+
141
+ attempt:
142
+ type: integer
143
+ default: 1
144
+ description: Number of attempts at current step
145
+
146
+ resumed_at:
147
+ type: datetime
148
+ description: When execution was resumed
149
+
150
+ # Error context for recovery
151
+ error_context:
152
+ message:
153
+ type: string
154
+ description: Error message
155
+
156
+ type:
157
+ type: string
158
+ enum: [test_failure, build_failure, external_failure, validation_error, other]
159
+ description: Type of error
160
+
161
+ file:
162
+ type: string
163
+ description: File where error occurred
164
+
165
+ line:
166
+ type: integer
167
+ description: Line number of error
168
+
169
+ stack:
170
+ type: string
171
+ description: Stack trace if available
172
+
173
+ timestamp:
174
+ type: datetime
175
+ description: When error occurred
176
+
177
+ # Pending decisions requiring approval
178
+ pending_decisions:
179
+ type: array
180
+ items:
181
+ id:
182
+ type: string
183
+ required: true
184
+ description: Unique decision identifier
185
+
186
+ level:
187
+ type: integer
188
+ enum: [2, 3, 4]
189
+ required: true
190
+ description: Autonomy level
191
+
192
+ description:
193
+ type: string
194
+ required: true
195
+ description: What needs to be decided
196
+
197
+ options:
198
+ type: array
199
+ items: string
200
+ description: Available options
201
+
202
+ suggested:
203
+ type: string
204
+ description: Recommended option
205
+
206
+ context:
207
+ type: object
208
+ description: Additional context for decision
209
+
210
+ created_at:
211
+ type: datetime
212
+ description: When decision was created
213
+
214
+ # Decision history
215
+ decisions_log:
216
+ type: array
217
+ items:
218
+ id:
219
+ type: string
220
+ decision:
221
+ type: string
222
+ enum: [approved, rejected, modified]
223
+ value:
224
+ type: string
225
+ description: The decision value if modified
226
+ timestamp:
227
+ type: datetime
228
+ notes:
229
+ type: string
230
+
231
+ # Approval history
232
+ approval_history:
233
+ type: array
234
+ items:
235
+ type:
236
+ type: string
237
+ enum: [checkpoint, decision]
238
+ phase:
239
+ type: string
240
+ id:
241
+ type: string
242
+ timestamp:
243
+ type: datetime
244
+
245
+ # Rejection history
246
+ rejection_history:
247
+ type: array
248
+ items:
249
+ phase:
250
+ type: string
251
+ reason:
252
+ type: string
253
+ category:
254
+ type: string
255
+ timestamp:
256
+ type: datetime
257
+ resolved:
258
+ type: boolean
259
+ resolution:
260
+ type: string
261
+
262
+ # Quality gate results
263
+ quality_gates:
264
+ type: array
265
+ items:
266
+ name:
267
+ type: string
268
+ description: Gate name (e.g., "npm test")
269
+
270
+ status:
271
+ type: string
272
+ enum: [passed, failed, skipped]
273
+
274
+ output:
275
+ type: string
276
+ description: Command output
277
+
278
+ duration:
279
+ type: string
280
+ description: How long it took
281
+
282
+ timestamp:
283
+ type: datetime
284
+
285
+ # Session statistics
286
+ stats:
287
+ started_at:
288
+ type: datetime
289
+ description: When current session started
290
+
291
+ last_activity:
292
+ type: datetime
293
+ description: Last activity timestamp
294
+
295
+ files_created:
296
+ type: integer
297
+ default: 0
298
+
299
+ files_modified:
300
+ type: integer
301
+ default: 0
302
+
303
+ tests_run:
304
+ type: integer
305
+ default: 0
306
+
307
+ tests_passed:
308
+ type: integer
309
+ default: 0
310
+
311
+ # State transitions
312
+ transitions:
313
+ ready:
314
+ - to: in_progress
315
+ on: start_execution
316
+ - to: checkpoint
317
+ on: manual_checkpoint
318
+
319
+ in_progress:
320
+ - to: checkpoint
321
+ on: phase_complete
322
+ - to: checkpoint
323
+ on: quality_gate_trigger
324
+ - to: checkpoint
325
+ on: decision_required
326
+ - to: checkpoint
327
+ on: manual_checkpoint
328
+ - to: blocked
329
+ on: error
330
+ - to: completed
331
+ on: all_phases_complete
332
+
333
+ checkpoint:
334
+ - to: in_progress
335
+ on: approve
336
+ - to: revision_needed
337
+ on: reject
338
+ - to: ready
339
+ on: approve_final_phase
340
+
341
+ blocked:
342
+ - to: in_progress
343
+ on: resume
344
+ - to: in_progress
345
+ on: skip
346
+
347
+ revision_needed:
348
+ - to: in_progress
349
+ on: revision_complete
350
+ - to: checkpoint
351
+ on: re_review
352
+
353
+ completed:
354
+ - to: in_progress
355
+ on: reopen
356
+
357
+ # Default state for new projects
358
+ default_state:
359
+ version: 1
360
+ project:
361
+ name: ""
362
+ type: ""
363
+ archetype: ""
364
+ created_at: ""
365
+ phase: "discovery"
366
+ status: "ready"
367
+ checkpoint:
368
+ pending: false
369
+ progress:
370
+ phases_completed: []
371
+ features_completed: []
372
+ steps_completed: []
373
+ skipped_steps: []
374
+ pending_decisions: []
375
+ decisions_log: []
376
+ approval_history: []
377
+ rejection_history: []
378
+ quality_gates: []
379
+ stats:
380
+ files_created: 0
381
+ files_modified: 0
382
+ tests_run: 0
383
+ tests_passed: 0