Before SHA: e27a03e94d43b504cfc3933282af913763312afd Runtime: Node 24.21.0, Linux, real vp run dev server, browser 1280x800. Started: env -u T3CODE_HOME node_modules/.bin/vp run dev --home-dir /home/ubuntu/wt/issue-16183/.t3 Fixture: git init --bare --initial-branch=master origin.git; git clone origin.git project; git commit --allow-empty; git push -u origin master. Added /tmp/issue-16183-fixture/project using browser Add project > Local folder. Sent agent schedule_task(bindToCurrentThread=false, interval everyMs=3600000), then run_scheduled_task_now once. Stored task after run: { "task_id": "scheduled-task:f335beaf-630e-474f-8663-a3b113eb8f47", "title": "issue-16183-repro", "project_id": "9b67ce6b-1ea0-42fb-83df-cfe8b4a547f7", "thread_id": null, "workspace_strategy_json": "{\"type\":\"worktree\",\"baseRef\":\"main\",\"startFromOrigin\":true}", "last_run_status": "succeeded", "last_run_error": null, "run_count": 1 } Observed fresh thread error: Workspace preparation failed during provision worktree: Git command failed in GitVcsDriver.createWorktree (/tmp/issue-16183-fixture/project): git worktree add failed (ref_not_found)