Configuration

Configuration File

All settings live in a single YAML file:

Windows: %USERPROFILE%\.clausi\config.yml
macOS/Linux: ~/.clausi/config.yml

Configuration Structure

Typical structure:

openai_key: "sk-..."

report:
  company_name: "ACME Corp"
  company_logo: "C:/assets/logo.png"
  template:     "default"   # default | detailed | executive

regulations:
  default: EU-AIA            # default selection for scans

Configuration Commands

CommandPurpose
clausi config showDisplay current configuration
clausi config set [...]Update one or more fields
clausi config editOpen the YAML in $EDITOR / Notepad
clausi config pathPrint the config file location

Environment Variables

VariablePurpose
OPENAI_API_KEYOverrides openai_key from the YAML file
CLAUSI_OUTPUT_DIROverrides report.output_dir

Precedence: CLI flag → environment variable → config file → default.