Add report validity check protocol to prevent stale report usage

Problems fixed:
- Reports created before file modifications caused incorrect info
- POLISH batch-05 (2026-01-21) reported issues in files modified later (2026-01-24)
- No validation between report date and file modification time

Changes:
1. Created report-management.md (v1.0.0)
   - Report validity check protocol
   - File modification time vs report date comparison
   - Invalidation conditions and procedures

2. Updated verification-mode.md (v2.8.0 → v2.9.0)
   - Added report validity check section
   - Mandatory checklist before reading reports
   - Clear user reporting format (valid/invalid)

3. Updated polish-mode.md (v2.3.0 → v2.4.0)
   - Added report validity check section
   - Mandatory checklist before reading reports
   - Clear user reporting format (valid/invalid)

Process improvement:
- Before reading any report: check file mod times
- Report date < any file mod time → invalid → re-verify
- Prevents using outdated reports after FIX/repositioning

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Alex
2026-01-25 01:03:36 +09:00
parent bb5fe7cac9
commit e8c671b521
3 changed files with 495 additions and 6 deletions

View File

@@ -1,10 +1,10 @@
# 검증 모드 프로토콜
> **버전:** 2.8.0
> **최종 수정:** 2026-01-24
> **버전:** 2.9.0
> **최종 수정:** 2026-01-25
> **호환:** CWS Writing Guide v4.2.0+
> **용도:** 전체 검증 및 기록 (수정 없음)
> **주요 변경:** 강제 워크플로우 추가 - 검증→FIX→재검증 사이클 필수
> **주요 변경:** 리포트 유효성 검증 추가 - 파일 수정 시 리포트 무효
---
@@ -193,6 +193,96 @@ STARTED: 2026-01-20 14:20
---
## 📋 리포트 유효성 검증 (v2.9.0 신규)
> **참고:** `standards/report-management.md` 참조
### 🚨 필수: 리포트 읽기 전 유효성 체크
**문제:**
```
리포트 작성 후 파일이 수정되면 리포트가 과거 상태를 반영
→ 잘못된 정보를 사용자에게 전달하는 심각한 오류!
```
**해결:**
```
리포트 읽기 전 반드시 유효성 검증!
```
### 검증 절차
**1단계: 리포트 날짜 확인**
```bash
# validation-batch-05.md에서 날짜 추출
grep "검증일\|완료" validation-batch-05.md
# 예: **검증일:** 2026-01-21
```
**2단계: 대상 파일 수정 시간 확인**
```bash
# 배치 5 = ch-041~050
ls -l chapters/ch-04*.md chapters/ch-050.md
# Windows
Get-ChildItem "l:\...\chapters\ch-04*.md" | Select-Object Name,LastWriteTime
# 최종 수정 시간 확인
```
**3단계: 비교 및 판정**
```
리포트 날짜: 2026-01-21
파일 수정:
- ch-041.md: 2026-01-20 ✅ (리포트 이전)
- ch-046.md: 2026-01-24 ❌ (리포트 이후!)
→ 판정: 리포트 무효 → 재검증 필요
```
### 무효화 조건
**자동 무효:**
1. 대상 파일 중 하나라도 리포트 이후 수정됨
2. FIX 모드에서 챕터 재배치 발생
3. 리포트 작성일 < 파일 최종 수정일
**사용자 보고 형식:**
**리포트 유효:**
```
validation-batch-05.md 확인:
- 작성일: 2026-01-21
- 파일 수정: 2026-01-20 (리포트 이전)
- 상태: ✅ 유효
배치 5 결과 사용 가능
```
**리포트 무효:**
```
validation-batch-05.md 확인:
- 작성일: 2026-01-21
- 파일 수정: 2026-01-24 (리포트 이후!)
- 상태: ❌ 무효
이유: ch-028~030 재배치로 파일 수정됨
→ 배치 5 재검증 필요
```
### 체크리스트
**모든 리포트 읽기 전:**
- [ ] 리포트 파일 존재 확인
- [ ] 리포트 작성 날짜 추출
- [ ] 대상 파일 목록 확인 (RANGE 기준)
- [ ] 각 파일 최종 수정 시간 확인
- [ ] 리포트 날짜 < 파일 수정? → 무효
- [ ] 무효 시: 사용자에게 명확히 보고 + 재검증
- [ ] 유효 시: 리포트 내용 사용
---
## 🔄 통합 검증 (최종 단계, v2.5.0 신규)
### 개요