Expand description
Core daemon state machine and runtime
This module contains the TLDRDaemon struct which manages:
- Daemon lifecycle state (Initializing -> Ready -> ShuttingDown)
- Salsa-style query cache
- Session statistics tracking
- Hook activity tracking
- Dirty file tracking for incremental re-indexing
§Security Mitigations
- TIGER-P2-02: Socket cleanup on abnormal exit via signal handlers
Structs§
- TLDR
Daemon - Main daemon process that handles client connections and manages state.
Functions§
- start_
daemon_ background - Start a daemon in the background for the given project.
- wait_
for_ daemon - Wait for a daemon to become ready by polling the socket.