W21 Background-First Plan

작성일: 2026-05-28 · 대상: 금월도 fresh canary 20260510, review.pdf, W20E7/W20F 결과

이 문서는 금월도 이미지 품질 개선을 배경 안정화부터 진행하기 위한 최종 순서와 수정 방향을 정리한다. 전체 연출 문제는 shot coverage, framing, acting, continuity까지 넓지만, 현재 가장 명확하고 좁게 고칠 수 있는 실패 축은 배경이다.

1. 결론

실행 순서는 배경 먼저가 맞다. 단, review.pdf가 드러낸 상위 문제인 director coverage와 shot sequencing을 폐기하지 않고, 배경 안정화 뒤 다음 wave로 넘긴다.

최종 순서: W21B-brief → W21B-wave-1 (cinematic BG tone + BG purity + reference audit) → W21B-wave-2 (surface_role + exterior plate) → W21B-wave-3 (same-space layout consistency) → 이후 W21A0 director coverage.

배경부터 가는 이유는 W20E7에서 외부 plate 감소, BG 내 손·팔·혈흔 누수, 같은 공간의 가구 invent, documentary-flat 톤 문제가 모두 직접 관찰됐고, 대부분 prompt/module 수준의 좁은 변경으로 실험 가능하기 때문이다.

단, S#1의 산 풍경 establishing 부재, S#5의 리모컨 액팅 오해, S#13의 시선 관계 실패는 배경만으로 해결되지 않는다. 이들은 배경 wave 이후 director coverage / framing wave에서 다룬다.

2. 관찰 근거

2.1 산출물 변화

자료 chain_bg floor_plan reference scene 해석
canary 20260510
02829fe8...
32 19 70 62 W20F6 hard filter 이전. 외부/전환 plate가 더 많이 살아 있음.
W20E7/W20F
4f948193...
12 11 39 50 W20F6 이후. 배경/도면 scope가 과도하게 줄어듦.

2.2 review.pdf가 요구한 배경/톤 기준

사람이 만든 target prompt는 Arri/Alexa, anamorphic lens, handheld, film grain, desaturated cinematic grade, genre-film reference를 반복적으로 사용한다. 현재 background prompt의 anti-stylization 방향은 이 목표와 충돌한다.

2.3 현재 코드/프롬프트 touchpoint

Touchpoint 현재 문제 방향
prompts/_base/background_prompt/7... documentary/real DSLR 중심. cinematic/color grading/film grain 회피. scene_segments verbatim 주입. BG v8에서 cinematic photoreal 허용, scene text는 geometry/state summary로 제한.
background_master_plan_step.py W20F6 scope filter가 indoor/shot_count 중심으로 exterior/deck/transition plate를 drop. surface_role 기반 eligibility. exterior_plate와 transition_zone 보존.
base_location_dossier.py anchor candidate와 transient marker가 BG purity를 흔들 수 있음. stable surface와 scene-state cue를 분리. BG 후보는 stable plate 중심.
shot_aware_bg_render_plan* style_reference_new_space가 같은 물리 공간에서도 가구/layout invent를 허용. same physical space와 related style space를 분리. 같은 공간은 layout-lock.
scene_generation_coordinator.py, prompt_service.py reference lineage와 attached ref 추적이 시각 QA에서 불충분할 수 있음. BG reference 사용 결과를 reference_image_ids와 manifest diagnostics에 남김.

3. 최종 수정 순서

순서 Wave 목표 이미지 비용 다음으로 넘길 것
0 W21B-brief review.pdf 기반 BG-first acceptance matrix 작성. 0 coverage/framing은 문서에 남기되 실행 제외.
1 W21B-wave-1 BG 한정 cinematic photoreal tone + BG purity + reference lineage/audit. 낮음. BG 중심 fresh canary. surface_role은 분리. global scene tone은 후속.
2 W21B-wave-2 surface_role과 exterior/transition plate 복구. master_plan output 확장. 중간. plate 수 증가. place_group schema는 보류.
3 W21B-wave-3 same-space layout consistency. unit graph 기반 deterministic mode router. 중간. L05/L09 재생성 필요. cross-shot continuity는 W21E.
4 W21D-small entity-type-aware reference contract. 사람/동물/사물 reference 포맷 분리. 낮음. reference 중심. W21B-wave-1 closure에 끼울지는 구현 직전 결정.
5 W21A0 director coverage / shot sequencing. establishing, detail, reveal 등. 첫 pass는 텍스트만. full image canary는 사용자 비용 승인 후.

4. Wave별 상세 방향

W21B-brief — BG-first acceptance matrix

W21B-wave-1 — BG tone, purity, and reference audit

첫 구현 wave는 BG prompt v8의 prose contract를 다룬다. tone과 purity는 같은 LLM output 안에서 동시에 작동하므로 한 wave로 묶는다. reference audit은 visual review 도구이므로 같은 closure에 포함한다.

BG cinematic photoreal tone

BG purity and layer boundary

Reference lineage and audit metadata

W21B-wave-2 — surface_role and exterior plate

W21B-wave-3 — same-space layout consistency

5. Acceptance 기준

W21B-wave-1의 cinematic tone 평가는 chain_bg/background plate PNG만 대상으로 한다. per-shot scene PNG의 cinematic tone은 W21A1 또는 별도 global tone wave의 acceptance이며, wave-1 평가에서 분리한다.

검증 축 통과 기준 실패 예
Exterior plate 옥상, 외부 계단, 마트 외부, 골목/deck 계열이 필요한 경우 1개 이상 plate가 생성된다. W20E7처럼 exterior plate 0개 또는 floor_plan 파일만 있고 DB row가 없는 상태.
BG purity BG plate에 사람/손/팔/얼굴/시신/혈흔/일시 prop이 보이지 않는다. 옥탑방 BG에 팔이 있어 scene shot이 1인칭 팔처럼 따라 그림.
Same-space consistency 같은 물리 공간의 derived BG가 냉장고/싱크대/창문/커튼 위치를 invent하지 않는다. 한 BG는 오른쪽 냉장고, 다른 BG는 같은 위치에 커튼처럼 바뀜.
Cinematic BG tone 실사 기반이면서 영화적 렌즈/색/질감이 살아 있다. documentary-flat이 아니다. matter-of-fact location photo처럼 밋밋하거나 쇼룸/CG처럼 과하게 깨끗함.
Reference audit BG/scene image가 어떤 reference를 썼는지 DB 또는 manifest에서 추적 가능하다. 이미지는 reference를 쓴 듯한데 reference_image_ids=[]로 남음.
남는 문제: S#1 establishing 추가, S#5 layered key shot 선택, S#13 시선 관계는 BG wave acceptance에 넣지 않는다. 이들은 W21A0/W21C에서 별도 판단한다.

6. Claude와 의논할 쟁점

  1. 합의: W21B-wave-1은 B0+B1+B4. tone/purity/audit를 묶는다.
  2. 합의: W21B-wave-2는 surface_role/exterior plate. background_master_plan output에서 직접 생성한다.
  3. 합의: BG purity 첫 wave는 prompt contract만. LLM/VLM semantic gate는 결과를 본 뒤 후속 판단한다.
  4. 합의: reference_image_ids/audit gap은 W21B-wave-1에 포함한다.
  5. 합의: B3 deterministic router는 W21B-wave-2의 surface_role을 coarse guard로 사용하므로 wave-2 이후에 진행한다.
  6. 남은 구현 판단: B3 deterministic router의 정확한 함수 위치와 checkpoint schema bump 범위.
  7. 남은 구현 판단: entity-type-aware reference contract(W21D-small)를 W21B-wave-1 closure에 끼울지 별도 wave로 둘지.

Codex 갱신 의견: Claude 피드백을 반영해 첫 실행 단위는 BG tone + BG purity + reference audit이다. surface_role은 다른 검증 surface이므로 다음 wave로 분리한다.