diff --git a/docs/superpowers/specs/2026-05-14-v04-notebooks-lifecycle-design.md b/docs/superpowers/specs/2026-05-14-v04-notebooks-lifecycle-design.md index 5e4b49a..bc05dd9 100644 --- a/docs/superpowers/specs/2026-05-14-v04-notebooks-lifecycle-design.md +++ b/docs/superpowers/specs/2026-05-14-v04-notebooks-lifecycle-design.md @@ -53,7 +53,7 @@ inbox 분류 layer 도입 + lifecycle 단순화. 단일 cut 으로 묶음 — --- -## 4. Schema 마이그레이션 (m007) +## 4. Schema 마이그레이션 (m008) ```sql -- 1. notebooks 테이블 생성 @@ -274,7 +274,7 @@ HAVING cnt >= 3 | 영역 | 케이스 | |------|--------| | NotebookRepository | CRUD + count + delete RESTRICT | -| migration m007 | default notebook 생성 + 기존 노트 마이그레이션 + archived → completed | +| migration m008 | default notebook 생성 + 기존 노트 마이그레이션 + archived → completed | | store actions | 토글 + 선택 변경 + create/rename/delete 흐름 | | UI 사이드바 | notebook 목록 render + 클릭 selectedNotebookId 변경 + count badge | | 메모 list 필터 | notebook + view 필터 combination | @@ -313,7 +313,7 @@ HAVING cnt >= 3 ## 15. 작업 분해 (writing-plans 입력) -1. **m007 마이그레이션** — notebooks 테이블 + notes.notebook_id + archived 정리 + status enum +1. **m008 마이그레이션** — notebooks 테이블 + notes.notebook_id + archived 정리 + status enum 2. **NotebookRepository** + IPC 핸들러 3. **NoteRepository** 변경 — notebook_id 필터, list/search/counts 옵션 확장 4. **store** — notebooks state + actions + promotionCandidate state