# Detects disabled metrics collection
# Corpus claim: cache/metrics/enabled required true
# Pattern: metrics_enabled: false
#
# Violation: metrics_enabled: false in config
# Correct: metrics_enabled: true
#
# Consequence: Cannot debug cache effectiveness in production, performance regressions invisible

[[extractors.declarative]]
name = "metrics_disabled"
description = "Detects metrics_enabled: false (prevents production debugging)"
languages = ["rust"]
pattern = 'metrics_enabled:\s*false'
claim.subject = "metrics/enabled"
claim.predicate = "required"
claim.value = false
confidence = 0.95
