<codefidence/>

Configuration

codefidence is configured through a single TOML file at .wiki/config.toml. All settings have sensible defaults, so you only need to configure what you want to change.

Configuration File

The config file is created automatically when you run codefidence init. Here is a full example with all available options:

.wiki/config.toml
# .wiki/config.toml

# Number of days before a memory item is considered stale
staleness_days = 30

# Automatically index new files when scanning
auto_index = true

# Output language for CLI messages and generated content
# Supported: "en", "fr"
language = "en"

Options Reference

staleness_days

Type Integer
Default 30
Description Number of days after the last update before a memory item is flagged as stale by the validate command. Stale items are candidates for review: they may still be accurate, or they may need updating.

Set a shorter value (e.g., 14) for fast-moving codebases, or a longer one (e.g., 90) for stable projects where the code does not change often.

auto_index

Type Boolean
Default true
Description When enabled, new files discovered during scans are automatically added to the domain index. Disable this if you want full manual control over which files are tracked.

language

Type String
Default "en"
Supported "en", "fr"
Description Language for CLI output messages and generated content (domain note scaffolding, candidate descriptions). Memory item titles and bodies are always written in whatever language you choose.

Example Configurations

Fast-moving startup

.wiki/config.toml
staleness_days = 14
auto_index = true
language = "en"

Stable enterprise project

.wiki/config.toml
staleness_days = 90
auto_index = false
language = "en"

French-speaking team

.wiki/config.toml
staleness_days = 30
auto_index = true
language = "fr"