From dbc296ac33ead57c789eb23181abe26bb979def8 Mon Sep 17 00:00:00 2001 From: Fabro Date: Mon, 16 Mar 2026 05:39:25 +0000 Subject: [PATCH] fabro(01KKTJBSEZAZZVXSX4Q8AH1XM2): solve (success) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fabro-Run: 01KKTJBSEZAZZVXSX4Q8AH1XM2 Fabro-Completed: 3 Fabro-Checkpoint: 7c9710149d4c31554d624c7ea43a23bcbf846529 ⚒️ Generated with [Fabro](https://fabro.sh) --- docs/execution/run-configuration.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/execution/run-configuration.mdx b/docs/execution/run-configuration.mdx index 27c330da9..66833115c 100644 --- a/docs/execution/run-configuration.mdx +++ b/docs/execution/run-configuration.mdx @@ -141,6 +141,17 @@ timeout_ms = 60000 Each command must exit with status 0. If any command fails or times out, the run aborts before the workflow starts. +#### Cloning into the current directory + +When cloning a repository into the current directory (`.`), the initial `git clone .` will fail if the directory is not empty. Use a fallback to pull on subsequent runs: + +```toml title="run.toml" +[setup] +commands = ["git clone https://github.com/example/repo . || (cd . && git pull)", "pip install -e ."] +``` + +This pattern handles both initial setup (first clone) and re-runs (pull latest), avoiding "destination path already exists" errors. + ### `[sandbox]` Configure how agent tools (bash, file edits) are executed.