Skip to content

External Vim fails to launch when editing a plan in sandbox mode #3873

Description

@aheritier

Problem

When docker-agent is running in sandbox mode, directly editing a plan fails to launch the user's external Vim editor.

Context

Franck reported this while using the plan editor in sandbox mode. This issue is specifically about the external editor not starting; keyboard/input behavior in the Vim session is tracked separately.

Image

Requested details

Please provide:

  • docker-agent version/commit and installation method
  • OS and terminal emulator
  • the exact command/configuration used to start sandbox mode
  • how the plan was opened for direct editing
  • Vim/editor configuration and relevant environment variables (for example EDITOR/VISUAL)
  • the complete error text and, if possible, a screenshot or reproducible recording
  • whether Vim launches outside sandbox mode and whether another editor works in sandbox mode

Expected behavior

Direct plan editing should launch the configured external Vim editor while sandbox mode is enabled.

Metadata

Metadata

Assignees

Labels

area/runtimeRuntime engine, agent loop execution, tool dispatch, loop detectionarea/tuiFor features/issues/fixes related to the TUIstatus/needs-triageFor issues that need to be triaged

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions