Real T3 server proof: head ebb601a439d51698139468850f3838048a54c3f3 Seed: one commit on main; bare origin; origin/HEAD -> origin/main; remote-only exists only on origin. Seed: multi/ contains two repositories and is itself outside Git; probe/ is on unborn HEAD; source/ has no remotes. Fresh server ready on loopback; OpenCode 2.4.3, anthropic/claude-haiku-5-5, full-access. $ t3 project add fixture/demo Added project c277c706-28e9-4c5a-9137-9f46604cedea (Unborn HEAD proof) at /proof/server/fixture/demo. $ t3 project add fixture/multi Added project dd0103ef-5c91-4c93-9a83-9a879f69e031 (Non-Git root proof) at /proof/server/fixture/multi. It also covers 2 other folders. $ t3 thread start --provider opencode --model anthropic/claude-haiku-5-5 --worktree main --branch feature-proof fixture/demo --wait --json Prompt: Run git checkout --orphan fresh-start using the bash tool. Then use the task tool to start exactly one general subagent with prompt: Reply with the single word done. Do not commit or rename branches afterwards. Use native task, not any T3 delegate or thread tools. {"threadId":"mcp:dbb0af77-295c-430e-a760-3012d6a9265c","runId":"run:thread:mcp%3Adbb0af77-295c-430e-a760-3012d6a9265c:ordinal:1","status":"completed","reply":"The subagent finished and replied \"done,\" so both steps are complete. The `fresh-start` orphan branch is checked out, and nothing has been committed or renamed.","error":null} $ t3 thread start --provider opencode --model anthropic/claude-haiku-5-5 --worktree main --branch multi-proof fixture/multi --wait --json Prompt: Use the native task tool to start exactly one general subagent with prompt: Reply with the single word done. Do not use any T3 delegation tools. Do not change any files or branches. {"threadId":"mcp:163133bd-67a1-4a2a-8564-0ddf3661ada0","runId":"run:thread:mcp%3A163133bd-67a1-4a2a-8564-0ddf3661ada0:ordinal:1","status":"completed","reply":"The subagent finished and replied \"done,\" as requested.","error":null} $ t3 thread start --provider opencode --model anthropic/claude-haiku-5-5 --worktree remote-only --branch remote-proof fixture/demo --wait --json Prompt: Reply with the single word done. Do not run tools. {"threadId":"mcp:82f5f052-3fe3-4fae-b013-0ea6a28ffe98","runId":"run:thread:mcp%3A82f5f052-3fe3-4fae-b013-0ea6a28ffe98:ordinal:1","status":"completed","reply":"done","error":null} $ live WebSocket vcs.createWorktree: unborn @, missing refs/heads/missing, missing branch with no remote, remote-only fallback {"phase":"request","label":"unborn-at","input":{"cwd":"/proof/server/fixture/probe","refName":"origin/main","newRefName":"probe-unborn-at","baseRefName":"@","path":null}} {"phase":"response","label":"unborn-at","result":{"_id":"Result","_tag":"Success","success":{"worktree":{"path":"/proof/server/worktrees/probe/probe-unborn-at-478e90dfcd071cac","refName":"probe-unborn-at"}}}} {"phase":"request","label":"missing-full-ref","input":{"cwd":"/proof/server/fixture/probe","refName":"origin/main","newRefName":"probe-missing-full-ref","baseRefName":"refs/heads/missing","path":null}} {"phase":"response","label":"missing-full-ref","result":{"_id":"Result","_tag":"Success","success":{"worktree":{"path":"/proof/server/worktrees/probe/probe-missing-full-ref-54b7930222862246","refName":"probe-missing-full-ref"}}}} {"phase":"request","label":"no-remote-miss","input":{"cwd":"/proof/server/fixture/source","refName":"main","newRefName":"probe-no-remote-miss","baseRefName":"missing","path":null}} {"phase":"response","label":"no-remote-miss","result":{"_id":"Result","_tag":"Success","success":{"worktree":{"path":"/proof/server/worktrees/source/probe-no-remote-miss-85572953b88e7130","refName":"probe-no-remote-miss"}}}} {"phase":"request","label":"remote-only","input":{"cwd":"/proof/server/fixture/probe","refName":"origin/main","newRefName":"probe-remote-only","baseRefName":"remote-only","path":null}} {"phase":"response","label":"remote-only","result":{"_id":"Result","_tag":"Success","success":{"worktree":{"path":"/proof/server/worktrees/probe/probe-remote-only-47b1059b3324e0bd","refName":"probe-remote-only"}}}} $ git config --get branch.probe-remote-only.t3-merge-base (RPC remote fallback) remote-only $ git config --get branch.probe-remote-only.t3-merge-base-ref refs/remotes/origin/remote-only $ git config --get branch.remote-proof.t3-merge-base remote-only $ git config --get branch.remote-proof.t3-merge-base-ref refs/remotes/origin/remote-only $ inspect persisted native-child branch events (all creation and metadata events) {"sequence": 38, "type": "thread.created", "threadId": "thread:subagent:c88dbf3d1bdcb2da", "branch": "feature-proof", "worktreePath": "/proof/server/worktrees/demo/feature-proof-fd7925ab46f78be8"} {"sequence": 86, "type": "thread.metadata-updated", "threadId": "thread:subagent:c88dbf3d1bdcb2da", "branch": "fresh-start", "worktreePath": "/proof/server/worktrees/demo/feature-proof-fd7925ab46f78be8"} {"sequence": 119, "type": "thread.created", "threadId": "thread:subagent:c7cfd0113b737334", "branch": "multi-proof", "worktreePath": "/proof/server/worktrees/multi/multi-proof-e62ab99141a6032a"} $ inspect resolveBranchBase span subtrees; runGitCommand is one real Git subprocess {"spanId": "a3dcb5a50f1c5206", "traceId": "eb26ef30e3ba3efe41daa27940839d44", "cwd": "/proof/server/fixture/demo", "gitProcesses": 2, "operations": [{"name": "GitVcsDriver.resolveBranchName.resolveRef", "exit": {"_tag": "Success"}}, {"name": "GitVcsDriver.listRemoteNames", "exit": {"_tag": "Success"}}]} {"spanId": "cd1fb05a37da5449", "traceId": "992fb6959784516cba932d87a25a8f02", "cwd": "/proof/server/worktrees/demo/feature-proof-fd7925ab46f78be8", "gitProcesses": 1, "operations": [{"name": "GitVcsDriver.resolveBranchName.resolveRef", "exit": {"_tag": "Success"}}]} {"spanId": "ae743595d50ca5e7", "traceId": "71420e0e9ebd1110b748be63e081a195", "cwd": "/proof/server/fixture/multi/one", "gitProcesses": 2, "operations": [{"name": "GitVcsDriver.resolveBranchName.resolveRef", "exit": {"_tag": "Success"}}, {"name": "GitVcsDriver.listRemoteNames", "exit": {"_tag": "Success"}}]} {"spanId": "488f90eaef520e7f", "traceId": "71420e0e9ebd1110b748be63e081a195", "cwd": "/proof/server/fixture/multi/two", "gitProcesses": 2, "operations": [{"name": "GitVcsDriver.resolveBranchName.resolveRef", "exit": {"_tag": "Success"}}, {"name": "GitVcsDriver.listRemoteNames", "exit": {"_tag": "Success"}}]} {"spanId": "ca12093d4ff987ac", "traceId": "ca1d91acd11ad5476a940d35c4cd6851", "cwd": "/proof/server/worktrees/multi/multi-proof-e62ab99141a6032a", "gitProcesses": 1, "operations": [{"name": "GitVcsDriver.resolveBranchName.resolveRef", "exit": {"_tag": "Success"}}]} {"spanId": "3cfc04e11454d5bf", "traceId": "f985caa85ffde7a39d816091e0441344", "cwd": "/proof/server/fixture/demo", "gitProcesses": 2, "operations": [{"name": "GitVcsDriver.resolveBranchName.resolveRef", "exit": {"_tag": "Success"}}, {"name": "GitVcsDriver.listRemoteNames", "exit": {"_tag": "Success"}}]} {"spanId": "1dc1b267fd281a82", "traceId": "232e68828aebcb6d1cb99059d95fd444", "cwd": "/proof/server/fixture/probe", "gitProcesses": 1, "operations": [{"name": "GitVcsDriver.resolveBranchName.resolveRef", "exit": {"_tag": "Success"}}]} {"spanId": "9a9a345da0d2025e", "traceId": "acb7a2e5c943daf99ff864cbe071a3ec", "cwd": "/proof/server/fixture/probe", "gitProcesses": 1, "operations": [{"name": "GitVcsDriver.resolveBranchName.resolveRef", "exit": {"_tag": "Success"}}]} {"spanId": "347dc0799e938c99", "traceId": "12eed517909ed28d89f593e89a94f4c5", "cwd": "/proof/server/fixture/source", "gitProcesses": 3, "operations": [{"name": "GitVcsDriver.resolveBranchName.resolveRef", "exit": {"_tag": "Success"}}, {"name": "resolvePrimaryRemoteName", "exit": {"_tag": "Success"}}, {"name": "GitVcsDriver.resolveRepositoryPaths.layout", "exit": {"_tag": "Success"}}, {"name": "GitVcsDriver.statusDetails.primaryRemoteExists", "exit": {"_tag": "Success"}}]} {"spanId": "ac64eee9b642a42e", "traceId": "e00780a3844ad2260506d7be4910e48f", "cwd": "/proof/server/fixture/probe", "gitProcesses": 3, "operations": [{"name": "GitVcsDriver.resolveBranchName.resolveRef", "exit": {"_tag": "Success"}}, {"name": "resolvePrimaryRemoteName", "exit": {"_tag": "Success"}}, {"name": "GitVcsDriver.remoteExists", "exit": {"_tag": "Success"}}, {"name": "GitVcsDriver.remoteBranchExists", "exit": {"_tag": "Success"}}]} Server stopped. Complete raw SQLite and NDJSON trace retained for inspection. No tests used.