docs/tdd-red/07-revamp-plan.md Phase 1 — v1.1이 문서로만 선언한 것을 게이트로 옮긴다. 보호 수용 경로 게이트 (check-protected-tests.mjs): - 06 §5 의 보호 6경로를 base revision 과 비교한다. - 실패 조건: 테스트/스텝 블록 감소, expect 감소, .only 추가, skip/todo 추가, 보호 파일 삭제. - 정당한 스펙 변경은 커밋 본문 `allow-protected-change: <사유>` 또는 --reason 으로만 통과한다(사람 리뷰 대체 아님). CI quality 잡이 --base HEAD^ 로 실행하며 체크아웃이 depth 2 로 바뀐다. 얕은 클론에서는 SKIP 사유를 출력한다. 품질 래칫 (check-test-quality.mjs + test-quality-baseline.json): - 파일별 weak-assertion(toBeDefined/toBeTruthy/toBeFalsy/toBeNull)과 ambient-time(Date.now/Math.random/performance.now) 수치를 동결하고 증가만 막는다. - 128 / 203 건을 한 번에 고치지 않고 회귀만 차단한다. --update 는 리뷰 후 실행. 배선: verify:all 에 두 게이트 편입, CI quality 잡 단계 추가, map/02 §10 · tdd-red/06 §5·§6 · 07 Phase 0-1 상태 갱신. 검증: - self-test: check-protected-tests 6케이스, check-test-quality 6케이스 통과 - 실제 약화 주입 시 두 게이트가 exit 1 (smoke.spec.ts .only, 약한 단정 추가) 후 원복 - npm run test:hygiene / check:design GREEN, npm test GREEN (2800+605+31+24)
138 lines
9 KiB
JSON
138 lines
9 KiB
JSON
{
|
|
"generatedAt": "2026-11-08",
|
|
"note": "TDD 2.0 래칫 기준선 — 증가만 막는다. --update 로만 갱신.",
|
|
"rules": {
|
|
"weak-assertion": {
|
|
"apps/desktop/tests/integration/cross-device-sync.supabase.test.ts": 1,
|
|
"apps/desktop/tests/integration/meeting-import-media.test.ts": 1,
|
|
"apps/desktop/tests/main/services/CustomInstructionService.test.ts": 3,
|
|
"apps/desktop/tests/main/services/DictionaryService.test.ts": 2,
|
|
"apps/desktop/tests/main/services/HistoryService.test.ts": 2,
|
|
"apps/desktop/tests/main/services/KeyBindingService.test.ts": 2,
|
|
"apps/desktop/tests/main/services/SuggestionService.test.ts": 1,
|
|
"apps/desktop/tests/main/services/TypoCorrectionService.test.ts": 1,
|
|
"apps/desktop/tests/main/services/VoiceModeService.test.ts": 1,
|
|
"apps/desktop/tests/main/services/caption-owner-redteam-r1-3.test.ts": 1,
|
|
"apps/desktop/tests/main/services/file-transcription-cancel-redteam-r2-1.test.ts": 1,
|
|
"apps/desktop/tests/main/services/i18n-locale-parity.test.ts": 2,
|
|
"apps/desktop/tests/main/services/input-intelligence.test.ts": 2,
|
|
"apps/desktop/tests/main/services/input-telemetry-redteam-r1-1.test.ts": 1,
|
|
"apps/desktop/tests/main/services/input-telemetry-stale-snapshot.test.ts": 8,
|
|
"apps/desktop/tests/main/services/license-entitlement-r1-11.test.ts": 1,
|
|
"apps/desktop/tests/main/services/runtime-install-release-redteam-r2-14.test.ts": 1,
|
|
"apps/desktop/tests/main/services/screen-context-redteam-r1-3.test.ts": 2,
|
|
"apps/desktop/tests/main/services/screen-context-redteam-r2-7.test.ts": 2,
|
|
"apps/desktop/tests/main/services/update-service-status.test.ts": 1,
|
|
"apps/desktop/tests/main/services/voice-mode-redteam-r1-3.test.ts": 2,
|
|
"apps/desktop/tests/main/sync/cloud-credentials-redteam-r3-1.test.ts": 5,
|
|
"apps/desktop/tests/main/sync/sync-redteam-r1-0.test.ts": 1,
|
|
"apps/desktop/tests/main/update-policy.test.ts": 1,
|
|
"apps/desktop/tests/main/windows/popup-navigation.test.ts": 1,
|
|
"apps/desktop/tests/main/windows/recording-tip-error-menu-redteam-r3-4.test.ts": 1,
|
|
"apps/desktop/tests/red/ads/admob-ssv.test.ts": 1,
|
|
"apps/desktop/tests/red/ads/ads-mediation.test.ts": 4,
|
|
"apps/desktop/tests/red/auth-login.usecase.test.ts": 2,
|
|
"apps/desktop/tests/red/dictionary-redteam-r1-12.test.ts": 2,
|
|
"apps/desktop/tests/red/history.usecase.test.ts": 5,
|
|
"apps/desktop/tests/red/instruction.usecase.test.ts": 1,
|
|
"apps/desktop/tests/red/ipc-surfaces.usecase.test.ts": 1,
|
|
"apps/desktop/tests/red/meeting-import.usecase.test.ts": 1,
|
|
"apps/desktop/tests/red/meeting-mode-redteam-r1-3.test.ts": 2,
|
|
"apps/desktop/tests/red/meeting-recording-redteam-r2-1.test.ts": 2,
|
|
"apps/desktop/tests/red/meeting.usecase.test.ts": 1,
|
|
"apps/desktop/tests/red/silent-errors.usecase.test.ts": 1,
|
|
"apps/desktop/tests/red/voice.usecase.test.ts": 2,
|
|
"apps/desktop/tests/unit/AdMediationEngine.test.ts": 3,
|
|
"apps/desktop/tests/unit/error-recovery-redteam-r3-21.test.ts": 2,
|
|
"apps/desktop/tests/unit/keybinding-picker-capture-redteam-r3-23.test.ts": 1,
|
|
"apps/desktop/tests/unit/meeting-transcript-view-redteam-r2-32.test.ts": 1,
|
|
"apps/desktop/tests/unit/ollama-model-pull-redteam-r2-34.test.ts": 1,
|
|
"apps/desktop/tests/unit/realtime-session-redteam-r1-30.test.ts": 2,
|
|
"apps/desktop/tests/unit/stt-model-download-redteam-r3-24.test.ts": 6,
|
|
"apps/mobile-rn/__tests__/auth-privacy-boundary.test.tsx": 9,
|
|
"apps/mobile-rn/__tests__/auth-redteam-r3-16.test.tsx": 2,
|
|
"apps/mobile-rn/__tests__/incoming-media-intent.test.ts": 1,
|
|
"apps/mobile-rn/__tests__/meeting-creation-screen.test.tsx": 1,
|
|
"apps/mobile-rn/__tests__/navigation-shell.test.tsx": 1,
|
|
"apps/web/e2e/dashboard-dictionary-commands.spec.ts": 7,
|
|
"apps/web/tests/billing-catalog.test.ts": 2,
|
|
"packages/api-client/__tests__/client.test.ts": 2,
|
|
"packages/api-client/__tests__/types.test.ts": 1,
|
|
"packages/core/__tests__/keybinding.test.ts": 10,
|
|
"packages/core/__tests__/terminal-prompt.test.ts": 1,
|
|
"packages/core/__tests__/typo-correction.test.ts": 3
|
|
},
|
|
"ambient-time": {
|
|
"apps/desktop/tests/eval/suggestion-latency.eval.test.ts": 2,
|
|
"apps/desktop/tests/eval/suggestion-replay.eval.test.ts": 4,
|
|
"apps/desktop/tests/integration/cross-device-sync.supabase.test.ts": 10,
|
|
"apps/desktop/tests/integration/meeting-import-media.test.ts": 1,
|
|
"apps/desktop/tests/integration/suggestion-quality.ollama.test.ts": 2,
|
|
"apps/desktop/tests/main/db-open-atomic-redteam-r2-1.test.ts": 2,
|
|
"apps/desktop/tests/main/services/KeyBindingService.test.ts": 4,
|
|
"apps/desktop/tests/main/services/SuggestionService.test.ts": 2,
|
|
"apps/desktop/tests/main/services/TypoCorrectionService.test.ts": 4,
|
|
"apps/desktop/tests/main/services/file-transcription-cancel-redteam-r2-1.test.ts": 1,
|
|
"apps/desktop/tests/main/services/file-transcription-glossary.test.ts": 1,
|
|
"apps/desktop/tests/main/services/file-transcription-redteam-r1-5.test.ts": 1,
|
|
"apps/desktop/tests/main/services/file-transcription-repetition.test.ts": 1,
|
|
"apps/desktop/tests/main/services/history-redteam-r1-0.test.ts": 2,
|
|
"apps/desktop/tests/main/services/input-flow-services.test.ts": 6,
|
|
"apps/desktop/tests/main/services/input-intelligence.test.ts": 1,
|
|
"apps/desktop/tests/main/services/input-telemetry-focus-flicker.test.ts": 5,
|
|
"apps/desktop/tests/main/services/input-telemetry-redteam-r1-1.test.ts": 1,
|
|
"apps/desktop/tests/main/services/input-telemetry-stale-snapshot.test.ts": 4,
|
|
"apps/desktop/tests/main/services/modifier-state.test.ts": 6,
|
|
"apps/desktop/tests/main/services/personal-graph-context.test.ts": 1,
|
|
"apps/desktop/tests/main/services/suggestion-accept-hold.test.ts": 2,
|
|
"apps/desktop/tests/main/services/suggestion-accept-word.test.ts": 2,
|
|
"apps/desktop/tests/main/services/suggestion-app-scoped-learning.test.ts": 2,
|
|
"apps/desktop/tests/main/services/suggestion-copy-guard.test.ts": 2,
|
|
"apps/desktop/tests/main/services/suggestion-instant-personal.test.ts": 2,
|
|
"apps/desktop/tests/main/services/suggestion-no-suggestion-notice.test.ts": 2,
|
|
"apps/desktop/tests/main/services/suggestion-presence.test.ts": 3,
|
|
"apps/desktop/tests/main/services/suggestion-redteam-r1-1.test.ts": 11,
|
|
"apps/desktop/tests/main/services/suggestion-redteam-r2-3.test.ts": 6,
|
|
"apps/desktop/tests/main/services/suggestion-redteam-r3-1.test.ts": 6,
|
|
"apps/desktop/tests/main/services/suggestion-typo-correction.test.ts": 2,
|
|
"apps/desktop/tests/main/services/textinsert-redteam-r2-4.test.ts": 2,
|
|
"apps/desktop/tests/main/services/voice-mode-redteam-r1-3.test.ts": 2,
|
|
"apps/desktop/tests/main/services/voice-mode-redteam-r2-7.test.ts": 2,
|
|
"apps/desktop/tests/main/services/voice-recording-store-redteam-r3-1.test.ts": 1,
|
|
"apps/desktop/tests/main/sync/SyncEngine.test.ts": 10,
|
|
"apps/desktop/tests/main/sync/SyncExtensions.test.ts": 2,
|
|
"apps/desktop/tests/main/sync/SyncTranscriptsPresets.test.ts": 3,
|
|
"apps/desktop/tests/main/sync/audio-sync-redteam-r3-1.test.ts": 1,
|
|
"apps/desktop/tests/main/sync/meeting-recording-pull.test.ts": 1,
|
|
"apps/desktop/tests/main/sync/sync-redteam-r1-0.test.ts": 3,
|
|
"apps/desktop/tests/red/ads/admob-ssv.test.ts": 3,
|
|
"apps/desktop/tests/red/ads/ads-mediation.test.ts": 2,
|
|
"apps/desktop/tests/red/chained.usecase.test.ts": 2,
|
|
"apps/desktop/tests/red/crypto-license.usecase.test.ts": 8,
|
|
"apps/desktop/tests/red/data-policy-redteam-r2-1.test.ts": 1,
|
|
"apps/desktop/tests/red/meeting-import.usecase.test.ts": 1,
|
|
"apps/desktop/tests/red/meeting-llm.usecase.test.ts": 1,
|
|
"apps/desktop/tests/red/meeting-mode-redteam-r1-3.test.ts": 3,
|
|
"apps/desktop/tests/red/meeting-recording-redteam-r2-1.test.ts": 6,
|
|
"apps/desktop/tests/red/meeting.usecase.test.ts": 1,
|
|
"apps/desktop/tests/red/rag.usecase.test.ts": 1,
|
|
"apps/desktop/tests/red/templates-wiring-redteam-r2-15.test.ts": 1,
|
|
"apps/desktop/tests/red/voice.usecase.test.ts": 2,
|
|
"apps/desktop/tests/shared/entitlement.test.ts": 1,
|
|
"apps/desktop/tests/unit/desktop-ux-gaps.test.ts": 3,
|
|
"apps/mobile-rn/__tests__/admin-mobile.local.e2e.mjs": 5,
|
|
"apps/mobile-rn/__tests__/data-portability.local.integration.mjs": 2,
|
|
"apps/mobile-rn/__tests__/incoming-media-intent.test.ts": 4,
|
|
"apps/mobile-rn/__tests__/knowledge-actions.local.integration.mjs": 2,
|
|
"apps/mobile-rn/__tests__/talk.local.integration.mjs": 2,
|
|
"apps/mobile-rn/__tests__/teams-push.local.integration.mjs": 3,
|
|
"apps/mobile-rn/__tests__/templates-memos.local.integration.mjs": 6,
|
|
"apps/web/e2e/billing.spec.ts": 3,
|
|
"apps/web/e2e/dashboard-dictionary-commands.spec.ts": 1,
|
|
"apps/web/e2e/history.spec.ts": 1,
|
|
"packages/core/__tests__/personal-graph.test.ts": 1,
|
|
"packages/core/__tests__/transcript-correction-hardening.test.ts": 2,
|
|
"server/supabase/functions/_shared/admob-ssv.test.ts": 7
|
|
}
|
|
}
|
|
}
|