feat(daemon): EventLog ring model with read-flags

Add event_log.rs with EventLog (capped VecDeque, monotonic ids, mark_read,
snapshot/restore) and EventLogState. Register mod in main.rs. Stub
Cmd::EventLog and Cmd::MarkRead arms in server.rs to keep the exhaustive
match compiling; full wiring follows in Task 4.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 07:17:29 +07:00
parent 5a8596dd0b
commit 56ba1723b9
3 changed files with 224 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
mod event_log;
mod hooks;
mod launchd;
mod lifecycle;