Skip to content

Reset saved thread on startup/clear SessionStart#18

Merged
koichiro merged 1 commit intomainfrom
suppot-sessionstart-source-clear
Apr 18, 2026
Merged

Reset saved thread on startup/clear SessionStart#18
koichiro merged 1 commit intomainfrom
suppot-sessionstart-source-clear

Conversation

@koichiro
Copy link
Copy Markdown
Owner

When a SessionStart event has source 'startup' or 'clear', clear the saved Slack thread for that session. Add SESSION_RESET_SOURCES and a reset_thread_on_session_start? helper, and call @store.clear_thread(session_id) in handle_session_start. Update README to document the startup/clear/resume semantics, add tests for startup/clear/resume behaviors, and adjust .gitignore to ignore the .session file.

When a SessionStart event has source 'startup' or 'clear', clear the saved Slack thread for that session. Add SESSION_RESET_SOURCES and a reset_thread_on_session_start? helper, and call @store.clear_thread(session_id) in handle_session_start. Update README to document the startup/clear/resume semantics, add tests for startup/clear/resume behaviors, and adjust .gitignore to ignore the .session file.
@koichiro koichiro merged commit 8798120 into main Apr 18, 2026
4 checks passed
@koichiro koichiro deleted the suppot-sessionstart-source-clear branch April 18, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant