Repository navigation
--allow-dir/--allow-file: workspace 안 절대 경로 허용, 밖이면 이유 표시 - #169
Merged
Merged
Conversation
절대 경로를 주면 이유 없이 configuration_mismatch로 끝나던 문제(사내 router 연결 시험에서 발견)를 고친다. workspace 안의 절대 경로는 canonicalize 후 상대 경로로 바꿔 기존 catalog에 넘기므로 digest·재개 호환성이 그대로다(상대 Run을 절대 경로로 재개해도 완료 재생 확인). workspace 밖·없는 경로는 configuration=allow_path_outside_workspace/allow_path_unresolvable과 recovery를 출력하고 모델 호출 전에 멈춘다. 공개 오류 code는 그대로다. run_command가 clippy 줄 수 한도를 넘어 executable catalog 안내를 helper로 옮겼다(동작 동일). 검증: 단위 테스트 3개 추가, workspace 835 passed, DeepSeek 실제 Run(절대 경로 완료·밖/없는 경로 거절·상대 경로 유지·절대 경로 재개), 모델 요청 비교 8/8 동일. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
문제
xgen run --allow-dir /abs/path가 아무 설명 없이XGEN_ERROR code=configuration_mismatch로 끝났다. 경로 catalog가 workspace 기준 상대 경로만 받기 때문이다. 사내 router 연결 시험에서 처음 걸렸다.변경
.,src)로 바꿔 넘긴다. catalog·digest 계약은 그대로라 상대/절대 표기가 섞인 Run과 재개가 같은 집합이 된다.configuration=allow_path_outside_workspace/allow_path_unresolvable,path=,recovery=를 출력하고 모델 호출 전에 멈춘다. 공개 오류 code(configuration_mismatch)는 유지.run_command가 clippy 줄 수 한도를 넘어 executable catalog 안내 출력을 helper로 옮겼다(출력 동일).검증
cargo test835 passed / 4 ignored, fmt·clippy 통과.--allow-dir완료(정답),/etc거절, 없는 파일 거절, 상대 경로 기존대로 완료, 상대 경로 Run을 절대 경로로 resume 시 완료 재생.scripts/diff-model-requests.pymain 대비 8/8model requests match.🤖 Generated with Claude Code