From c3dec1dcdae569f5a97149798db38a1d7beb216f Mon Sep 17 00:00:00 2001 From: Dev User Date: Sun, 8 Mar 2026 12:48:58 +0100 Subject: [PATCH] fix(file_tools): pass docker_volumes to sandbox container config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit file_tools.py creates its own Docker sandbox when read_file/search_files runs before any terminal command. The container_config was missing docker_volumes, so the sandbox had no user volume mounts — breaking access to heartbeat state, cron output, and all other mounted data. Matches the existing pattern in terminal_tool.py:872. Missed in original PR #158 (feat: add docker_volumes config). Co-Authored-By: Claude Opus 4.6 --- tools/file_tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/file_tools.py b/tools/file_tools.py index 5ba098bd..d11bac87 100644 --- a/tools/file_tools.py +++ b/tools/file_tools.py @@ -91,6 +91,7 @@ def _get_file_ops(task_id: str = "default") -> ShellFileOperations: "container_memory": config.get("container_memory", 5120), "container_disk": config.get("container_disk", 51200), "container_persistent": config.get("container_persistent", True), + "docker_volumes": config.get("docker_volumes", []), } terminal_env = _create_environment( env_type=env_type,