2bb07dd41a
Addresses review feedback to register signal handlers earlier in the lifecycle. Previously handlers were registered in start() after HTTP server initialization, leaving a vulnerability window. Benefits: - Signal handlers now active immediately after WorkerService construction - Protects against signals received during initialization (DB setup, HTTP server binding, background initialization) - Prevents orphaned chroma-mcp processes even if killed during startup - shutdown() method is defensive and safe to call at any stage This closes the gap where a SIGTERM/SIGINT during initializeBackground() could leave chroma-mcp subprocess running without cleanup. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>