docs(plan): v0.2.10 Cut C plan + spec m005→m006 정정 (Cut B 가 m005 선점)

This commit is contained in:
altair823
2026-05-09 20:28:02 +09:00
parent 07e61bc9e1
commit 88ce78d860
2 changed files with 1319 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -31,7 +31,9 @@
---
## 3. Schema 마이그레이션 (m005)
## 3. Schema 마이그레이션 (m006)
> 메모: 본 스펙 작성 시점에는 m005 로 예상했으나 Cut B (v0.2.9) 에서 m005 (ai_disabled CHECK relax) 가 선점됨 → 실제 번호는 **m006**.
```sql
CREATE TABLE note_revisions (
@@ -171,7 +173,7 @@ interface NoteRevision {
| 영역 | 단위 |
|---|---|
| m005 마이그레이션 | 기존 notes → revision backfill (edited_by='capture') |
| m006 마이그레이션 | 기존 notes → revision backfill (edited_by='capture') |
| `updateRawText` | notes.raw_text 갱신 + 새 revision INSERT atomic |
| `listRevisions` | DESC 순 + edited_by 정확 |
| `restoreRevision` | 옛 raw_text 가 새 revision 으로 INSERT + notes.raw_text 갱신 |
@@ -179,7 +181,7 @@ interface NoteRevision {
| 이력 modal | revision 목록 표시 + 회수 클릭 → confirm + IPC |
| AiWorker input | current notes.raw_text 사용 (revision X) 회귀 |
**목표**: 단위 490 → 약 505 (+15), typecheck 0.
**목표**: 단위 548 → 약 567 (+19, m006 5 + create rev 1 + updateRawText 2 + listRevisions 1 + restoreRevision 2 + IPC 4 + NoteCard 편집 1 + RevisionHistoryModal 2 + findById 회귀 1), typecheck 0.
---