Repository navigation
신뢰 모드에서 사용자 shell을 실행 파일 catalog에 자동으로 넣었다 (ADR-0060) - #111
Merged
Merged
Conversation
REPL catalog는 개발 도구 25종 고정 목록이라 df, ps, curl, find 같은 개인 작업 명령과 파이프를 쓸 수 없었다. /allow-executable bash=/bin/bash로 넣으면 모델이 스스로 bash -c로 3개 작업을 모두 끝냈고, 막힌 것은 매번 직접 등록해야 하는 점뿐이었다. - --trust session은 SHELL(bash/zsh/sh) 또는 PATH의 bash->zsh->sh(Windows는 pwsh->powershell)를 catalog에 더하고 시작 화면에 catalog를 보여 준다. 신뢰 모드가 아니면 그대로다. - adapter는 ADR-0028대로 shell 없이 argv 실행, 실행 파일 재검증·timeout·출력 상한·no-replay 유지. 실사용(deepseek, --trust, 수동 등록 없음): 한 session 4개 요청 중 3개 정확(디스크·메모리, 디렉터리 148개, 메모리 상위 프로세스), curl 요청 1회 invocation_invalid 거절, 새 session 반복 5/5 성공. cargo test --workspace 735 통과, clippy 통과. 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 --trustsession은 사용자 shell(SHELL의 bash/zsh/sh, 없으면 PATH의 bash→zsh→sh, Windows는 pwsh→powershell)을 catalog에 더한다. 모델이bash -c로 파이프와 catalog에 없는 명령(df, ps, curl, find 등)을 실행할 수 있다./allow-executable유지)변경 분류: 범용 catalog 정책.
검증
--trust시작 화면 catalog에 shellcargo test --workspace735 passed, clippy·fmt 통과, Windows 분기 때문에 브랜치 전체 matrix 실행🤖 Generated with Claude Code