From 9695fbb49736defcf486dd72a7bc1ad2176f4a03 Mon Sep 17 00:00:00 2001 From: "Rai (Michael Pokorny)" Date: Wed, 25 Jun 2025 04:55:47 -0700 Subject: [PATCH] wip --- .../tasks/{ => .done}/35-tui-inspect-env-integration.md | 0 agentydragon/tools/create_task_worktree.py | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename agentydragon/tasks/{ => .done}/35-tui-inspect-env-integration.md (100%) diff --git a/agentydragon/tasks/35-tui-inspect-env-integration.md b/agentydragon/tasks/.done/35-tui-inspect-env-integration.md similarity index 100% rename from agentydragon/tasks/35-tui-inspect-env-integration.md rename to agentydragon/tasks/.done/35-tui-inspect-env-integration.md diff --git a/agentydragon/tools/create_task_worktree.py b/agentydragon/tools/create_task_worktree.py index 6c660aefd8..699d815f8c 100644 --- a/agentydragon/tools/create_task_worktree.py +++ b/agentydragon/tools/create_task_worktree.py @@ -142,7 +142,8 @@ def main(agent, tmux_mode, interactive, shell_mode, skip_presubmit, task_inputs) if status and status.lower() == 'done': click.echo(f"Task {slug} marked Done; running Commit agent helper") commit_script = repo_root() / 'agentydragon' / 'tools' / 'launch_commit_agent.py' - run([sys.executable, str(commit_script), slug]) + # Launch commit agent from the main repo root, not inside the task worktree + run([sys.executable, str(commit_script), slug], cwd=str(repo_root())) else: click.echo(f"Task {slug} status is '{status or 'unknown'}'; skipping Commit agent helper")