Skip to content

Configuration

OpenWolf is configured via .wolf/config.json. All settings have sensible defaults -- you do not need to change anything for normal use.

Full Reference

json
{
  "version": 1,
  "openwolf": {
    "enabled": true,
    "anatomy": { ... },
    "token_audit": { ... },
    "cron": { ... },
    "memory": { ... },
    "cerebrum": { ... },
    "daemon": { ... },
    "dashboard": { ... },
    "designqc": { ... }
  }
}

anatomy

Controls the project file scanner.

KeyDefaultDescription
auto_scan_on_inittrueRun a full scan during openwolf init
rescan_interval_hours6How often the daemon rescans the project
max_description_length100Max characters for file descriptions
max_files500Stop scanning after this many files
exclude_patterns(see below)Directories and patterns to skip

Default exclude patterns:

json
[
  "node_modules", ".git", "dist", "build", ".wolf",
  ".next", ".nuxt", "coverage", "__pycache__", ".cache",
  "target", ".vscode", ".idea", ".turbo", ".vercel",
  ".netlify", ".output", "*.min.js", "*.min.css"
]

token_audit

Controls token estimation and waste detection.

KeyDefaultDescription
enabledtrueEnable token tracking
report_frequency"weekly"How often to generate waste reports
waste_threshold_percent15Alert when waste exceeds this percentage
chars_per_token_code3.5Character-to-token ratio for code files
chars_per_token_prose4.0Character-to-token ratio for prose files

cron

Controls the daemon's task scheduler.

KeyDefaultDescription
enabledtrueEnable cron tasks
max_retry_attempts3Times to retry a failed task before dead-lettering
dead_letter_enabledtrueMove exhausted tasks to dead letter queue
heartbeat_interval_minutes30Daemon health check frequency
use_claude_ptrueUse claude -p (subscription) for AI-powered tasks
api_key_envnullEnvironment variable name for API key override. When null, uses claude -p OAuth credentials

memory

Controls the action log.

KeyDefaultDescription
consolidation_after_days7Compress sessions older than this
max_entries_before_consolidation200Force consolidation at this count

cerebrum

Controls the learning memory.

KeyDefaultDescription
max_tokens2000Keep cerebrum.md under this token count
reflection_frequency"weekly"How often AI reviews and prunes cerebrum

daemon

Controls the background daemon process.

KeyDefaultDescription
port18790Daemon HTTP API port
log_level"info"Log verbosity: "debug", "info", "warn", "error"

dashboard

Controls the web dashboard.

KeyDefaultDescription
enabledtrueServe the dashboard
port18791Dashboard HTTP and WebSocket port

TIP

The dashboard port is also the daemon's HTTP server port for the web UI. Change this if 18791 conflicts with another service.

designqc

Controls the design QC screenshot capture system used by openwolf designqc.

KeyDefaultDescription
enabledtrueEnable design QC features
viewports[{desktop: 1440x900}, {mobile: 375x812}]Capture viewports. Each entry has name, width, and height
max_screenshots6Maximum screenshots per run
chrome_pathnullCustom Chrome or Edge executable path. Auto-detected if null

Default viewports:

json
[
  { "name": "desktop", "width": 1440, "height": 900 },
  { "name": "mobile", "width": 375, "height": 812 }
]

Set chrome_path if auto-detection fails or you want to use a specific browser installation:

json
{
  "designqc": {
    "chrome_path": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
  }
}

AGPL-3.0 · Made by Cytostack