Agents: run an agent inside a container sandbox
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 30/100
Direção de pesquisa
No files are named, so start from where an agent preset is defined and where the agent CLI is spawned for a terminal tab, since container mode changes that launch step. Read the existing runtime rules referenced under 'Proposed behavior' before touching any Docker/Podman calls, then trace how agent state hooks reach Atlas. Done means the three acceptance criteria hold in tests: an in-container agent cannot read outside the worktree, hooks still fire, and a missing container runtime produces a clear error, with the image and requirements documented.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Problem
Running agents with auto-approve on the host is risky (they can touch anything in HOME). Users want auto-approve speed with a blast radius limited to the worktree.
Evidence
From research on parallel-agent desktops and worktree tools, this is a recurring user request:
A recurring request across agent-workspace and parallel-agent tools, with high upvote counts in their public trackers. Public examples: https://github.com/stravu/crystal/issues/178 (run without --dangerously-skip-permissions); https://github.com/winfunc/opcode advertises sandboxed background agents.
Proposed behavior
- Per-agent-preset option Sandbox: none | container. Container mode runs the agent CLI in Docker/Podman/OrbStack with only the worktree mounted rw, agent config mounted ro, and network policy (on/off/allowlist).
- The terminal/agent tab works the same (PTY via
docker exec -it); hooks still reach Atlas. - Never restarts or tears down the docker daemon (keeps the existing runtime rules).
Acceptance criteria
- An agent in container mode cannot read files outside the worktree (test).
- Agent state hooks work from inside the container.
- Documented with the image/requirements; clear error when no container runtime is present.
- Linguagem predominante
- Rust
- Estrelas
- 3
- Forks
- 1
- Merge médio
- 8h 45min
- PRs com merge (30d)
- 351
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de codeatlasdev/atlas
-
os: linux type: bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
codeatlasdev/atlas#591 ·
Mantenedores costumam responder em até 1 dia
-
crew: one-click GitHub App setup (manifest flow, prefilled), pick which orgs/repos it can accessAbertaarea: desktop status: needs-triage type: feature
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
codeatlasdev/atlas#528 ·
Mantenedores costumam responder em até 1 dia
-
area: desktop status: needs-triage type: feature
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
codeatlasdev/atlas#527 ·
Mantenedores costumam responder em até 1 dia
-
ci: Rust (Windows) job intermittently lost the runner after 50 min (8 times since 2026-11-15)Abertaarea: ci os: windows type: bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
codeatlasdev/atlas#520 · 31 comentários ·
Mantenedores costumam responder em até 1 dia
-
Selection bench: main-thread stall p95 13 ms over its 8 ms budget on macOS (never held there)Talvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertaarea: desktop os: macos type: bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
codeatlasdev/atlas#452 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de codeatlasdev/atlas
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Mantenedores costumam responder em até 5 dias
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
marketing
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
5 advisory ignore entries no longer match anything in `Cargo.lock`Talvez já em andamento @zyl71 assumiu hoje. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100