chore: rename Tiji→Kangkang test imports + scheme + sync docs
Rename @testable imports across all test/UI test files after the Tiji→Kangkang
project rename in 44ed01a. Add shared scheme. Sync CLAUDE.md / W2 plan / spec
v1.0 to current scope (Symptom feature noted, C1/C2 flow lockdown).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# 康记 / 体己 —— 功能设计 Spec(v1.0)
|
||||
# 康康 —— 功能设计 Spec(v1.0)
|
||||
|
||||
**日期**:2026-05-25
|
||||
**状态**:Draft, 已与产品方对齐 §1-§6
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
## 0. 概要
|
||||
|
||||
康记是一个 iOS 原生健康影像档案 App,**100% 端侧 AI 推理**,基于 SwiftUI + SwiftData + MLX Swift,目标 6 周交付决赛 demo。本 spec 把原始功能清单收敛为 **方案 B**:核心 5 模块 + Live Activity + 分享摘要,其余 P2/P3 全部 deferred。
|
||||
康康是一个 iOS 原生健康影像档案 App,**100% 端侧 AI 推理**,基于 SwiftUI + SwiftData + MLX Swift,目标 6 周交付决赛 demo。本 spec 把原始功能清单收敛为 **方案 B**:核心 5 模块 + Live Activity + 分享摘要,其余 P2/P3 全部 deferred。
|
||||
|
||||
**5 大核心模块**
|
||||
|
||||
@@ -77,7 +77,7 @@ Persistence
|
||||
### 2.1 `AIRuntime` 接口
|
||||
|
||||
```
|
||||
体己/AI/
|
||||
康康/AI/
|
||||
├── AIRuntime.swift // actor 单例,推理串行化
|
||||
├── ModelStore.swift // 模型路径管理 + 下载 + bundle 旁路
|
||||
├── LLMSession.swift // Qwen3-1.7B 文本生成,流式
|
||||
@@ -376,7 +376,7 @@ User → UI(B2Scan) → CaptureService → AIRuntime → Persistence
|
||||
### 4.3 服务层文件
|
||||
|
||||
```
|
||||
体己/AI/ [7.5d]
|
||||
康康/AI/ [7.5d]
|
||||
├── AIRuntime.swift 2d
|
||||
├── ModelStore.swift 1d
|
||||
├── LLMSession.swift 1d
|
||||
@@ -387,17 +387,17 @@ User → UI(B2Scan) → CaptureService → AIRuntime → Persistence
|
||||
├── KeywordExtraction.swift
|
||||
└── TrendNarrative.swift
|
||||
|
||||
体己/Services/ [4.5d]
|
||||
康康/Services/ [4.5d]
|
||||
├── CaptureService.swift 1.5d
|
||||
├── AskService.swift 1.5d
|
||||
├── TrendService.swift 1d
|
||||
└── ReportCompareService.swift 0.5d
|
||||
|
||||
体己/Persistence/ [1d]
|
||||
康康/Persistence/ [1d]
|
||||
├── FileVault.swift 0.5d
|
||||
└── PermanentDelete.swift 0.5d
|
||||
|
||||
体己/Security/ [0.5d]
|
||||
康康/Security/ [0.5d]
|
||||
└── AppLock.swift 0.5d
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user