[Bug] Worktree directory context switches to main folder during task execution
Resolved 💬 3 comments Opened Mar 10, 2026 by HuySecurity Closed Mar 13, 2026
Bug Description
When you work in a worktree directory, it will occasionally go back to the main folder despite the task is related to the worktree directory instead
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.71
- Feedback ID: af5fe90f-f25b-4c9e-9411-bbcc2c09694c
Errors
[{"error":"Error\n at _p (/$bunfs/root/src/entrypoints/cli.js:82:1144)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:83:10015)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:85:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T01:23:23.163Z"},{"error":"Error: Request was aborted.\n at o0q (/$bunfs/root/src/entrypoints/cli.js:1125:67385)\n at next (native:1:11)\n at L29 (/$bunfs/root/src/entrypoints/cli.js:6204:6833)\n at next (native:1:11)\n at C29 (/$bunfs/root/src/entrypoints/cli.js:6209:9195)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T01:23:28.899Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/huynguyen/Fireflies/dashboard-ff.\n at call (/$bunfs/root/src/entrypoints/cli.js:1461:5976)\n at async pTA (/$bunfs/root/src/entrypoints/cli.js:3904:14884)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T02:06:25.814Z"},{"error":"Error: Request was aborted.\n at o0q (/$bunfs/root/src/entrypoints/cli.js:1125:67385)\n at next (native:1:11)\n at L29 (/$bunfs/root/src/entrypoints/cli.js:6204:6833)\n at next (native:1:11)\n at C29 (/$bunfs/root/src/entrypoints/cli.js:6209:9195)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T02:15:55.479Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at FQ$ (/$bunfs/root/src/entrypoints/cli.js:2601:2074)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T03:25:16.507Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at FQ$ (/$bunfs/root/src/entrypoints/cli.js:2601:2074)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T03:25:16.509Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:6764:2694)\n at async doExport (/$bunfs/root/src/entrypoints/cli.js:6764:1563)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T03:56:36.879Z"},{"error":"Error: {\"message\":\"Failed to export 1 events (code=ECONNABORTED, timeout of 10000ms exceeded)\",\"originalLine\":\"6764\",\"originalColumn\":\"1715\",\"line\":\"6764\",\"column\":\"1715\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Failed to export 1 events (code=ECONNABORTED, timeout of 10000ms exceeded)\\n at doExport (/$bunfs/root/src/entrypoints/cli.js:6764:1715)\\n at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n at error (/$bunfs/root/src/entrypoints/cli.js:2569:25030)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:109:79642)\n at DS4 (/$bunfs/root/src/entrypoints/cli.js:109:80186)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:110:17366)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T03:56:36.881Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at FQ$ (/$bunfs/root/src/entrypoints/cli.js:2601:2074)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T03:56:46.861Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at FQ$ (/$bunfs/root/src/entrypoints/cli.js:2601:2074)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T03:56:46.861Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:321:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T05:06:46.420Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/huynguyen/Fireflies/dashboard-ff.\n at call (/$bunfs/root/src/entrypoints/cli.js:1461:5976)\n at async pTA (/$bunfs/root/src/entrypoints/cli.js:3904:14884)\n at processTicksAndRejections (native:…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗