feat(FN-2241): add review level selection in task creation and editing

- Extend core task types/store and dashboard API route handling to persist task reviewLevel
- Add review level controls to TaskForm, NewTaskModal, and TaskDetailModal flows
- Improve workflow step selector presentation in WorkflowResultsTab and styles for clearer review settings UX
- Document the new review level behavior and add route/form/modal tests to cover create and edit scenarios
This commit is contained in:
Fusion
2026-04-22 09:23:57 -07:00
committed by gsxdsm
parent d6b6bd790a
commit 435fb60c98
13 changed files with 413 additions and 88 deletions

View File

@@ -1682,6 +1682,7 @@ export class TaskStore extends EventEmitter<TaskStoreEvents> {
planningModelProvider: input.planningModelProvider,
planningModelId: input.planningModelId,
thinkingLevel: input.thinkingLevel,
reviewLevel: input.reviewLevel,
missionId: input.missionId,
sliceId: input.sliceId,
steps: [],

View File

@@ -829,6 +829,8 @@ export interface TaskCreateInput {
assignedAgentId?: string;
/** Optional explicit user assignment for this task (used during review handoff) */
assigneeUserId?: string;
/** Review level for task execution — controls review rigor: 0=None, 1=Plan Only, 2=Plan and Code, 3=Full */
reviewLevel?: number;
}
// ── Settings Scope Types ────────────────────────────────────────────────