Expand description
Shared defaults, low-level constants, and configuration loading for the SysKnife workspace.
Modules§
- action_
family - Canonical mapping of action names to the distro family they require.
- config
~/.config/sysknife/config.toml— optional user configuration file.- distro
- Distro detection — Phase 2a.
Enums§
- Audit
Store Choice - Which audit store a CLI-side reader (
sysknife audit verify, MCP doctor) should open.
Constants§
- PRODUCTION_
DATABASE_ PATH - Production SQLite path written by the systemd unit (
sysknife-daemon.service).
Functions§
- choose_
audit_ store - Pure selection rule behind
resolve_audit_store, split out so the precedence is testable without touching the filesystem or the environment. - default_
database_ path - Resolve the daemon SQLite database path for the current process.
- default_
listen_ uri - Resolve the daemon listen URI for the current process.
- path_
is_ present - Whether an audit-store path should count as present for selection.
- resolve_
audit_ store - Resolve the audit store for this process against the real environment and filesystem.