diff --git a/vibn-agent-runner/src/agent-session-runner.ts b/vibn-agent-runner/src/agent-session-runner.ts index cbae5b3..390f59e 100644 --- a/vibn-agent-runner/src/agent-session-runner.ts +++ b/vibn-agent-runner/src/agent-session-runner.ts @@ -150,7 +150,7 @@ async function autoCommitAndDeploy( const commitMsg = `agent: ${task.slice(0, 72)}`; const msgFile = require("path").join( - opts.workspaceRoot, + opts.repoRoot || process.cwd(), ".git", "COMMIT_EDITMSG", );