Skip to main content

Module config

Module config 

Source

Structs§

AiConfig
ClassifierConfig
The optional System One classifier (Jev / TypeSafe), on a separate axis from the generative LLM. Off by default: opt-in strict, since Jev is a proprietary SaaS and slopguard’s deterministic AST mode stays the offline socle.
Config
EscalationConfig
Severity escalation: when one rule fires repeatedly in a single file, its warnings become errors. Opt-in so existing CI results do not change.
OutputConfig
RulesConfig
RulesetsConfig
ScanConfig

Enums§

AiTransport
Transport used to reach the LLM.
AiVendor
Vendor used when provider = "api".
ClassifierTransport
How the System One classifier (Jev) reaches the TypeSafe API.
ConfigError
OutputFormat

Functions§

load_config
Load configuration with hierarchical resolution.
load_config_file
Load configuration from a single file, skipping hierarchical resolution.
load_config_from
Load config with explicit paths (for testing).