Configuration

Optional eridas.config.json in the project root. Missing config is fine — defaults apply. Never put secrets in the file.

Example

{
  "schemaVersion": 1,
  "severityThreshold": "low",
  "updatePolicy": {
    "allowMajor": false,
    "verificationCommands": ["npm test"]
  },
  "ai": {
    "enabled": false,
    "provider": "openai-compatible",
    "model": "your-model",
    "baseURL": "http://localhost:11434/v1"
  },
  "schedule": {
    "cron": "0 9 * * 1",
    "mode": "scan"
  }
}

Fields

FieldDefaultNotes
severityThresholdlowMinimum severity to report
updatePolicy.allowMajorfalseSame as --allow-major
updatePolicy.verificationCommands[]Shell commands after rescan
ai.enabledfalseOr pass --ai
ai.provideropenai-compatibleopenai, anthropic, google, openai-compatible
schedule.cron0 9 * * 1Used by eridas init
schedule.modescanscan or fix

AI credentials

Credentials come only from environment variables.

ProviderDefault env var
openaiOPENAI_API_KEY
anthropicANTHROPIC_API_KEY
googleGOOGLE_GENERATIVE_AI_API_KEY
openai-compatibleERIDAS_AI_API_KEY