Repository navigation
FEAT: 고친 뒤 관련 테스트로 확인하고 실패하면 다시 고치기 - #81
Merged
Merged
Conversation
에이전트가 파일을 고치고 끝내려 할 때, 바뀐 줄의 영향 반경이 찾은 테스트 파일(직접 고친 테스트 포함)만 골라 돌림. 명령은 프로젝트를 보고 고르거나(vitest·jest·pytest·go·cargo·maven·gradle·dotnet) agent.test_command로 정하고, 실행은 명령 승인 규칙을 따름. 실패하면 출력 끝부분을 모델에 돌려줘 두 번까지 다시 고치게 하고, 같은 실패가 반복되면 멈춤. 앞에서 실패한 테스트는 되돌려 고쳐 바뀐 줄이 없어져도 계속 돌림. 쓰기·실행이 되는 에이전트와 신뢰한 폴더에서만, agent.verify_tests로 끌 수 있음.
채팅에 테스트 확인을 '관련 테스트로 확인' 도구 카드로 보이고, 설정의 에이전트 항목에 켜기·끄기와 테스트 명령을 넣음. Closes #77
일부러 틀리게 고치면 관련 테스트가 실패하고, 그 출력을 받은 에이전트가 다시 고쳐 두 번째 확인이 통과하는지 확인함.
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.
무엇
에이전트가 파일을 고치고 끝내려 할 때, Lantern이 영향 반경이 찾은 관련 테스트만 골라 돌림. 실패하면 출력을 모델에 돌려줘 다시 고치게 함.
[agent] test_command = "... {files}"확인
Closes #77