Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Context Retention Issue Across Conversation Sessions in Kiro

Open sanjit16882 opened this issue 1 year ago • 1 comments

Before opening, please confirm:

Operating System

win32

Kiro Version

0.3.9

Bug Description

I’ve noticed that when a conversation session runs for a long time and then ends, starting a new session causes Kiro to lose awareness of the previous context or conversation history. As a result, it sometimes provides incorrect responses or repeats outputs that were already achieved earlier. You may need to explicitly prompt it to revisit the existing code base before resuming the conversation. I’ve observed this issue twice.

Steps to Reproduce

  1. Start a new conversation session with Kiro.
  2. Provide detailed context — for example, upload a code base or discuss an ongoing PoC/hackathon project.
  3. Continue the conversation for an extended duration (e.g., 30–60 minutes) or until the session automatically ends.
  4. Once the session times out or terminates, start a new conversation session.
  5. In the new session, refer to the previous topic or project (e.g., ask Kiro to resume work or continue from where it left off).
  6. Observe the response.

Expected Behavior

When a session ends and a new one starts, Kiro should be able to reload relevant context or project history (e.g., previously shared code, architecture, or requirements) from a persistent memory or saved workspace.

It should not “forget” prior discussions or previously achieved outputs.

State Awareness

Kiro should recognize when a conversation continues an existing topic and summarize the previous progress automatically (e.g., “Last time we finalized the Lambda workflow—shall we continue with integration tests?”).

Consistent Output

It should not regenerate or duplicate results that were already completed in earlier sessions.

Instead, it should build on existing work (for example, by improving, extending, or verifying previously generated code).

Automatic Context Check or Prompting

If Kiro detects a new session with missing context, it should prompt the user to re-sync:

“I see this may be a continuation of a previous discussion. Would you like me to reload your last project context before we continue?”

Persistent Workspace Awareness

For code-related projects, it should reference the saved code base or files linked to the project before resuming conversation or changes.

Conversation ID

e1a468ca-2557-40e8-b03e-ef32eb0fd589 18c6e1c8-c63c-483d-ad8f-17d1dcc0a23a b9cab0e4-44fe-4f60-bc43-f02448512f30 f6dce85c-9a68-44d8-a7af-800250eaef84 4368e28c-dc0e-4354-812d-6ce4ad669495

Additional Context

No response

sanjit16882 avatar Oct 08 '25 04:10 sanjit16882

Hey @sanjit16882,Thank you for reporting this issue. We are already tracking this behavior in issue https://github.com/kirodotdev/Kiro/issues/401 regarding session length and compaction. I will mark this as a duplicate of that issue.

AnilMaktala avatar Oct 10 '25 19:10 AnilMaktala