SessionStart hooks are triggered on every interaction instead of only once per session
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
Windows 11
Kiro Version
1.0.52
Bug Description
SessionStart hooks are being executed on every interaction/message within Kiro IDE, rather than only once when a new session starts.
Steps to Reproduce
- Configure a SessionStart hook.
- Start a new session in Kiro IDE.
- Send multiple messages or perform multiple interactions within the same session.
- Observe that the SessionStart hook is executed for each interaction.
Expected Behavior
SessionStart hooks should run only once when a session is initially created or started.
Conversation ID
sess_a9cf3ae8-6a78-49fe-b6cb-654286d00164
Additional Context
No response
🤖 Potential Duplicate Detected
This issue appears to be similar to:
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 report hook lifecycle problems where hooks are triggered more frequently than expected. Issue #7138 reports AgentSpawn hooks retrying on every tool call instead of once per agent spawn, while the new issue reports SessionStart hooks triggering on every interaction instead of once per session. Both share the same core problem: hooks not respecting their intended trigger scope/frequency.
Not a duplicate.
Issue #7138 is about AgentSpawn hooks being retried on every tool call after an agent has already been spawned.
This issue is specifically about SessionStart hooks being executed for every user interaction within the same session.
These are different hook types with different lifecycle boundaries:
- AgentSpawn should be triggered once per agent creation.
- SessionStart should be triggered once per session creation.
While both may appear as excessive hook executions, they occur at different lifecycle stages and may have different root causes in the hook orchestration logic.
This report is specifically focused on SessionStart behavior and its session-level lifecycle semantics, which are not covered by #7138.
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
Thanks for the detailed report and the Conversation ID.
This issue is resolved in IDE 1.0.89 (released Jul 3). That release includes a fix for exactly this behavior: "SessionStart hooks now trigger only on the first turn of a session" — previously they were running on every interaction, which is what you were seeing.
Please update to 1.0.89 (or later) and your SessionStart hook should now fire only once per session. To update: download from kiro.dev.
If you still see it firing on every interaction on 1.0.89+, let us know with your updated version and a fresh Conversation ID and we'll reopen.
This issue has been automatically closed due to inactivity. It has been 7 days since we requested additional information.
If you still need help with this issue, please feel free to reopen it or create a new issue with the requested details.