You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Instruction initialization blocked by unavailable sources: core/instructions #52290
I have got this error: timestamp=2026-09-30T12:34:04.600Z level=ERROR run=832fe376 message="Failed to drain Session" cause="Instructions.InitializationBlocked: Instruction initialization blocked by unavailable sources: core/instructions\n at PE (B:/~BUN/root/chunk-8q8zmjz7.js:30:43130)\n at <anonymous> (B:/~BUN/root/chunk-8q8zmjz7.js:32:2899)\n at InstructionState.observe (B:/~BUN/root/chunk-8q8zmjz7.js:32:1283)\n at InstructionState.observe (definition) (B:/~BUN/root/chunk-8q8zmjz7.js:32:421)\n at InstructionState.prepare (B:/~BUN/root/chunk-k5d05r05.js:382:2611)\n at InstructionState.prepare (definition) (B:/~BUN/root/chunk-8q8zmjz7.js:32:1212)\n at SessionRunner.prepareContext (B:/~BUN/root/chunk-k5d05r05.js:382:2186)\n at SessionRunner.prepareContext (definition) (B:/~BUN/root/chunk-k5d05r05.js:382:2526)\n at SessionRunner.advanceToStep (B:/~BUN/root/chunk-k5d05r05.js:382:2448)\n at SessionRunner.advanceToStep (definition) (B:/~BUN/root/chunk-k5d05r05.js:382:728)\n at SessionRunner.drain (B:/~BUN/root/chunk-gw30emge.js:24:2279)\n at SessionRunner.drain (definition) (B:/~BUN/root/chunk-k5d05r05.js:382:352)" role=server sessionID=ses_f0db137d6ffeQVjzTQQ7swqruP
Note: I do not have any kind of disc B. This error occurs when I run the first promt in the context of the old project in plan mode. The empty folder works fine.
Thanks for the report! I think this is a duplicate of #52874. On Windows, if a git project is opened with a drive letter cased differently from the one git reports (e.g. c:\project vs C:\project), the search for AGENTS.md overflowed the stack. Instructions then became unavailable and every prompt failed with this exact error. That fits what you saw: only git projects are affected, so your old project fails and an empty folder works.
This was fixed in #53349, which first shipped in v2.0.24. You're on 2.0.20, so please upgrade (npm install -g @opencode/cli@latest) and try again.
Possible duplicates and related issues, ordered by likelihood:
By the way, the B:/~BUN/... paths in the stack trace are Bun's internal paths for the bundled binary, not a real drive, so you can ignore them.
The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different, for example if it still happens on the latest version.
Closing this as a duplicate of #52874, since there hasn't been a reply in the last day. The core/instructions initialization error on Windows git projects comes from a drive-letter case mismatch. It was fixed in #53349, which first shipped in v2.0.24. Please upgrade with npm install -g @opencode/cli@latest.
If it still happens on the latest version, please comment here with your version and the log output and we can reopen it. Thanks for the report!
Activity
github-actions commentedon Sep 30, 2026
This issue might be a duplicate of existing issues. Please check:
Instruction initialization blocked by unavailable sources: core/instructionserror on Windows.opencodejr commentedon Oct 28, 2026
Thanks for the report! I think this is a duplicate of #52874. On Windows, if a git project is opened with a drive letter cased differently from the one git reports (e.g.
c:\projectvsC:\project), the search forAGENTS.mdoverflowed the stack. Instructions then became unavailable and every prompt failed with this exact error. That fits what you saw: only git projects are affected, so your old project fails and an empty folder works.This was fixed in #53349, which first shipped in v2.0.24. You're on 2.0.20, so please upgrade (
npm install -g @opencode/cli@latest) and try again.Possible duplicates and related issues, ordered by likelihood:
core/instructionsagents.mdin a parent directory causes the same error (fixed in v2.0.22)By the way, the
B:/~BUN/...paths in the stack trace are Bun's internal paths for the bundled binary, not a real drive, so you can ignore them.The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different, for example if it still happens on the latest version.
opencodejr commentedon Oct 29, 2026
Closing this as a duplicate of #52874, since there hasn't been a reply in the last day. The
core/instructionsinitialization error on Windows git projects comes from a drive-letter case mismatch. It was fixed in #53349, which first shipped in v2.0.24. Please upgrade withnpm install -g @opencode/cli@latest.If it still happens on the latest version, please comment here with your version and the log output and we can reopen it. Thanks for the report!