feat(KB-630): inherit parent task models in subtasks

- Subtasks now inherit parent task's executor and validator model settings
- When triage creates subtasks, modelProvider/modelId and validatorModelProvider/validatorModelId are copied from parent
- Clean up legacy mission-store code (mission-store.ts, mission-types.ts, and related tests)
- Add comprehensive tests for subtask model inheritance in triage, routes, and db
- Remove obsolete changeset for missions-database-schema
This commit is contained in:
gsxdsm
2026-03-31 18:31:57 -07:00
parent 486d12827b
commit d711b2b9dd
5 changed files with 252 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
"@gsxdsm/fusion": patch
---
Inherit parent task AI model settings in subtasks
Subtasks created via the dashboard subtask breakdown dialog or the triage agent's `task_create` tool now automatically inherit the parent task's AI model settings:
- `modelProvider` & `modelId` → inherited by subtasks for executor agent
- `validatorModelProvider` & `validatorModelId` → inherited by subtasks for reviewer agent
If the parent task has no model overrides or doesn't exist, subtasks fall back to global defaults as before.