feat(P7.1): remove task_type='task' — migrate to issue/defect, update defaults and DB migration

This commit is contained in:
zhi
2026-03-17 16:05:32 +00:00
parent 3afbbc2a88
commit 89e3bcdd0f
5 changed files with 10 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ TASK_SUBTYPE_MAP = {
'story': {'feature', 'improvement', 'refactor'},
'test': {'regression', 'security', 'smoke', 'stress'},
'research': set(),
'task': {'defect'},
# P7.1: 'task' type removed — defect subtype migrated to issue/defect
'resolution': set(),
}
ALLOWED_TASK_TYPES = set(TASK_SUBTYPE_MAP.keys())