diff --git a/src/components/CreateTaskModal.tsx b/src/components/CreateTaskModal.tsx index 35bfd14..4b21e76 100644 --- a/src/components/CreateTaskModal.tsx +++ b/src/components/CreateTaskModal.tsx @@ -3,7 +3,7 @@ import api from '@/services/api' import type { Milestone, Project, Task } from '@/types' const TASK_TYPES = [ - { value: 'story', label: 'Story', subtypes: ['improvement', 'refactor'] }, // P9.6: 'feature' removed — must come from proposal accept + // P9.6: 'story' removed — all story/* types are restricted; must come from Proposal Accept workflow { value: 'issue', label: 'Issue', subtypes: ['infrastructure', 'performance', 'regression', 'security', 'user_experience', 'defect'] }, // P7.1: 'task' type removed — defect subtype migrated to issue/defect { value: 'test', label: 'Test', subtypes: ['regression', 'security', 'smoke', 'stress'] }, diff --git a/src/pages/CreateTaskPage.tsx b/src/pages/CreateTaskPage.tsx index dad58d5..374d955 100644 --- a/src/pages/CreateTaskPage.tsx +++ b/src/pages/CreateTaskPage.tsx @@ -4,7 +4,7 @@ import api from '@/services/api' import type { Project, Milestone } from '@/types' const TASK_TYPES = [ - { value: 'story', label: 'Story', subtypes: ['improvement', 'refactor'] }, // P9.6: 'feature' removed — must come from proposal accept + // P9.6: 'story' removed — all story/* types are restricted; must come from Proposal Accept workflow { value: 'issue', label: 'Issue', subtypes: ['infrastructure', 'performance', 'regression', 'security', 'user_experience', 'defect'] }, // P7.1: 'task' type removed — defect subtype migrated to issue/defect { value: 'test', label: 'Test', subtypes: ['regression', 'security', 'smoke', 'stress'] },