Safety prompts recur across run_skill and transfer_task sub-sessions
Mantenedores costumam responder em até 1 dia
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 45/100
Direção de pesquisa
Start by tracing how run_skill classifies read-only operations and how safety approvals are scoped when transfer_task creates a child session; the issue does not name source files or tests. Reproduce the reported flow, confirm both behaviors from the source, then add a focused regression test for a read-only skill crossing the sub-session boundary while preserving write confirmations and safety hooks.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Problem
A prior session using Docker Agent dev build bbe70f53 observed repeated safety prompts across delegated work: 10/10 runs in the surviving log window prompted again. This report is about runtime safety-state/tool classification, not agent prompt design.
Working hypothesis from the observed behavior: launching a skill with run_skill does not mark its execution read-only, so the default safety mode prompts; an approve-autonomous decision appears scoped to the current sub-session, while transfer_task creates a new sub-session that prompts again. These details need source-level confirmation and a minimal reproduction by maintainers; the surviving observations alone do not establish the mechanism.
Reproduction to investigate
- In default safety mode, run a skill via
run_skillthat performs only read operations. - Observe whether the tool launch prompts for approval despite being read-only.
- Grant the applicable autonomous/safety approval in that session, then delegate via
transfer_taskto a child session that performs the same read-only operation. - Observe whether the new sub-session prompts again.
Reported observation: repeated prompts occurred in 10/10 runs visible in the surviving log window. This count is limited to that window and is not a broader rate estimate. No raw logs, private content, local paths, or credentials are attached.
Expected
Provide safe, explicit, least-privilege handling for read-only operations and/or scoped reuse of a user-granted safety policy across related sub-sessions, with clear visibility of scope. Preserve safety hooks and their enforcement. Reuse must not automatically authorize writes or bypass explicit confirmation for external, irreversible, or production-reaching writes.
Actual observation / uncertainty
Prompts recurred across skill/delegation runs. The proposed run_skill classification and per-sub-session approval scope are hypotheses, not independently verified source conclusions.
Environment / limitations
- Docker Agent dev build:
bbe70f53 - macOS arm64
- Prior-session observation; exact source revision and a standalone reproduction were not retained.
Please confirm the classification and approval-scope behavior, then add a focused regression test for a read-only skill crossing a transfer_task sub-session boundary.
- Linguagem predominante
- Go
- Estrelas
- 4.7k
- Forks
- 565
- Merge médio
- 18h 52min
- PRs com merge (30d)
- 221
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Sem 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 docker/docker-agent
-
edit_file diff rendering panics on invalid UTF-8 textTalvez já em andamento @TDnorthgarden assumiu hoje. Abertaarea/tui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
docker/docker-agent#4955 ·
Mantenedores costumam responder em até 1 dia
-
A setting to turn off the models.dev catalog download (offline and strict-network use)Talvez já em andamento @3431481073 assumiu há 19 dias. Abertaarea/config area/models
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
docker/docker-agent#4714 ·
Mantenedores costumam responder em até 1 dia
-
Error when trying to run sandbox example?Talvez livre de novo @dgageot assumiu há 28 dias e não há nenhum pull request aberto. Abertaarea/cli
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
docker/docker-agent#4672 · 1 comentário · 1 reação · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
`edit_file` silently edits the first match when `oldText` occurs more than onceTalvez já em andamento @dwin-gharibi assumiu há 103 dias. Abertaarea/tools
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
docker/docker-agent#3929 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
area/api area/runtime
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
docker/docker-agent#4951 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de docker/docker-agent
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
IBM-Cloud/terraform-provider-ibm#7115 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
fluxcd/notification-controller#1441 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
volcengine/volcengine-go-sdk#163 · 1 comentário ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
OneBusAway/maglev#2145 ·
Mantenedores costumam responder em até 2 dias
-
priority/medium status/ready type/chore
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
discobox-ai/discobox#1357 ·
Mantenedores costumam responder em até 1 dia