TODO list state from previous sessions bleeds into new chat conversations
Bug: TODO list state from previous sessions bleeds into new conversations
Description
When starting a new kiro-cli chat session, the TODO list from a previous session (potentially from a completely different agent or conversation) gets loaded and injected as context. This causes the AI to receive stale task context it never worked on, leading to confused responses and wasted tokens.
Steps to Reproduce
- Start a kiro-cli chat session and create a TODO list for task A (e.g. investigating a sidebar bug)
- End that session
- Start a new kiro-cli chat session for a completely different task B (e.g. fixing deploy errors)
- The TODO list from session 1 (task A) appears in the context of session 2
Expected Behavior
A new chat session should start with a clean TODO list state. Previous session TODO lists should not be injected as context unless explicitly loaded by the user.
Actual Behavior
The TODO list from the previous session is automatically loaded and injected as a CONTEXT ENTRY at the top of every message. The AI then references tasks, context, and details from the old session that have nothing to do with the current conversation.
In my case, I started a session to fix TypeScript deploy errors, but the AI received a TODO list about "investigating sidebar visibility" and "planning opencode orchestration" from a prior session — topics I never mentioned.
Impact
- Context pollution: The AI wastes its context window on irrelevant task history
- Confused responses: The AI references work from other sessions as if it happened in the current one
- Token waste: Stale context entries consume tokens on every message
Suggested Fix
- Scope TODO lists to the session that created them
- Don't auto-load TODO lists from previous sessions into new conversations
- Or at minimum, provide a way to clear/dismiss inherited TODO lists (e.g.
/todo clear)
Environment
- kiro-cli (latest as of 2026-03-08)
- macOS
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #6060: Phantom steering files loaded from stale workspace index (85% similar)
- #4133: AI Model selection is incorrectly shared across multiple windows (Global State Issue) (85% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both issues describe stale data from previous sessions bleeding into new sessions - one with phantom steering files from workspace index, the other with TODO lists from previous chat sessions. Same core problem of session state persistence causing context pollution.
Thank you for your feedback! 🙏
The 👎 reaction has been noted. The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
yes, this is really annoying
We're doing a periodic backlog review and noticed this issue has been inactive for several months. Kiro has shipped a lot of changes since this was filed — we're now on IDE 1.0.293 and CLI 2.18.0 — and without any community uptake, we can't confidently prioritize it.
Closing to keep the backlog focused, but not as a dismissal. If you're still seeing this or others share the same experience, a new issue with your current version and any updated details would help us pick it back up. Issues with 👍 reactions from the community rise to the top fastest.