fix: Auto-create sessions in worker when observations/summaries arrive
The worker was still returning 404 "Session not found" when trying to add observations or summaries. This happened if: - Worker restarted (sessions lost from memory) - Race condition where observations arrive before /init - Session continued after /exit Changes: - handleObservation: Auto-create session if not in memory map - handleSummarize: Auto-create session if not in memory map This completes the "no validation" philosophy: worker accepts any session_id and auto-creates the session state if needed. Saves ALL data without blockage. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user