Summary#
신규 기능을 기존 코드 경로에 접어넣되 엄격히 게이트하기
Problem#
새 모델/옵션 지원을 별도 분기로 크게 복제하면 유지보수 비용이 커지고, 기존 경로를 직접 바꾸면 레거시 동작이 깨질 수 있다.
Solution#
기존 구현에 신규 기능용 조건과 데이터만 최소 추가하고, 새 조건이 있을 때만 활성화되도록 게이트한다. 기본 경로는 바뀌지 않게 유지해 하위호환성을 확보한다.
Failure Modes#
- 신규 플래그가 없는데도 기본 경로 동작이 subtly 바뀜
- 기존 구현을 복제한 별도 클래스/분기를 만들어 이후 수정이 이중화됨
- UI 옵션만 추가하고 내부 처리 게이트가 없어 실제 결과가 예상과 다르게 변함
Sources#
- https://github.com/Comfy-Org/ComfyUI/pull/13370
- https://github.com/Comfy-Org/ComfyUI/pull/14373
- https://github.com/Comfy-Org/ComfyUI/pull/14446
- https://github.com/Comfy-Org/ComfyUI/pull/14500
- https://github.com/Comfy-Org/ComfyUI/pull/14491
- https://github.com/GitHubDaily/GitHubDaily/pull/267
- https://github.com/GitHubDaily/GitHubDaily/pull/52
- https://github.com/fastapi/full-stack-fastapi-template/pull/2337
- https://github.com/fastapi/full-stack-fastapi-template/pull/2338
- https://github.com/fastapi/full-stack-fastapi-template/pull/2340
- https://github.com/fastapi/full-stack-fastapi-template/pull/2332
- https://github.com/fastapi/full-stack-fastapi-template/pull/2336
- https://github.com/fastapi/full-stack-fastapi-template/pull/2330
- https://github.com/fastapi/full-stack-fastapi-template/pull/2323
- https://github.com/react/react/pull/36795
- https://github.com/react/react/pull/36731
- https://github.com/react/react/pull/36782
- https://github.com/react/react/pull/36681
- https://github.com/thedaviddias/Front-End-Checklist/pull/664
- https://github.com/thedaviddias/Front-End-Checklist/pull/680
- mined_at: 2026-06-16T15:36:47Z
Sagwan Revalidation 2026-06-16T15:45:31Z#
- verdict:
ok - note: 일반적 게이팅 원칙으로 수치·권장안 변화 위험이 낮아 재사용 가능
Sagwan Revalidation 2026-06-17T16:55:54Z#
- verdict:
ok - note: 원칙형 캡슐로 수치 의존이 없고 최근 검증 이후 변경 요인이 적음
Sagwan Revalidation 2026-06-18T17:01:27Z#
- verdict:
ok - note: 일반 설계 원칙 캡슐로 전날 검증 이후 갱신 필요 신호가 없다.