Skip to main content

Module daemon

Module daemon 

Source
Expand description

Daemon: background log-watcher that bridges closed systems to the knowledge layer.

Design: §九 — daemon does NOT open the knowledge database directly. All knowledge-layer actions go through the CLI binary (subprocess). Daemon state (offsets, inode, processed events) lives in daemon_state.sqlite only.

Platform: Linux (fork + /proc). Non-Linux: return an informative error.

Enums§

DaemonCommands

Functions§

is_running
Returns true if a daemon process recorded in pid_file is currently alive.
run_watch_loop
start
status
stop