Configuration
Config File
Section titled “Config File”certify init creates .certification/config.yml:
# Certify — Configurationmode: advisory
scope: include: [] exclude: - "vendor/**" - "node_modules/**" - "dist/**" - "build/**" - "testdata/**" - "**/*_test.go" - "**/*.test.ts" - "**/*.spec.ts"
agent: enabled: false
expiry: default_window_days: 90 min_window_days: 7 max_window_days: 365
issues: enabled: falseSections
Section titled “Sections”| Value | Behavior |
|---|---|
advisory | Reports results but does not block. Default. |
enforcing | Can block PRs and fail CI on certification failures. |
Controls which files are included in certification.
include— Glob patterns to include. Empty means everything.exclude— Glob patterns to exclude. Matched files are skipped during discovery.
Optional LLM-assisted review. Any OpenAI-compatible endpoint works. See Agent-Assisted Review.
# OpenAI exampleagent: enabled: true provider: type: openai-compatible base_url: https://api.openai.com/v1 api_key_env: OPENAI_API_KEY models: prescreen: gpt-4o-mini review: gpt-4o-mini scoring: gpt-4o-mini rate_limit: requests_per_minute: 20 retry_max: 3# OpenRouter exampleagent: enabled: true provider: type: openai-compatible base_url: https://openrouter.ai/api/v1 api_key_env: OPENROUTER_API_KEY models: prescreen: qwen/qwen3-coder:free review: qwen/qwen3-coder:free fallback: mistralai/mistral-nemo# Local Ollama exampleagent: enabled: true provider: type: openai-compatible base_url: http://localhost:11434/v1 models: prescreen: qwen3-coder review: qwen3-coderexpiry
Section titled “expiry”Controls certification window duration.
| Field | Default | Description |
|---|---|---|
default_window_days | 90 | Standard certification window |
min_window_days | 7 | Minimum window (high-risk code) |
max_window_days | 365 | Maximum window (stable code) |
Risk factors automatically adjust the window — high-churn code gets shorter windows.
issues
Section titled “issues”GitHub issue integration for remediation tracking.
issues: enabled: trueWhen enabled, failing certifications create GitHub issues via the gh CLI.
Validating Your Config
Section titled “Validating Your Config”Run the built-in diagnostics to check your configuration:
certify doctorThis validates your config.yml syntax, checks expiry settings, verifies agent provider configuration (API keys, base URL, model), validates all policy packs, and confirms tools and providers are available.
See Doctor & Onboard → for details.