Expand description
§PAI Startup & Configuration (Component #6)
Per PHASE1-TZ-001 Section 9 — config file parsing + CLI definitions.
Parses pai-kernel.toml, provides defaults, validates structure.
CLI argument parsing uses clap (in the binary crate); this library
provides the config model and loader.
Structs§
- Drift
Config - Kernel
Config - Top-level configuration per Section 9.1.
- Logging
Config - Policy
Config - Server
Config - Storage
Config
Enums§
- CliCommand
- CLI command enum (mirrors Section 9.2).
- Config
Error
Functions§
- parse_
cli_ args - Parse CLI arguments (simple parser, clap-compatible interface).