Conversation
There was a problem hiding this comment.
Code Review
이번 풀 리퀘스트는 브랜치 조합(Branch Pair)에 대한 AI 예측 기능(확정 conflict 해결 및 clean overlap 예방)을 추가하는 변경사항을 담고 있습니다. 이를 위해 전용 프롬프트 빌더, 시스템 프롬프트 템플릿, 응답 검증기(Validator) 및 실행기(Runner)가 새롭게 구현되었습니다. 리뷰어 피드백으로는 AI가 응답 생성 시 브랜치 이름의 순서를 임의로 변경하여 검증에 실패하는 문제를 방지하기 위해 시스템 프롬프트에 순서 보존 지침을 명시할 것과, LLM 응답 문자열의 불필요한 공백으로 인한 매칭 실패를 방지하기 위해 stringFor 함수에서 trim()을 적용하도록 개선할 것을 제안했습니다.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 연관된 이슈
🎯 의도
confirmed conflict에서는 원인과 구체적인 patch를,clean overlap에서는 merge 또는 rebase 순서와 예방 조치를 제안하도록 응답 계약 분리📝 작업 내용
📌 요약
AiConfirmedConflictResponse와AiCleanOverlapResponse전용 타입 추가predicted또는failed결과 반환 경로 추가src/index.ts에 공개🔍 상세
confirmed conflictprompt에서 제공된 코드 문맥에 기반한 conflict 원인, merge 또는 rebase 순서, 파일별 patch 제안을 요구하도록 구성clean overlapprompt에서 현재 merge 상태를 확정 conflict로 표현하지 못하도록 제한하고 예방 조치만 제안하도록 구성responseShape와 OpenAI JSON schema를 적용하고 정의되지 않은 필드를 허용하지 않도록 구성kind, 작업 순서 branch, 원인 및 제안 파일을 요청 evidence와 대조하도록 validator 구성failed결과로 격리하도록 구성src/workflows/mergeRiskWatch.ts, report, Discord, debug artifact 동작 유지📸 영상 / 이미지 (Optional)
해당 없음