---
task_id: task-2514
type: checklist
scope: task
created: 2026-05-09
updated: 2026-05-09
status: completed
---

# 체크리스트: task-2514

**task**: task-2514

---

## Phase 1 — 사전 게이트 (다그다)

- [x] A. task 파일 / 5 모듈 / 회귀 테스트 위치 확인
- [x] B. worktree 생성 + origin/main 동기화
- [x] C. 3문서 작성 (plan / context-notes / checklist)
- [x] D. Codex G1 사전 검증 PASS (마아트 폴백)
- [x] E. 마아트 G1 독립 검증 PASS (codex_gate_check 폴백 결과)

## Phase 2 — wiring 구현 (루, 백엔드)

- [x] A. W1: 5 모듈 import wiring (try/except + pyright ignore + symbols re-export)
- [x] B. ExecutorContext 확장 (replacement_runner / triage_fn / smoke_envelope_fn / task_file 등 9 필드)
- [x] C. QueueDecision 5 신규 필드 추가 (pipeline_step / replacement_used / triage_summary / smoke_envelope / escalations)
- [x] D. W2: evaluate_pr() §4 분기에서 ReplacementPRRunner.execute() 호출 + 실패 시 escalation routing
- [x] E. W3: evaluate_pr() §7 분기에서 triage_pr() + to_legacy_gemini_state() + review_gate_passed 사용
- [x] F. W4: verify_head_lock_then_merge() §11에서 run_pm_smoke_v2() (envelope) 호출 + allow_continuation 신호 사용
- [x] G. W5: emit_critical_escalation() default reporter_hook으로 process_event() 호출 (LEGACY_CRITICAL_MAP 자동 매핑)
- [x] H. W6: recheck_following_prs() 결과 평가 후 Critical 7종 발견 시 emit_critical_escalation() 호출
- [x] I. W7: write_audit() 자동 직렬화로 5 신규 필드 모두 audit JSON에 기록
- [x] J. CLI main()에서 5 신규 필드 출력 + 기존 인터페이스 무수정

## Phase 3 — 회귀 테스트 (모리건, 테스터)

- [x] A. 정상 흐름 4건 (TC-N1~N4)
- [x] B. Critical 7종 escalation 7건 (TC-C1~C7)
- [x] C. 자동 처리 7항목 3건 (TC-A1~A3)
- [x] D. 14 케이스 + 보조 1건 PASS (15/15)

## Phase 4 — 통합 + 검증 (다그다)

- [x] A. 통합 후 pytest 회귀 PASS
- [x] B. 기존 회귀 보존 (test_merge_queue_executor_2509: 16, 2509p1: 12, automation_contracts: 14)
- [x] C. CLI dry-run 실행 결과 JSON 확인 (5 신규 필드 포함 — pipeline_step, replacement_used, triage_summary, smoke_envelope, escalations)
- [x] D. Pyright 진단 fix (reportMissingImports + reportOptionalCall + unused symbols)
- [ ] E. Gemini PR 리뷰 (G2 — PR 생성 후 자동)
- [ ] F. 마아트 독립 검증 (G3)
- [ ] G. G3 independent verifier PASS

## 검증

- [x] 테스트 통과 확인 (pytest 57/57 PASS = 16 + 12 + 14 + 15)
- [ ] QC 검증 완료 (qc_verify.py PASS — finish-task.sh 자동 실행 시점)
- [x] L1 스모크 (CLI dry-run 실제 실행 — 5 신규 필드 모두 출력 확인)
- [x] 최종 보고서 작성
