chore(expiry): #5 closure — gates verified + roadmap mark complete

- typecheck 0 errors
- 단위 326/326 (T1~T7 누적 26 신규)
- e2e 1/1
- spec §3 IPC 채널명 inbox:trashBatch → inbox:trashExpiredBatch 보정 (의미 명확화)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
altair823
2026-05-02 00:25:15 +09:00
parent 7cbbd4dc97
commit 8a96d5279d
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ export function todayInKst(now: Date): string {
| 채널 | 입력 | 출력 | 설명 |
|------|------|------|------|
| `inbox:listExpired` | (없음) | `Note[]` | candidates 조회. 빈 배열 가능. |
| `inbox:trashBatch` | `{ ids: string[] }` | `{ trashedCount: number }` | atomic batch trash. ids 빈 배열 시 즉시 `{ trashedCount: 0 }`. |
| `inbox:trashExpiredBatch` | `{ ids: string[] }` | `{ trashedCount: number; confirmed: boolean }` | atomic batch trash + native confirm. ids 빈 배열 시 즉시 `{ trashedCount: 0, confirmed: false }`. |
CaptureService 가 진입점. `today` 는 main 에서 `todayInKst(new Date())` 로 계산.

View File

@@ -107,7 +107,7 @@ v0.2.2 ────────[ dogfood 동결, 병렬 진행 ]─────
**Out:** 자동 비우기 정책 (사용자 트리거만), 휴지통 검색, trash 안 노트 편집, 휴지통 UI 정밀 위치 (mini-brainstorm), per-note 영속 보호 플래그
### #5 만료 추천 (3번)
### #5 만료 추천 (3번) ✓ 완료
**In:**
- `NoteRepository.findExpiredCandidates({today})`: