omgkit 2.24.2 → 2.24.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omgkit",
3
- "version": "2.24.2",
3
+ "version": "2.24.3",
4
4
  "description": "Omega-Level Development Kit - AI Team System for Claude Code. 41 agents, 160 commands, 161 skills, 69 workflows.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -6,6 +6,9 @@ model: inherit
6
6
  skills:
7
7
  - omega/omega-sprint
8
8
  - methodology/dispatching-parallel-agents
9
+ - methodology/test-task-generation
10
+ - methodology/test-enforcement
11
+ - devops/workflow-config
9
12
  commands:
10
13
  - /sprint:init
11
14
  - /sprint:sprint-new
@@ -198,20 +201,20 @@ Generates:
198
201
 
199
202
  ### Task Type Routing
200
203
 
201
- | Task Type | Primary Agent | Support Agents |
202
- |-----------|---------------|----------------|
203
- | feature | fullstack-developer | planner, tester |
204
- | bugfix | debugger | scout, tester |
205
- | research | oracle | researcher, scout |
206
- | design | architect | planner |
207
- | security | security-auditor | vulnerability-scanner |
208
- | docs | docs-manager | - |
209
- | test | tester | debugger |
210
- | review | code-reviewer | - |
211
- | deploy | git-manager | cicd-manager |
212
- | refactor | fullstack-developer | scout, code-reviewer |
213
- | optimize | fullstack-developer | architect |
214
- | brainstorm | brainstormer | oracle |
204
+ | Task Type | Primary Agent | Support Agents | Auto-Generate Tests? |
205
+ |-----------|---------------|----------------|---------------------|
206
+ | feature | fullstack-developer | planner, tester | ✅ Yes |
207
+ | bugfix | debugger | scout, tester | ✅ Yes (regression) |
208
+ | research | oracle | researcher, scout | ❌ No |
209
+ | design | architect | planner | ❌ No |
210
+ | security | security-auditor | vulnerability-scanner | ✅ Yes (security) |
211
+ | docs | docs-manager | - | ❌ No |
212
+ | test | tester | debugger | ❌ No (is test) |
213
+ | review | code-reviewer | - | ❌ No |
214
+ | deploy | git-manager | cicd-manager | ❌ No |
215
+ | refactor | fullstack-developer | scout, code-reviewer | ✅ Yes |
216
+ | optimize | fullstack-developer | architect | ✅ Yes (perf) |
217
+ | brainstorm | brainstormer | oracle | ❌ No |
215
218
 
216
219
  ### Assignment Protocol
217
220
 
@@ -231,15 +234,201 @@ Generates:
231
234
  - Balance workload
232
235
  - Ensure coverage
233
236
 
234
- 4. SET CONTEXT
237
+ 4. AUTO-GENERATE TEST TASKS (NEW)
238
+ - Read workflow.yaml testing config
239
+ - If auto_generate_tasks: true
240
+ - Create corresponding TEST-XXX tasks
241
+ - Assign to tester agent
242
+
243
+ 5. SET CONTEXT
235
244
  - Provide relevant files
236
245
  - Share dependencies
237
246
  - Define success criteria
247
+ - Include test requirements
238
248
 
239
- 5. MONITOR EXECUTION
249
+ 6. MONITOR EXECUTION
240
250
  - Track progress
241
251
  - Handle blockers
242
252
  - Coordinate handoffs
253
+ - Enforce tests before completion
254
+ ```
255
+
256
+ ---
257
+
258
+ ## Testing Automation Integration
259
+
260
+ ### Configuration Loading
261
+
262
+ At sprint start, read `.omgkit/workflow.yaml` for testing configuration:
263
+
264
+ ```yaml
265
+ # .omgkit/workflow.yaml
266
+ testing:
267
+ enforcement:
268
+ level: standard # soft | standard | strict
269
+ auto_generate_tasks: true
270
+ coverage_gates:
271
+ unit:
272
+ minimum: 80
273
+ target: 90
274
+ integration:
275
+ minimum: 60
276
+ target: 75
277
+ required_test_types:
278
+ - unit
279
+ - integration
280
+ blocking:
281
+ on_test_failure: true
282
+ on_coverage_below_minimum: true
283
+ ```
284
+
285
+ ### Auto Test Task Generation
286
+
287
+ When `auto_generate_tasks: true`, automatically create test tasks:
288
+
289
+ ```
290
+ FEATURE TASK CREATED:
291
+ TASK-042: Implement user authentication
292
+
293
+ AUTO-GENERATED TEST TASKS:
294
+ TEST-042-UNIT: Unit tests for auth service
295
+ TEST-042-INT: Integration tests for auth flow
296
+ TEST-042-SEC: Security tests for auth (if auth feature)
297
+
298
+ TASK LINKING:
299
+ TASK-042.tests = [TEST-042-UNIT, TEST-042-INT, TEST-042-SEC]
300
+ TASK-042.blocked_by = TEST-042-* (all must pass)
301
+ ```
302
+
303
+ ### Feature Type → Test Type Mapping
304
+
305
+ | Feature Type | Auto-Generated Tests |
306
+ |--------------|---------------------|
307
+ | API Endpoint | Unit + Integration + Contract |
308
+ | UI Component | Unit + Snapshot + Accessibility |
309
+ | Database | Unit + Integration + Migration |
310
+ | Auth/Security | Unit + Integration + Security |
311
+ | Business Logic | Unit + Property-based |
312
+ | External Integration | Unit + Integration + Contract |
313
+
314
+ ### Test Task Template
315
+
316
+ ```markdown
317
+ ## TEST-XXX: [Test Description]
318
+
319
+ **Parent Task**: TASK-XXX
320
+ **Type**: [unit | integration | e2e | security | performance]
321
+ **Priority**: Same as parent
322
+
323
+ ### Acceptance Criteria
324
+ - [ ] All tests pass
325
+ - [ ] Coverage ≥ minimum threshold
326
+ - [ ] No skipped critical tests
327
+ - [ ] Test isolation verified
328
+
329
+ ### Test Scope
330
+ - Functions/components to test
331
+ - Edge cases to cover
332
+ - Security scenarios (if applicable)
333
+ ```
334
+
335
+ ### Enforcement Levels
336
+
337
+ #### Soft Enforcement
338
+ ```
339
+ - Warn when completing without tests
340
+ - Allow override with justification
341
+ - Log for retrospective
342
+ - No blocking
343
+ ```
344
+
345
+ #### Standard Enforcement (Default)
346
+ ```
347
+ - Block task completion without tests
348
+ - Require minimum coverage
349
+ - Allow emergency override with approval
350
+ - Create follow-up tasks for overrides
351
+ ```
352
+
353
+ #### Strict Enforcement
354
+ ```
355
+ - Block ALL completion without full test suite
356
+ - Require coverage above target
357
+ - No overrides allowed
358
+ - Auto-reject PRs without tests
359
+ ```
360
+
361
+ ### Definition of Done (with Testing)
362
+
363
+ Before marking ANY task as DONE, verify:
364
+
365
+ ```
366
+ DEFINITION OF DONE CHECKLIST:
367
+ ├── Code
368
+ │ ├── [x] Implementation complete
369
+ │ ├── [x] Code review passed
370
+ │ └── [x] No lint errors
371
+
372
+ ├── Tests (MANDATORY)
373
+ │ ├── [x] Test tasks created
374
+ │ ├── [x] All tests passing
375
+ │ ├── [x] Coverage ≥ minimum
376
+ │ └── [x] No skipped critical tests
377
+
378
+ ├── Documentation
379
+ │ ├── [x] Code documented
380
+ │ └── [x] API docs updated (if API)
381
+
382
+ └── Ready for merge
383
+ ```
384
+
385
+ ### Completion Blocking
386
+
387
+ ```
388
+ User: "Mark TASK-042 as done"
389
+
390
+ Sprint Master checks:
391
+ ├── Has test tasks? → Yes (TEST-042-UNIT, TEST-042-INT)
392
+ ├── TEST-042-UNIT status? → ✅ Complete
393
+ ├── TEST-042-INT status? → ❌ In Progress
394
+ └── Block completion
395
+
396
+ Response: "Cannot mark TASK-042 as done.
397
+ TEST-042-INT is still in progress.
398
+
399
+ Test Status:
400
+ ✅ TEST-042-UNIT: Passed (45 tests, 92% coverage)
401
+ 🔄 TEST-042-INT: In Progress
402
+
403
+ Complete all test tasks first, or use /quality:verify-done for details."
404
+ ```
405
+
406
+ ### Override Protocol
407
+
408
+ ```
409
+ User: "Override test requirement for TASK-042"
410
+
411
+ Sprint Master checks:
412
+ ├── Enforcement level? → Standard
413
+ ├── Override allowed? → Yes
414
+ ├── Justification required? → Yes
415
+
416
+ Response: "Override requested for TASK-042.
417
+
418
+ Please provide:
419
+ 1. Reason for override
420
+ 2. Risk assessment
421
+ 3. Follow-up plan for tests
422
+
423
+ Note: This will be logged and reviewed in retrospective."
424
+
425
+ User: "Hotfix for production - tests will be added in TASK-043"
426
+
427
+ Sprint Master:
428
+ ├── Log override with justification
429
+ ├── Create follow-up task: TASK-043 (Add tests for TASK-042)
430
+ ├── Mark TASK-042 as done with override flag
431
+ └── Add to retrospective items
243
432
  ```
244
433
 
245
434
  ---
@@ -464,6 +653,12 @@ When blocker detected:
464
653
  - `/spawn [agent] [task]` - Run agent in parallel
465
654
  - `/spawn:collect` - Collect parallel results
466
655
 
656
+ ### Testing Commands
657
+ - `/quality:verify-done` - Verify test requirements before completion
658
+ - `/quality:coverage-check` - Check coverage against gates
659
+ - `/quality:test-plan` - Generate test plan for feature
660
+ - `/dev:feature-tested [desc]` - Create feature with auto-generated tests
661
+
467
662
  ### Omega Commands
468
663
  - `/init` - Initialize Omega mode
469
664
  - `/10x [task]` - Find 10x approach
@@ -1,9 +1,9 @@
1
1
  # OMGKIT Component Registry
2
2
  # Single Source of Truth for Agents, Skills, Commands, Workflows, and MCPs
3
- # Version: 2.24.2
3
+ # Version: 2.24.3
4
4
  # Updated: 2026-01-06
5
5
 
6
- version: "2.24.2"
6
+ version: "2.24.3"
7
7
 
8
8
  # =============================================================================
9
9
  # OPTIMIZED ALIGNMENT PRINCIPLE (OAP)