F / E — labelled BEFORE and AFTER, real Git and production driver BEFORE F/E runtime transcript; 2026-11-10T10:24:42.602Z { "revision": "bcee0f5d2872ba193c66ed9ba979bbe424f89ff9", "fixture": "/tmp/lead-32905-r1/evidence-capture-1/local-only-repo", "branch": "feature", "remotes": "", "aheadOfMain": "1" } { "row": "F", "operation": "fetchRefCommit", "outerExit": "Failure", "error": "GitCommandError: Git command failed in GitVcsDriver.resolvePrimaryRemoteName (/tmp/lead-32905-r1/evidence-capture-1/local-only-repo): No git remote is configured for this repository.\n at file:///home/user/wt/pr-32905-before/apps/server/src/vcs/GitVcsDriverCore.ts:1756:19\n at resolvePrimaryRemoteName (file:///home/user/wt/pr-32905-before/apps/server/src/vcs/GitVcsDriverCore.ts:4507:31)\n at resolvePrimaryRemoteName (definition) (file:///home/user/wt/pr-32905-before/apps/server/src/vcs/GitVcsDriverCore.ts:1747:43)\n at GitVcsDriver.fetchRefCommit (file:///tmp/lead-32905-r1/evidence-capture-1/harness.mjs:22:31)\n at GitVcsDriver.fetchRefCommit (definition) (file:///home/user/wt/pr-32905-before/apps/server/src/vcs/GitVcsDriverCore.ts:4504:89)", "spans": [ { "name": "GitVcsDriver.fetchRefCommit", "exit": "Failure" }, { "name": "resolvePrimaryRemoteName", "exit": "Failure" }, { "name": "GitVcsDriver.remoteExists", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriver.listRemoteNames", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" } ], "failedSpans": [ "GitVcsDriver.fetchRefCommit", "resolvePrimaryRemoteName" ] } { "row": "F", "operation": "fetchRefIntoBranch", "outerExit": "Failure", "error": "GitCommandError: Git command failed in GitVcsDriver.resolvePrimaryRemoteName (/tmp/lead-32905-r1/evidence-capture-1/local-only-repo): No git remote is configured for this repository.\n at file:///home/user/wt/pr-32905-before/apps/server/src/vcs/GitVcsDriverCore.ts:1756:19\n at resolvePrimaryRemoteName (file:///home/user/wt/pr-32905-before/apps/server/src/vcs/GitVcsDriverCore.ts:4474:31)\n at resolvePrimaryRemoteName (definition) (file:///home/user/wt/pr-32905-before/apps/server/src/vcs/GitVcsDriverCore.ts:1747:43)\n at GitVcsDriver.fetchRefIntoBranch (file:///home/user/wt/pr-32905-before/apps/server/src/vcs/GitVcsDriverCore.ts:5148:57)\n at GitVcsDriver.fetchRefIntoBranch (definition) (file:///home/user/wt/pr-32905-before/apps/server/src/vcs/GitVcsDriverCore.ts:4471:97)", "spans": [ { "name": "GitVcsDriver.fetchRefIntoBranch", "exit": "Failure" }, { "name": "resolvePrimaryRemoteName", "exit": "Failure" }, { "name": "GitVcsDriver.remoteExists", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriver.listRemoteNames", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "invalidateListRefsSnapshot", "exit": "Success" }, { "name": "resolveRepositoryPathsUncached", "exit": "Success" }, { "name": "readGitCommonDir", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.commonDir", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "readWorktreeRoot", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.worktreeRoot", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.currentBranch", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriverCore.invalidateStatusStaticCaches", "exit": "Success" }, { "name": "resolveRepositoryPathsUncached", "exit": "Success" }, { "name": "readGitCommonDir", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.commonDir", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "readWorktreeRoot", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.worktreeRoot", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.currentBranch", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" } ], "failedSpans": [ "GitVcsDriver.fetchRefIntoBranch", "resolvePrimaryRemoteName" ] } { "row": "E", "operation": "public resolver on real non-repository directory", "outerExit": "Failure", "error": "GitCommandError: Git command failed in GitVcsDriver.listRemoteNames (/tmp/lead-32905-r1/evidence-capture-1/non-repository): Git command exited with a non-zero status. (not_a_repository)\n at file:///home/user/wt/pr-32905-before/apps/server/src/vcs/GitVcsDriverCore.ts:1182:11\n at resolvePrimaryRemoteName (file:///tmp/lead-32905-r1/evidence-capture-1/harness.mjs:24:65)\n at resolvePrimaryRemoteName (definition) (file:///home/user/wt/pr-32905-before/apps/server/src/vcs/GitVcsDriverCore.ts:1747:43)", "spans": [ { "name": "resolvePrimaryRemoteName", "exit": "Failure" }, { "name": "GitVcsDriver.remoteExists", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriver.listRemoteNames", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" } ], "failedSpans": [ "resolvePrimaryRemoteName" ] } E raw command: git -C /tmp/lead-32905-r1/evidence-capture-1/non-repository remote { "exitCode": 128, "stderr": "fatal: not a git repository (or any of the parent directories): .git" } AI-assisted; verified with the tests and tools listed above. AFTER F/E runtime transcript; 2026-11-10T10:30:19.464Z { "revision": "3d4b2607cdb18e74f7db35a9059d0315606932fe", "fixture": "/tmp/lead-32905-r1/evidence-capture-1/local-only-repo", "branch": "feature", "remotes": "", "aheadOfMain": "1" } { "row": "F", "operation": "fetchRefCommit", "outerExit": "Failure", "error": "GitCommandError: Git command failed in GitVcsDriver.resolvePrimaryRemoteName (/tmp/lead-32905-r1/evidence-capture-1/local-only-repo): No git remote is configured for this repository.\n at file:///home/user/wt/pr-32905/apps/server/src/vcs/GitVcsDriverCore.ts:1762:11\n at file:///home/user/wt/pr-32905/node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/internal/effect.js:1395:160\n at file:///home/user/wt/pr-32905/node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/internal/effect.js:2394:126\n at GitVcsDriver.fetchRefCommit (file:///tmp/lead-32905-r1/evidence-capture-1/harness.mjs:22:31)\n at GitVcsDriver.fetchRefCommit (definition) (file:///home/user/wt/pr-32905/apps/server/src/vcs/GitVcsDriverCore.ts:4511:89)", "spans": [ { "name": "GitVcsDriver.fetchRefCommit", "exit": "Failure" }, { "name": "resolvePrimaryRemoteName", "exit": "Success" }, { "name": "GitVcsDriver.remoteExists", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriver.listRemoteNames", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" } ], "failedSpans": [ "GitVcsDriver.fetchRefCommit" ] } { "row": "F", "operation": "fetchRefIntoBranch", "outerExit": "Failure", "error": "GitCommandError: Git command failed in GitVcsDriver.resolvePrimaryRemoteName (/tmp/lead-32905-r1/evidence-capture-1/local-only-repo): No git remote is configured for this repository.\n at file:///home/user/wt/pr-32905/apps/server/src/vcs/GitVcsDriverCore.ts:1762:11\n at file:///home/user/wt/pr-32905/node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/internal/effect.js:1395:160\n at file:///home/user/wt/pr-32905/node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/internal/effect.js:2394:126\n at GitVcsDriver.fetchRefIntoBranch (file:///home/user/wt/pr-32905/apps/server/src/vcs/GitVcsDriverCore.ts:5155:57)\n at GitVcsDriver.fetchRefIntoBranch (definition) (file:///home/user/wt/pr-32905/apps/server/src/vcs/GitVcsDriverCore.ts:4478:97)", "spans": [ { "name": "GitVcsDriver.fetchRefIntoBranch", "exit": "Failure" }, { "name": "resolvePrimaryRemoteName", "exit": "Success" }, { "name": "GitVcsDriver.remoteExists", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriver.listRemoteNames", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "invalidateListRefsSnapshot", "exit": "Success" }, { "name": "resolveRepositoryPathsUncached", "exit": "Success" }, { "name": "readGitCommonDir", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.commonDir", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "readWorktreeRoot", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.worktreeRoot", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.currentBranch", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriverCore.invalidateStatusStaticCaches", "exit": "Success" }, { "name": "resolveRepositoryPathsUncached", "exit": "Success" }, { "name": "readGitCommonDir", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.commonDir", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "readWorktreeRoot", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.worktreeRoot", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriver.resolveRepositoryPaths.currentBranch", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" } ], "failedSpans": [ "GitVcsDriver.fetchRefIntoBranch" ] } { "row": "E", "operation": "public resolver on real non-repository directory", "outerExit": "Failure", "error": "GitCommandError: Git command failed in GitVcsDriver.listRemoteNames (/tmp/lead-32905-r1/evidence-capture-1/non-repository): Git command exited with a non-zero status. (not_a_repository)\n at file:///home/user/wt/pr-32905/apps/server/src/vcs/GitVcsDriverCore.ts:1182:11\n at resolvePrimaryRemoteName (file:///home/user/wt/pr-32905/apps/server/src/vcs/GitVcsDriverCore.ts:1758:5)\n at resolvePrimaryRemoteName (definition) (file:///home/user/wt/pr-32905/apps/server/src/vcs/GitVcsDriverCore.ts:1749:40)", "spans": [ { "name": "resolvePrimaryRemoteName", "exit": "Failure" }, { "name": "GitVcsDriver.remoteExists", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" }, { "name": "GitVcsDriver.listRemoteNames", "exit": "Success" }, { "name": "runGitCommand", "exit": "Success" } ], "failedSpans": [ "resolvePrimaryRemoteName" ] } E raw command: git -C /tmp/lead-32905-r1/evidence-capture-1/non-repository remote { "exitCode": 128, "stderr": "fatal: not a git repository (or any of the parent directories): .git" } AI-assisted; verified with the tests and tools listed above.