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§
Functions§
- health
- Read-only daemon health for
inspect().operational.daemon(design doc §5.1). - is_
running - Returns
trueif a daemon process recorded inpid_fileis currently alive. - run_
watch_ loop - start
- status
- stop