d3ro-voice/docs/tdd-red
Yun Chan 42583cc96b test(infra): add test-system metrics baseline (TDD 2.0 Phase 0)
docs/tdd-red/07-revamp-plan.md Phase 0 — "측정 없는 개편은 없다"의 첫 단계.
게이트가 아니라 지표다 (05 §9: 커버리지·강도는 지표, 완료 조건 아님).

추가:
- scripts/ci/test-metrics.mjs — 스위트별 파일/케이스/단정/약한 단정/ambient/스킵,
  i18n 로케일 수·키 수를 markdown 또는 JSON 으로 산출 (--write 로 날짜 문서 생성)
- scripts/ci/lib/test-files.mjs — 테스트 파일 판정·계수 공용 헬퍼
  (test:hygiene 과 같은 패턴을 쓰도록 한 곳에 모음)
- docs/tdd-red/metrics/2026-11-08.md — 오늘 기준선

측정 결과 (기준선):
- 파일 407 · 케이스 3,498 · 단정 8,958
- 약한 단정(toBeDefined/toBeTruthy/toBeFalsy/toBeNull) 128
- ambient 시계/난수(Date.now/Math.random/performance.now) 203
- skip/todo 3 · i18n 2,753키 × 12로케일

문서:
- 07-revamp-plan.md: 상태를 "Phase 0 완료"로 갱신, 측정치를 추정치(3,380/106/169)에서
  실측치로 교정
- REFACTOR_WAVE5_AUDIT.md: Wave 5 감사 결과(실행 입력) 편입

검증: node scripts/ci/test-metrics.mjs --write / --json GREEN,
      npm run test:metrics GREEN
2026-11-08 21:08:35 +09:00
..
metrics test(infra): add test-system metrics baseline (TDD 2.0 Phase 0) 2026-11-08 21:08:35 +09:00
00-README.md test(infra): add test-system metrics baseline (TDD 2.0 Phase 0) 2026-11-08 21:08:35 +09:00
01-principles-and-sources.md docs: record the 1.1.0 release and add the infrastructure map 2026-09-16 23:27:52 +09:00
02-meaningful-vs-meaningless-red.md docs: record the 1.1.0 release and add the infrastructure map 2026-09-16 23:27:52 +09:00
03-cleanup-and-consolidation.md docs: record the 1.1.0 release and add the infrastructure map 2026-09-16 23:27:52 +09:00
04-long-scenarios.md docs: record the 1.1.0 release and add the infrastructure map 2026-09-16 23:27:52 +09:00
05-framework.md docs: record the 1.1.0 release and add the infrastructure map 2026-09-16 23:27:52 +09:00
06-repo-application.md chore: land in-progress workspace changes before 1.16.2 2026-11-05 21:58:44 +09:00
07-revamp-plan.md test(infra): add test-system metrics baseline (TDD 2.0 Phase 0) 2026-11-08 21:08:35 +09:00
REDTEAM-AUDIT.md docs: record the 1.1.0 release and add the infrastructure map 2026-09-16 23:27:52 +09:00
SOURCES.md docs: record the 1.1.0 release and add the infrastructure map 2026-09-16 23:27:52 +09:00