TaskType Registry
The central metadata engine that defines, registers, and instantiates all AI-driven tasks within the Cognotik ecosystem.
Core Component
Dynamic Enum
Type-Safe Registry
Task Registration (Kotlin)
registerConstructor(
FileModificationTask.FileModification
)
registerConstructor(
SubPlanTask.SubPlan
)
→
Active Registry State
- ● FileModificationTask
- ● SubPlanTask
- ● ReadDocumentsTask
- + 80 more tasks...
Workspace Browser
Browse the test workspace artifacts for the TaskType registry.
Registry Architecture
TaskType is a DynamicEnum that maps task identifiers to their implementation classes. It ensures that every task has a valid ExecutionConfig and TypeConfig.
| Property | Type | Description |
|---|---|---|
category |
String | Logical grouping (e.g., "Reasoning", "File Operations"). |
taskClass |
Class | The AbstractTask implementation. |
executionConfigClass |
Class | The data class defining runtime parameters. |