Repository navigation
fix: preserve ancestor outputs across repeated resume - #3
Merged
Merged
Conversation
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.
문제
완료한 작업을 변경 없이 재사용한 뒤 입력을 바꾸고 다시 재개하면, 재실행 작업의 쓰기 경로가 최초 실행 폴더에 남을 수 있었습니다. 정상 CLI 순서로 이 경로에 새 결과를 작성하면 과거 승인 산출물이 덮어써졌고, 완료 검사도 통과했습니다.
원인은 resume이 직전 실행의 경로만 변환하고, 재사용된 결과가 속한 더 이전 실행을 처리하지 않는 데 있었습니다.
변경 내용
검증
기준 커밋:
79b82281d305c89181fbb216499d5f1e962c14edgit diff --check통과.재현 도구는 관찰 결과를 출력합니다. JSON의
original_output_unchanged를 확인하거나 회귀 테스트를 사용해야 합니다.검증 요약과 재현 방법
남은 제약
추가 실행 간 경계 검사 2개는 여전히 실패하며, 97개 통과 수에 포함하지 않았습니다.
현재 기대 관찰 결과는 2개 실패, 종료 코드 1입니다. 이 PR은 해당 실행 간 조정 문제를 해결하지 않습니다.
이전 실행 계보가 없거나 손상되면 새 재개를 거부합니다. 임의의 에이전트 쓰기, 외부 프로세스의 파일 변경, 허위 검사 증거까지 차단하지는 않습니다. 검사는 Linux/Python 3.12.14에서 수행했으며 모의 에이전트 ID를 사용했습니다. Windows·macOS·실제 Codex CLI 실행 및 모델 성능·생산성 효과는 이번에 검증하지 않았습니다.