Repository navigation
feat(sandbox): declarative isolation policy with a Linux bwrap driver (Refs #33) #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
574a77e
07b7fef
56c549b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -189,8 +189,7 @@ pub struct CodexSession { | |
| impl CodexSession { | ||
| async fn spawn(resolved: &ResolvedBackend, config: SessionConfig) -> Result<Arc<Self>> { | ||
| let env: HashMap<String, String> = resolved.env.iter().cloned().collect(); | ||
| let transport = | ||
| NdjsonTransport::spawn(&resolved.command, &resolved.args, &env, &config.cwd).await?; | ||
| let transport = resolved.spawn_ndjson(&resolved.args, &env, &config).await?; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 샌드박스가 Codex·OMP·Pi 모델 조회를 차단 모델 조회는 작업 디렉터리를 전달하지 않아 Codex·OMP·Pi가 Learn moreCodex 모델 조회와 OMP·Pi 모델 조회는 작업 디렉터리가 없으면 Example: bwrap을 사용하는 데몬에서 웹 UI의 에이전트를 Codex로 바꾸면 Recommended fix: 두 모델 조회 경로에서 실제로 존재하는 별도 임시 작업 디렉터리를 기본값으로 사용하고 조회가 끝나면 정리하세요. Was this helpful? React with 👍 or 👎 to provide feedback. |
||
|
|
||
| let (events, _) = broadcast::channel(512); | ||
| let session = Arc::new(Self { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔍 Linux CI가 실제 bwrap 실행을 검증하지 않음
변경 기록과 달리 Linux 의존성 설치 단계는 bubblewrap을 설치하지 않습니다. 테스트 가드는 드라이버가 없거나 네임스페이스를 만들 수 없으면 테스트를 건너뜁니다.
Was this helpful? React with 👍 or 👎 to provide feedback.