Context limit exceeded unexpectedly. Please start a new session to continue.
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
win32
Kiro Version
0.7.0
Bug Description
Any entered prompt results in this response then new sessions open repeatedly.
Steps to Reproduce
Enter "hello" into prompt,
Expected Behavior
Kiro should have not forked to a new session on initial prompt in session.
Conversation ID
4efd63ca-73b8-4cb7-9bd4-a676817147ef a141fd4a-6e59-40a7-9fbc-2891bf0efe26 f78b987c-7278-40f6-b0c8-6bcae756d1cc 60a18f23-d935-4731-bf23-a3968668ac0f df2bd50c-324e-4778-8aec-283bb0a26f78
Additional Context
Hey there! 👋
I can see you have a workspace with a few folders and you're currently looking at a tasks file for an "explorer-agent" spec. How can I help you today?
Conversation above has been summarized The conversation in this session is about to reach the agent context limit. I'm summarizing earlier messages, and only the summary will be sent to the agent as context instead of the full text.
Same problem, it's being happening for while
I tried logging out and in as well as clearing all sessions, but no luck.
It appears clearing the IDE cache in "C:\Users<user>\AppData\Roaming\Kiro\Cache" fixes the problem. You'll need to re-orient Kiro on your project before continuing.
Deleting the cache files fixed the problem also in MacOS. The files are in the /Users/<user>/Library/Application Support/Kiro/Cache folder.
Deleting cache didnt work on Version: 0.7.21. Deleting the Application Support/Kiro folder seems to have helped.
VSCode Version: 1.103.2 Commit: f04d3961f29089a60ae5f765e191d1df964f83aa Date: 2025-12-06T00:34:20.803Z Electron: 37.10.2 ElectronBuildId: undefined Chromium: 138.0.7204.251 Node.js: 22.21.1 V8: 13.8.258.32-electron.0 OS: Darwin arm64 25.1.0
same problem
even GODA kiro TT unable to solve
Deleting /Users/<user>/Library/Application Support/Kiro/Cache did not fix the issue for me, nor did deleting /Users/<user>/Library/Application Support/Kiro/
Version: 0.7.45 VSCode Version: 1.103.2 Commit: 78a30f91b91a608d8b45ced6c35cb4ff899f1e3f Date: 2025-12-10T22:51:17.566Z Electron: 37.10.2 ElectronBuildId: undefined Chromium: 138.0.7204.251 Node.js: 22.21.1 V8: 13.8.258.32-electron.0 OS: Darwin arm64 25.2.0
You may need to reduce the number of .md files or rules in your .kiro/steering/ directory. Make sure to minimize what you include for Kiro to read, since that seems to be causing the issue.
Same here, also deleting the cache doesn't help. I do not have many .md files in the project.
Same here, also deleting the cache doesn't help. I do not have many .md files in the project.
In my case, I transferred some .md files under .kiro/steering or .kiro into other directories that, by default, are not read whenever a prompt is executed. After doing that, I no longer encountered the problem.
Same for me, deleting the kiro folder does not help. My current project has no steering files. This makes kiro unusable.
I reverted to a previous checkpoint. After that I did not encounter the problem again until now.
I updated to 0.8.0 this morning. No change in behaviour.
same problem
I'm using "Auto" for model selection.
Version: 0.8.0 VSCode Version: 1.103.2 Commit: ff5b0b54a4bf5780b759a0cf91b16350f8f1fd95 Date: 2025-12-18T23:32:09.358Z (3 days ago) Electron: 37.10.2 ElectronBuildId: undefined Chromium: 138.0.7204.251 Node.js: 22.21.1 V8: 13.8.258.32-electron.0 OS: Darwin arm64 25.2.0
Same problem, complete unable to use Kiro
Version: 0.8.0 VSCode Version: 1.103.2 Commit: ff5b0b54a4bf5780b759a0cf91b16350f8f1fd95 Date: 2025-12-18T23:32:09.358Z Electron: 37.10.2 ElectronBuildId: undefined Chromium: 138.0.7204.251 Node.js: 22.21.1 V8: 13.8.258.32-electron.0 OS: Darwin arm64 24.3.0
I'm not sure that this is the cause, but I tried to set a lower value of the "Terminal › Integrated: Scrollback" and it seems the problem happening less frequently. ( I was suspecting it was ingesting the entire terminal scroll when Kiro run commands. )
I need to add, that this only happens with one of my projects so far. Changing "Terminal › Integrated: Scrollback" from 1000 (default) to 500 did not change behaviour.
I'm running into this as well. I hit it a couple days ago, then it randomly started working again. I hit it again last night. I found DMP files in C:\Users\<USER>\AppData\Roaming\Kiro\Crashpad\reports. I'm not sure what information would be helpful here. This stands out to me as a potential starting point:
Key : Failure.Bucket
Value: CPP_EXCEPTION_e06d7363_conpty.node!Unknown
Key : Failure.Exception.Code
Value: 0xe06d7363
It looks like a C++ exception goes unhandled. I'm not familiar with these files or how to read them, so I'm not sure if this is a Kiro thing or a "me" thing and what may be sensitive information in these files (let alone if they're helpful at all).
how to solve that?
Hi, it's basically big file size and big data size issues
Pls reduce both from workspace
And use power shell to avoid kiro read all files.
I have solved it Rgds, Amit
On Sun, 28 Dec, 2025, 3:25 pm Ma Yukai, @.***> wrote:
keep-me left a comment (kirodotdev/Kiro#4181) https://github.com/kirodotdev/Kiro/issues/4181#issuecomment-3694617155
how to solve that?
— Reply to this email directly, view it on GitHub https://github.com/kirodotdev/Kiro/issues/4181#issuecomment-3694617155, or unsubscribe https://github.com/notifications/unsubscribe-auth/B2QKYVEQ3MP7DA7EG6236HL4D6SK5AVCNFSM6AAAAACN53EUWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMOJUGYYTOMJVGU . You are receiving this because you commented.Message ID: @.***>