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:
@@ -1,10 +1,10 @@
|
||||
# POLISH 모드 프로토콜
|
||||
|
||||
> **버전:** 2.3.0
|
||||
> **최종 수정:** 2026-01-20
|
||||
> **버전:** 2.4.0
|
||||
> **최종 수정:** 2026-01-25
|
||||
> **호환:** CWS Writing Guide v4.2.0+
|
||||
> **용도:** 문장 품질 다듬기 (내용 수정 없음)
|
||||
> **주요 변경:** MODIFICATION 모드와의 경계 명확화 (구체적 예시 추가)
|
||||
> **주요 변경:** 리포트 유효성 검증 추가 - 파일 수정 시 리포트 무효화
|
||||
|
||||
---
|
||||
|
||||
@@ -65,6 +65,98 @@ STARTED: 2026-01-20 15:30
|
||||
|
||||
---
|
||||
|
||||
## 📋 리포트 유효성 검증 (v2.4.0 신규)
|
||||
|
||||
> **참고:** `standards/report-management.md` 참조
|
||||
|
||||
### 🚨 필수: 리포트 읽기 전 유효성 체크
|
||||
|
||||
**문제:**
|
||||
```
|
||||
리포트 작성 후 파일이 수정되면 리포트가 과거 상태를 반영
|
||||
→ 잘못된 정보를 사용자에게 전달하는 심각한 오류!
|
||||
```
|
||||
|
||||
**해결:**
|
||||
```
|
||||
리포트 읽기 전 반드시 유효성 검증!
|
||||
```
|
||||
|
||||
### 검증 절차
|
||||
|
||||
**1단계: 리포트 날짜 확인**
|
||||
```bash
|
||||
# polish-batch-05.md에서 날짜 추출
|
||||
grep "시작\|완료" polish-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. 리포트 작성일 < 파일 최종 수정일
|
||||
|
||||
**사용자 보고 형식:**
|
||||
|
||||
✅ **리포트 유효:**
|
||||
```
|
||||
polish-batch-05.md 확인:
|
||||
- 작성일: 2026-01-21
|
||||
- 파일 수정: 2026-01-20 (리포트 이전)
|
||||
- 상태: ✅ 유효
|
||||
|
||||
배치 5 (ch-041~050): 이미 완료
|
||||
- 수정: 0건
|
||||
- 다음 배치로 진행
|
||||
```
|
||||
|
||||
❌ **리포트 무효:**
|
||||
```
|
||||
polish-batch-05.md 확인:
|
||||
- 작성일: 2026-01-21
|
||||
- 파일 수정: 2026-01-24 (리포트 이후!)
|
||||
- 상태: ❌ 무효
|
||||
|
||||
이유: ch-028~030 재배치로 파일 수정됨
|
||||
→ 배치 5 재검증 필요
|
||||
```
|
||||
|
||||
### 체크리스트
|
||||
|
||||
**모든 리포트 읽기 전:**
|
||||
- [ ] 리포트 파일 존재 확인
|
||||
- [ ] 리포트 작성 날짜 추출
|
||||
- [ ] 대상 파일 목록 확인 (RANGE 기준)
|
||||
- [ ] 각 파일 최종 수정 시간 확인
|
||||
- [ ] 리포트 날짜 < 파일 수정? → 무효
|
||||
- [ ] 무효 시: 사용자에게 명확히 보고 + 재검증
|
||||
- [ ] 유효 시: 리포트 내용 사용
|
||||
|
||||
---
|
||||
|
||||
## 📋 POLISH 모드 개요
|
||||
|
||||
**POLISH 모드는:**
|
||||
|
||||
Reference in New Issue
Block a user