修复: CR-22 types.ts 枚举注释对齐后端+删 models 冗余(CR-23 不适用)

①TaskRecord.status 注释 review_ready/merged/abandoned 错,改 todo/in_progress/in_review/testing/done/blocked/cancelled(后端 TaskStatus 7 态 types.rs:131);②IdeaRecord.status 补 archived(后端 IdeaStatus 含);③ProjectRecord.status 补 testing/releasing+删 cancelled(后端 ProjectStatus 无 Cancelled);④AiConversationSummary.models 删(前端零消费 grep 确认,冗余)。
CR-23 走查过时不适用:B-34「Tauri 不转」注释在批6 ARC-05 拆分时已简化(workflow.ts:81 无错误说明,:58 只说风格对齐)。cron 巡检捕获另一会话走查第5轮 CR-22/23,vue-tsc 0
This commit is contained in:
2026-06-15 07:48:42 +08:00
parent 94cdcdcb6a
commit 16aeacc37b

View File

@@ -8,7 +8,7 @@ export interface IdeaRecord {
id: string id: string
title: string title: string
description: string description: string
status: string // draft | pending_review | approved | promoted | rejected status: string // draft | pending_review | approved | rejected | promoted | archived
priority: number priority: number
score: number | null score: number | null
tags: string | null // JSON 数组字符串 tags: string | null // JSON 数组字符串
@@ -36,7 +36,7 @@ export interface ProjectRecord {
id: string id: string
name: string name: string
description: string description: string
status: string // planning | in_progress | paused | completed | cancelled status: string // planning | in_progress | testing | releasing | completed | paused
idea_id: string | null idea_id: string | null
/** 绑定的本地代码目录绝对路径(null=未绑定) */ /** 绑定的本地代码目录绝对路径(null=未绑定) */
path: string | null path: string | null
@@ -85,7 +85,7 @@ export interface TaskRecord {
project_id: string project_id: string
title: string title: string
description: string description: string
status: string // todo | in_progress | review_ready | merged | abandoned status: string // todo | in_progress | in_review | testing | done | blocked | cancelled
priority: number // 0=critical, 1=high, 2=medium, 3=low priority: number // 0=critical, 1=high, 2=medium, 3=low
branch_name: string | null branch_name: string | null
assignee: string | null assignee: string | null
@@ -230,7 +230,6 @@ export interface AiConversationSummary {
title: string | null title: string | null
provider_id: string | null provider_id: string | null
model: string | null model: string | null
models?: string[] | null
archived: boolean archived: boolean
prompt_tokens?: number | null prompt_tokens?: number | null
completion_tokens?: number | null completion_tokens?: number | null