From 01ef3293cfece14f06e4b9d1b227131b894f4f58 Mon Sep 17 00:00:00 2001 From: Yun Chan Date: Sun, 8 Nov 2026 21:11:25 +0900 Subject: [PATCH] docs(map): record Wave 5 contract cleanup and TDD 2.0 Phase 0-1 gates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AGENTS.md §4 — feature/infrastructure change ⇒ map change, same commit. - 11-gap-backlog: GAP-QA-04 (20 dead IPC channels + 27 dead types removed, live payloads rewired), GAP-QA-05 (dead DS exports / duplicate hex / unused modules), GAP-QA-06 (protected journeys still unexecuted in CI — open), GAP-QA-07 (test quality ratchet + metrics gates), and the remaining Wave 5 G3-G7 / TDD Phase 2-5 backlog. - 02-infrastructure §10 and tdd-red/06 §5-§6 were updated in the gate commits. --- docs/map/11-gap-backlog.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/map/11-gap-backlog.md b/docs/map/11-gap-backlog.md index 43d1aef..670804b 100644 --- a/docs/map/11-gap-backlog.md +++ b/docs/map/11-gap-backlog.md @@ -277,3 +277,11 @@ Evidence and inventory: [2026-11-01 completion](../evidence/2026-11-01-completio - `[x]` Model-test cleanup: `/api/ps` was empty before and was restored to empty after the explicit unload. The direct Ollama load test is not product-warmup evidence. Evidence: [2026-11-02 verification](../evidence/2026-11-02-verification.md). + +## 2026-11-08 — Wave 5 계약 정리 + TDD 2.0 Phase 0·1 + +- `[x]` **GAP-QA-04 (신규·해결): 죽은 IPC/TTS 계약이 SSOT에 남아 있었다.** `IPC_CHANNELS.TTS` 블록(9) · WINDOW tip/show 5 · SYSTEM 4 · HISTORY.EXPORT · STATS 2 · RAG.QUERY_RESULT · SUPPORT.GET_TICKETS · POPUP_SUGGESTION.ACCEPTED 등 **20개 채널**과 그에 묶인 타입 27종이 어디에서도 참조되지 않았다. 삭제 + 살아있는 채널의 인라인 페이로드를 코어 타입으로 재배선(`PullModelParams`의 `modelName`→`modelId` 드리프트, `OpenExternalParams`, `RecordingTipState`/`TipStateChangedEvent`, `'done'` 상태 누락). 근거: `docs/REFACTOR_WAVE5_AUDIT.md` W5-02/W5-03. 검증: 모노레포 typecheck/lint/test + 모바일 typecheck/lint/test + contract:check GREEN. 커밋 `f95bc9c`. +- `[x]` **GAP-QA-05 (신규·해결): DS 데드 export·중복 hex·미사용 모듈.** `packages/ui`·`ui-native`의 토큰 export 11개(참조 0), `ProBadge.tsx`, `apps/admin/src/lib/supabase-server.ts` 삭제. 파형 컴포넌트의 하드코딩 hex 폴백을 `theme-raw` 값으로 통일. 커밋 `b8b9190`. +- `[~]` **GAP-QA-06 (신규·진행): 보호 수용 여정이 CI에서 실행되지 않는다.** Phase 1로 "약화·삭제·skip"은 `npm run check:protected-tests`가 막지만, 데스크톱 E2E 자체는 X 디스플레이가 없어 여전히 릴리스 전 수동이다. 다음 단계: Phase 5 — `release.yml` 태그 잡에 Windows 러너 E2E + 설치 산출물 스모크 추가. +- `[x]` **GAP-QA-07 (신규·해결): 테스트 품질 회귀를 막을 게이트가 없었다.** `npm run test:quality`(래칫, 기준선 `scripts/ci/test-quality-baseline.json`: 약한 단정 128 / ambient 시계·난수 203)와 `npm run test:metrics`(지표, `docs/tdd-red/metrics/2026-11-08.md`)를 추가하고 `verify:all`·CI `quality`에 배선. 커밋 `42583cc`·`d3d6f34`. +- `[ ]` **잔여(다음 wave):** Wave 5 G3(PII/ZDR 배선 여부 — 프로덕션 호출자 0), G4(`isRecord` 27 · `requireUuid` 14 · `formatDuration` 9 등 앱 간 중복 → `@d3ro/core` 추출), G5(i18n sync 스크립트의 번역값 하드코딩 + 고아 키 798), G6(`site/`가 npm workspace 밖이라 루트 정적 게이트 대상 아님), G7(대형 컴포넌트 순수 이동). TDD Phase 2~5(i18n·DS 계약, 영향 선택 실행, 증분 뮤테이션, 릴리스 E2E).