feat(KB-040): add break-into-subtasks toggle for task creation

- Add breakIntoSubtasks flag to core Task model and persist to store
- Plumb subtask flag through dashboard API routes with validation
- Add subtask toggle UI to inline task creation card
- Update triage agent to handle automatic subtask breakdown when enabled
- Add comprehensive tests for store, API routes, and UI components
- Include changeset for patch release documenting the new feature
This commit is contained in:
gsxdsm
2026-03-29 22:23:47 -07:00
parent 5aa464e5fa
commit 86efb14947
11 changed files with 327 additions and 13 deletions

View File

@@ -193,6 +193,7 @@ export class TaskStore extends EventEmitter<TaskStoreEvents> {
description: input.description,
column: input.column || "triage",
dependencies: input.dependencies || [],
breakIntoSubtasks: input.breakIntoSubtasks === true ? true : undefined,
steps: [],
currentStep: 0,
log: [{ timestamp: now, action: "Task created" }],