Skip to main content

Module config

Module config 

Source
Expand description

Runtime configuration. Compiled defaults (Config::base), overlaid by an optional user file (~/.config/ski/config.toml, see FileConfig) loaded through Config::load. The file is the escape hatch: silence a noisy skill with deny, pin rerank_min, widen max_skills, etc. without a rebuild.

Structs§

Config
FileConfig
User overrides parsed from ~/.config/ski/config.toml. Every field is optional; an absent field — or an absent/malformed file — leaves the compiled default untouched. Parsing fails open: a malformed file yields an empty overlay (all defaults) rather than an error, so a bad config can never block injection. Unknown keys are ignored (a typo drops one field, not the file).

Enums§

InjectMode
How a matched skill is delivered to the model.
Strength
Forcefulness of a directive-mode injection.