Warden
beta · v2.14.0
beta · v2.14.0
Documentation

Engine Thresholds

Warden’s engines use configurable thresholds to control intervention timing and sensitivity. All thresholds have sensible defaults — configuration is optional.

Loopbreaker

Controls retry and thrash detection.

SettingDefaultDescription
loop_threshold3Consecutive similar commands before intervention
dedup_window5Turns to look back for duplicate detection
read_spiral_threshold5Consecutive reads without action before warning

Compass

Controls drift detection and checkpoint timing.

SettingDefaultDescription
drift_turns3Sustained drift turns before intervention
stale_milestone_turns15Turns without milestone before checkpoint

Focus

Controls working-set and scope governance.

SettingDefaultDescription
max_working_set15Files in active scope before warning
max_directories8Directories touched before sprawl warning

Dream

Controls background learning sensitivity.

SettingDefaultDescription
min_sessions_for_learning3Sessions before cross-session patterns activate

Oversight

Controls human supervision quality monitoring.

SettingDefaultDescription
enabledtrueEnable oversight quality tracking
fast_high_risk_approval_ms2500Milliseconds below which a high-risk approval is “fast”
fatigue_window_turns12Turns to look back for fatigue signals

All thresholds can be set in rules.toml under the appropriate section (e.g., [loopbreaker], [compass], [focus], [dream], [oversight]).