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.
- package/package.json +2 -1
- package/plugin/agents/autonomous-orchestrator.yaml +215 -0
- package/plugin/commands/auto/approve.md +258 -0
- package/plugin/commands/auto/checkpoint.md +253 -0
- package/plugin/commands/auto/init.md +236 -0
- package/plugin/commands/auto/next.md +278 -0
- package/plugin/commands/auto/reject.md +278 -0
- package/plugin/commands/auto/resume.md +233 -0
- package/plugin/commands/auto/start.md +212 -0
- package/plugin/commands/auto/status.md +212 -0
- package/plugin/commands/auto/verify.md +353 -0
- package/plugin/commands/workflow/1000x-innovation.md +61 -0
- package/plugin/commands/workflow/100x-architecture.md +60 -0
- package/plugin/commands/workflow/10x-improvement.md +63 -0
- package/plugin/commands/workflow/agent-development.md +60 -0
- package/plugin/commands/workflow/api-design.md +61 -0
- package/plugin/commands/workflow/api-testing.md +61 -0
- package/plugin/commands/workflow/authentication.md +60 -0
- package/plugin/commands/workflow/best-practices.md +61 -0
- package/plugin/commands/workflow/bug-fix.md +61 -0
- package/plugin/commands/workflow/code-review.md +52 -0
- package/plugin/commands/workflow/feature.md +73 -0
- package/plugin/commands/workflow/fine-tuning.md +60 -0
- package/plugin/commands/workflow/full-feature.md +70 -0
- package/plugin/commands/workflow/marketing.md +53 -0
- package/plugin/commands/workflow/migration.md +60 -0
- package/plugin/commands/workflow/model-evaluation.md +59 -0
- package/plugin/commands/workflow/optimization.md +60 -0
- package/plugin/commands/workflow/penetration-testing.md +60 -0
- package/plugin/commands/workflow/performance-optimization.md +60 -0
- package/plugin/commands/workflow/prompt-engineering.md +51 -0
- package/plugin/commands/workflow/rag-development.md +79 -0
- package/plugin/commands/workflow/refactor.md +59 -0
- package/plugin/commands/workflow/schema-design.md +70 -0
- package/plugin/commands/workflow/security-audit.md +61 -0
- package/plugin/commands/workflow/sprint-execution.md +65 -0
- package/plugin/commands/workflow/sprint-retrospective.md +61 -0
- package/plugin/commands/workflow/sprint-setup.md +64 -0
- package/plugin/commands/workflow/technical-docs.md +52 -0
- package/plugin/commands/workflow/technology-research.md +61 -0
- package/plugin/skills/autonomous/project-orchestration/SKILL.md +332 -0
- package/plugin/templates/autonomous/archetypes/api-service.yaml +78 -0
- package/plugin/templates/autonomous/archetypes/cli-tool.yaml +67 -0
- package/plugin/templates/autonomous/archetypes/fullstack-app.yaml +97 -0
- package/plugin/templates/autonomous/archetypes/library.yaml +64 -0
- package/plugin/templates/autonomous/archetypes/saas-mvp.yaml +417 -0
- package/plugin/templates/autonomous/decision-framework.yaml +337 -0
- package/plugin/templates/autonomous/discovery-questions.yaml +795 -0
- package/plugin/templates/autonomous/features-schema.yaml +254 -0
- package/plugin/templates/autonomous/memory-system.yaml +298 -0
- package/plugin/templates/autonomous/prd-template.md +251 -0
- package/plugin/templates/autonomous/state-schema.yaml +383 -0
- package/plugin/workflows/autonomous/discovery.yaml +232 -0
- package/plugin/workflows/autonomous/execution.yaml +275 -0
- package/plugin/workflows/autonomous/planning.yaml +244 -0
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Preview and execute the next autonomous action
|
|
3
|
+
allowed-tools: Task, Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
|
|
4
|
+
argument-hint: "[--preview | --execute | --skip]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Next Autonomous Action
|
|
8
|
+
|
|
9
|
+
Preview or execute the next action in the autonomous workflow.
|
|
10
|
+
|
|
11
|
+
## Modes
|
|
12
|
+
|
|
13
|
+
### Preview Mode (Default)
|
|
14
|
+
Show what the next action will be without executing:
|
|
15
|
+
```bash
|
|
16
|
+
/auto:next
|
|
17
|
+
/auto:next --preview
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### Execute Mode
|
|
21
|
+
Execute the next single action:
|
|
22
|
+
```bash
|
|
23
|
+
/auto:next --execute
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Skip Mode
|
|
27
|
+
Skip the next action and move forward:
|
|
28
|
+
```bash
|
|
29
|
+
/auto:next --skip
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Action Determination
|
|
33
|
+
|
|
34
|
+
### 1. Load Current State
|
|
35
|
+
|
|
36
|
+
```yaml
|
|
37
|
+
phase: "backend"
|
|
38
|
+
status: "in_progress"
|
|
39
|
+
progress:
|
|
40
|
+
current_feature: "user_authentication"
|
|
41
|
+
current_step: "implement_password_hashing"
|
|
42
|
+
steps_completed: ["create_user_model", "add_validation"]
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### 2. Determine Next Action
|
|
46
|
+
|
|
47
|
+
From archetype and feature list:
|
|
48
|
+
1. If current step incomplete → Complete current step
|
|
49
|
+
2. If current step complete → Next step in feature
|
|
50
|
+
3. If feature complete → Next feature in phase
|
|
51
|
+
4. If phase complete → Check quality gates
|
|
52
|
+
5. If gates pass → Next phase (or checkpoint)
|
|
53
|
+
|
|
54
|
+
### 3. Calculate Action Details
|
|
55
|
+
|
|
56
|
+
```yaml
|
|
57
|
+
next_action:
|
|
58
|
+
type: "implement" # implement | test | review | checkpoint | quality_gate
|
|
59
|
+
target: "password hashing utility"
|
|
60
|
+
phase: "backend"
|
|
61
|
+
feature: "user_authentication"
|
|
62
|
+
step: "implement_password_hashing"
|
|
63
|
+
|
|
64
|
+
details:
|
|
65
|
+
files_to_create:
|
|
66
|
+
- "src/utils/password.ts"
|
|
67
|
+
files_to_modify:
|
|
68
|
+
- "src/services/user.service.ts"
|
|
69
|
+
tests_to_run:
|
|
70
|
+
- "password.test.ts"
|
|
71
|
+
|
|
72
|
+
autonomy_level: 1
|
|
73
|
+
estimated_complexity: "low"
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Preview Output
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
## Next Action Preview
|
|
80
|
+
|
|
81
|
+
### Action: Implement Password Hashing
|
|
82
|
+
|
|
83
|
+
**Type:** Implementation
|
|
84
|
+
**Phase:** Backend > User Authentication
|
|
85
|
+
**Step:** 3 of 7
|
|
86
|
+
**Autonomy Level:** 1 (Execute with notification)
|
|
87
|
+
|
|
88
|
+
### What Will Be Done
|
|
89
|
+
|
|
90
|
+
1. **Create** `src/utils/password.ts`
|
|
91
|
+
- hashPassword(plain: string): Promise<string>
|
|
92
|
+
- verifyPassword(plain: string, hash: string): Promise<boolean>
|
|
93
|
+
- Using bcrypt with cost factor 12
|
|
94
|
+
|
|
95
|
+
2. **Modify** `src/services/user.service.ts`
|
|
96
|
+
- Import password utilities
|
|
97
|
+
- Hash password in create() method
|
|
98
|
+
- Add password verification in login()
|
|
99
|
+
|
|
100
|
+
3. **Create Tests** `src/utils/password.test.ts`
|
|
101
|
+
- Test password hashing
|
|
102
|
+
- Test password verification
|
|
103
|
+
- Test invalid inputs
|
|
104
|
+
|
|
105
|
+
### Dependencies
|
|
106
|
+
- bcrypt: Already installed ✓
|
|
107
|
+
- @types/bcrypt: Already installed ✓
|
|
108
|
+
|
|
109
|
+
### After This Step
|
|
110
|
+
- Next: Implement login endpoint
|
|
111
|
+
- Remaining in feature: 4 steps
|
|
112
|
+
- Quality gate: npm test (required)
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
**Commands:**
|
|
117
|
+
- `/auto:next --execute` - Execute this action
|
|
118
|
+
- `/auto:next --skip` - Skip this action
|
|
119
|
+
- `/auto:start` - Continue autonomous execution
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Execute Output
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
## Executing: Implement Password Hashing
|
|
126
|
+
|
|
127
|
+
### Progress
|
|
128
|
+
|
|
129
|
+
[1/3] Creating src/utils/password.ts...
|
|
130
|
+
✓ Created with hashPassword and verifyPassword functions
|
|
131
|
+
|
|
132
|
+
[2/3] Modifying src/services/user.service.ts...
|
|
133
|
+
✓ Added password hashing in create()
|
|
134
|
+
✓ Added password verification in login()
|
|
135
|
+
|
|
136
|
+
[3/3] Creating tests...
|
|
137
|
+
✓ Created src/utils/password.test.ts
|
|
138
|
+
|
|
139
|
+
### Running Quality Gate
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
npm test -- password.test.ts
|
|
143
|
+
|
|
144
|
+
Password Utilities
|
|
145
|
+
✓ should hash password (45ms)
|
|
146
|
+
✓ should verify correct password (42ms)
|
|
147
|
+
✓ should reject incorrect password (41ms)
|
|
148
|
+
✓ should handle empty input (2ms)
|
|
149
|
+
|
|
150
|
+
4 passing (130ms)
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Action Complete ✓
|
|
154
|
+
|
|
155
|
+
**Files Created:** 2
|
|
156
|
+
**Files Modified:** 1
|
|
157
|
+
**Tests Passing:** 4/4
|
|
158
|
+
|
|
159
|
+
### Next Action
|
|
160
|
+
Implement login endpoint
|
|
161
|
+
|
|
162
|
+
**Commands:**
|
|
163
|
+
- `/auto:next` - Preview next action
|
|
164
|
+
- `/auto:next --execute` - Execute next action
|
|
165
|
+
- `/auto:start` - Continue autonomous execution
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## Skip Output
|
|
169
|
+
|
|
170
|
+
```
|
|
171
|
+
## Skipping: Implement Password Hashing
|
|
172
|
+
|
|
173
|
+
**Reason:** User requested skip
|
|
174
|
+
|
|
175
|
+
### Impact
|
|
176
|
+
- Step marked as SKIPPED
|
|
177
|
+
- May cause issues in dependent steps
|
|
178
|
+
- Manual completion required later
|
|
179
|
+
|
|
180
|
+
### State Updated
|
|
181
|
+
```yaml
|
|
182
|
+
progress:
|
|
183
|
+
skipped_steps:
|
|
184
|
+
- step: "implement_password_hashing"
|
|
185
|
+
reason: "user_skip"
|
|
186
|
+
timestamp: "2024-01-15T10:30:00Z"
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### Warning
|
|
190
|
+
The following steps may be affected:
|
|
191
|
+
- implement_login_endpoint (depends on password verification)
|
|
192
|
+
- implement_password_reset (depends on password hashing)
|
|
193
|
+
|
|
194
|
+
### Next Action
|
|
195
|
+
Implement login endpoint
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
**Note:** Skipped steps are tracked and must be completed before deployment.
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
## Special Cases
|
|
203
|
+
|
|
204
|
+
### At Checkpoint
|
|
205
|
+
```
|
|
206
|
+
## Next Action: Checkpoint
|
|
207
|
+
|
|
208
|
+
**Phase Complete:** Planning
|
|
209
|
+
|
|
210
|
+
Before continuing, review is required:
|
|
211
|
+
|
|
212
|
+
### Generated Artifacts
|
|
213
|
+
- `.omgkit/generated/schema.sql`
|
|
214
|
+
- `.omgkit/generated/api-spec.md`
|
|
215
|
+
|
|
216
|
+
### Quality Gates Passed
|
|
217
|
+
- ✓ Schema validation
|
|
218
|
+
- ✓ API spec validation
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
**Commands:**
|
|
223
|
+
- `/auto:approve` - Approve and continue
|
|
224
|
+
- `/auto:reject "feedback"` - Request changes
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
### At Phase Boundary
|
|
228
|
+
```
|
|
229
|
+
## Next Action: Start New Phase
|
|
230
|
+
|
|
231
|
+
**Completed:** Planning Phase
|
|
232
|
+
**Starting:** Foundation Phase
|
|
233
|
+
|
|
234
|
+
### Phase Overview: Foundation
|
|
235
|
+
1. Project scaffolding (auto)
|
|
236
|
+
2. Database setup (auto)
|
|
237
|
+
3. UI foundation (auto)
|
|
238
|
+
|
|
239
|
+
**Estimated:** 3 automated steps
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
**Commands:**
|
|
244
|
+
- `/auto:next --execute` - Start foundation phase
|
|
245
|
+
- `/auto:checkpoint` - Pause for review first
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### No More Actions
|
|
249
|
+
```
|
|
250
|
+
## Project Complete! 🎉
|
|
251
|
+
|
|
252
|
+
All phases have been completed.
|
|
253
|
+
|
|
254
|
+
### Summary
|
|
255
|
+
- **Phases Completed:** 8/8
|
|
256
|
+
- **Features Implemented:** 12
|
|
257
|
+
- **Tests Passing:** 47/47
|
|
258
|
+
- **Coverage:** 84%
|
|
259
|
+
|
|
260
|
+
### Final Quality Gates
|
|
261
|
+
- ✓ All tests pass
|
|
262
|
+
- ✓ Build succeeds
|
|
263
|
+
- ✓ Coverage > 80%
|
|
264
|
+
- ✓ No security issues
|
|
265
|
+
|
|
266
|
+
### Generated Project
|
|
267
|
+
[Project structure and key files]
|
|
268
|
+
|
|
269
|
+
### Next Steps
|
|
270
|
+
1. Review the complete implementation
|
|
271
|
+
2. Deploy to staging environment
|
|
272
|
+
3. Conduct user testing
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
**Commands:**
|
|
277
|
+
- `/auto:status --verbose` - Full project report
|
|
278
|
+
```
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Reject checkpoint or decision with feedback
|
|
3
|
+
allowed-tools: Read, Write, Edit, AskUserQuestion
|
|
4
|
+
argument-hint: "<reason> [--checkpoint | --decision <id>]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Reject Checkpoint or Decision
|
|
8
|
+
|
|
9
|
+
Reject a pending checkpoint or decision and provide feedback for revision.
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### Reject with Reason
|
|
14
|
+
```bash
|
|
15
|
+
/auto:reject "The schema needs a soft delete column for users"
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### Reject Specific Checkpoint
|
|
19
|
+
```bash
|
|
20
|
+
/auto:reject --checkpoint "API endpoints don't match PRD requirements"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Reject Specific Decision
|
|
24
|
+
```bash
|
|
25
|
+
/auto:reject --decision db_index_strategy "Use separate indexes instead"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Rejection Process
|
|
29
|
+
|
|
30
|
+
### 1. Capture Feedback
|
|
31
|
+
|
|
32
|
+
Parse the rejection reason and categorize:
|
|
33
|
+
- **Scope change**: Requirements changed
|
|
34
|
+
- **Quality issue**: Doesn't meet standards
|
|
35
|
+
- **Design issue**: Approach needs revision
|
|
36
|
+
- **Missing item**: Something was forgotten
|
|
37
|
+
- **Other**: Custom feedback
|
|
38
|
+
|
|
39
|
+
### 2. Update State
|
|
40
|
+
|
|
41
|
+
```yaml
|
|
42
|
+
# .omgkit/state.yaml
|
|
43
|
+
checkpoint:
|
|
44
|
+
pending: true
|
|
45
|
+
rejected: true
|
|
46
|
+
rejection:
|
|
47
|
+
reason: "The schema needs a soft delete column for users"
|
|
48
|
+
category: "missing_item"
|
|
49
|
+
timestamp: "2024-01-15T10:30:00Z"
|
|
50
|
+
|
|
51
|
+
status: "revision_needed"
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### 3. Analyze Impact
|
|
55
|
+
|
|
56
|
+
Determine what needs to change:
|
|
57
|
+
```yaml
|
|
58
|
+
impact_analysis:
|
|
59
|
+
files_to_revise:
|
|
60
|
+
- ".omgkit/generated/schema.sql"
|
|
61
|
+
- "prisma/schema.prisma"
|
|
62
|
+
decisions_affected:
|
|
63
|
+
- "user_model_design"
|
|
64
|
+
estimated_rework: "minor" # minor | moderate | major
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### 4. Generate Revision Plan
|
|
68
|
+
|
|
69
|
+
Based on feedback, create revision tasks:
|
|
70
|
+
```yaml
|
|
71
|
+
revision_tasks:
|
|
72
|
+
- id: "add_soft_delete"
|
|
73
|
+
description: "Add deleted_at column to users table"
|
|
74
|
+
files:
|
|
75
|
+
- "schema.sql"
|
|
76
|
+
- "schema.prisma"
|
|
77
|
+
- id: "update_queries"
|
|
78
|
+
description: "Add soft delete filter to user queries"
|
|
79
|
+
files:
|
|
80
|
+
- "user.service.ts"
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### 5. Record in Memory
|
|
84
|
+
|
|
85
|
+
Save rejection for learning:
|
|
86
|
+
```markdown
|
|
87
|
+
# Rejection: Planning Phase
|
|
88
|
+
|
|
89
|
+
**Date:** 2024-01-15
|
|
90
|
+
**Phase:** Planning
|
|
91
|
+
**Reason:** The schema needs a soft delete column for users
|
|
92
|
+
|
|
93
|
+
## Original Approach
|
|
94
|
+
Schema designed without soft delete capability.
|
|
95
|
+
|
|
96
|
+
## Feedback
|
|
97
|
+
User requires soft delete for data recovery and audit purposes.
|
|
98
|
+
|
|
99
|
+
## Revision Plan
|
|
100
|
+
1. Add deleted_at column to users table
|
|
101
|
+
2. Update queries to filter deleted records
|
|
102
|
+
3. Add restore functionality
|
|
103
|
+
|
|
104
|
+
## Lessons
|
|
105
|
+
- Always consider data retention requirements early
|
|
106
|
+
- Include soft delete in standard entity patterns
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Output
|
|
110
|
+
|
|
111
|
+
### Checkpoint Rejection
|
|
112
|
+
```
|
|
113
|
+
## Checkpoint Rejected
|
|
114
|
+
|
|
115
|
+
**Phase:** Planning
|
|
116
|
+
**Reason:** The schema needs a soft delete column for users
|
|
117
|
+
|
|
118
|
+
### Impact Analysis
|
|
119
|
+
|
|
120
|
+
**Severity:** Minor
|
|
121
|
+
**Files Affected:** 2
|
|
122
|
+
|
|
123
|
+
1. `.omgkit/generated/schema.sql`
|
|
124
|
+
- Add: `deleted_at TIMESTAMP NULL`
|
|
125
|
+
|
|
126
|
+
2. `prisma/schema.prisma` (when created)
|
|
127
|
+
- Add: `deletedAt DateTime?`
|
|
128
|
+
|
|
129
|
+
### Revision Plan
|
|
130
|
+
|
|
131
|
+
I'll make the following changes:
|
|
132
|
+
|
|
133
|
+
1. **Update Schema**
|
|
134
|
+
- Add `deleted_at` column to users table
|
|
135
|
+
- Add index on `deleted_at` for query performance
|
|
136
|
+
|
|
137
|
+
2. **Update Queries** (during implementation)
|
|
138
|
+
- Filter `WHERE deleted_at IS NULL` by default
|
|
139
|
+
- Add methods for soft delete and restore
|
|
140
|
+
|
|
141
|
+
### Proceeding with Revision
|
|
142
|
+
|
|
143
|
+
Would you like me to:
|
|
144
|
+
A. Revise the schema now and show you the updated version
|
|
145
|
+
B. Note this for implementation phase
|
|
146
|
+
C. Discuss the soft delete approach further
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
**Commands:**
|
|
151
|
+
- `/auto:resume` - After approving revision
|
|
152
|
+
- `/auto:status` - Check current state
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Decision Rejection
|
|
156
|
+
```
|
|
157
|
+
## Decision Rejected
|
|
158
|
+
|
|
159
|
+
**Decision:** db_index_strategy
|
|
160
|
+
**Original:** Add composite index on users(email, status)
|
|
161
|
+
**Rejection:** Use separate indexes instead
|
|
162
|
+
|
|
163
|
+
### Alternative Approach
|
|
164
|
+
|
|
165
|
+
Based on your feedback, will use:
|
|
166
|
+
```sql
|
|
167
|
+
-- Instead of composite index
|
|
168
|
+
CREATE INDEX idx_users_email ON users(email);
|
|
169
|
+
CREATE INDEX idx_users_status ON users(status);
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Trade-offs
|
|
173
|
+
|
|
174
|
+
| Approach | Pros | Cons |
|
|
175
|
+
|----------|------|------|
|
|
176
|
+
| Composite | Faster combined queries | Less flexible |
|
|
177
|
+
| Separate | More query patterns | More storage |
|
|
178
|
+
|
|
179
|
+
### Updated Decision
|
|
180
|
+
|
|
181
|
+
Recorded your preference for separate indexes.
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
**Commands:**
|
|
186
|
+
- `/auto:approve decision db_index_strategy` - If revised version is acceptable
|
|
187
|
+
- `/auto:start` - Continue with new approach
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
## Rejection with Questions
|
|
191
|
+
|
|
192
|
+
If feedback is unclear, ask clarifying questions:
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
## Clarification Needed
|
|
196
|
+
|
|
197
|
+
**Your Feedback:** "The schema needs work"
|
|
198
|
+
|
|
199
|
+
I'd like to understand better:
|
|
200
|
+
|
|
201
|
+
1. **Which tables need changes?**
|
|
202
|
+
A. Users table
|
|
203
|
+
B. All tables
|
|
204
|
+
C. Specific tables: [specify]
|
|
205
|
+
|
|
206
|
+
2. **What type of changes?**
|
|
207
|
+
A. Add columns
|
|
208
|
+
B. Change relationships
|
|
209
|
+
C. Performance optimization
|
|
210
|
+
D. Other: [specify]
|
|
211
|
+
|
|
212
|
+
3. **Any specific requirements?**
|
|
213
|
+
[Open response]
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
Please provide more details so I can make the right revisions.
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
## Major Rejection
|
|
221
|
+
|
|
222
|
+
For significant rejections that require major rework:
|
|
223
|
+
|
|
224
|
+
```
|
|
225
|
+
## Major Revision Required
|
|
226
|
+
|
|
227
|
+
**Feedback:** "We need to switch from SQL to MongoDB"
|
|
228
|
+
|
|
229
|
+
### Impact Assessment
|
|
230
|
+
|
|
231
|
+
**Severity:** Major
|
|
232
|
+
**Rework Required:** Significant
|
|
233
|
+
|
|
234
|
+
### Affected Artifacts
|
|
235
|
+
- ❌ `.omgkit/generated/schema.sql` - Will be replaced
|
|
236
|
+
- ⚠️ `.omgkit/generated/prd.md` - Needs update
|
|
237
|
+
- ⚠️ `.omgkit/generated/technical-spec.md` - Needs update
|
|
238
|
+
|
|
239
|
+
### Recommended Action
|
|
240
|
+
|
|
241
|
+
This is a fundamental architecture change. I recommend:
|
|
242
|
+
|
|
243
|
+
1. **Return to Discovery** - Update technical requirements
|
|
244
|
+
2. **Update PRD** - Reflect database change
|
|
245
|
+
3. **New Technical Spec** - Design for MongoDB
|
|
246
|
+
4. **Restart Planning** - New schema design
|
|
247
|
+
|
|
248
|
+
### Alternative
|
|
249
|
+
|
|
250
|
+
If you want to minimize rework:
|
|
251
|
+
- Keep current phase artifacts
|
|
252
|
+
- Add MongoDB migration as future task
|
|
253
|
+
- Continue with SQL for MVP
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
**Which approach would you prefer?**
|
|
258
|
+
|
|
259
|
+
A. Full revision (return to discovery)
|
|
260
|
+
B. Partial revision (update planning only)
|
|
261
|
+
C. Note for future (continue current path)
|
|
262
|
+
D. Discuss further
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
## Rejection History
|
|
266
|
+
|
|
267
|
+
Track rejections for pattern analysis:
|
|
268
|
+
|
|
269
|
+
```yaml
|
|
270
|
+
# .omgkit/state.yaml
|
|
271
|
+
rejection_history:
|
|
272
|
+
- phase: "planning"
|
|
273
|
+
reason: "Missing soft delete"
|
|
274
|
+
category: "missing_item"
|
|
275
|
+
timestamp: "2024-01-15T10:30:00Z"
|
|
276
|
+
resolved: true
|
|
277
|
+
resolution: "Added deleted_at column"
|
|
278
|
+
```
|