Expand description
Unified Configuration Loader
This module handles loading configuration from the unified config file
at ~/.config/ralph-workflow.toml, with environment variable overrides.
§Configuration Priority
- Primary source:
~/.config/ralph-workflow.toml - Override layer: Environment variables (RALPH_*)
- CLI arguments: Final override (handled at CLI layer)
§Migration Support
For backwards compatibility, the loader also checks legacy config locations
(~/.config/ralph/agents.toml and .agent/agents.toml) and emits
deprecation warnings when they are used.
Functions§
- load_
config - Load configuration with the unified approach.
- load_
config_ from_ path - Load configuration from a specific path or the default location.
- load_
config_ from_ path_ with_ env - Load configuration from a specific path or the default location using a
ConfigEnvironment. - unified_
config_ exists - Check if the unified config file exists.