# .yolorc — YOLO project configuration
# Generated by `yolo init`. Commit this file so the whole team shares the same guardrails.
#
# Entropy weights control how aggressively YOLO auto-approves edits.
# D = depth of change  P = pace  R = reach (files touched)  V = volatility (git dirty ratio)
# All four values must sum to 1.0.
entropy_weights:
  D: 0.30
  P: 0.30
  R: 0.25
  V: 0.15

# Extend the built-in safe-Bash allow-list with project-specific commands.
rule_overrides:
  allow_safe_bash:
    command_prefixes_extra:
      - "cargo test"
      - "cargo clippy"
      - "cargo build --release"
      - "gh"
    entropy_ceiling: 0.70

# Define additional project-specific rules (uncomment and edit):
# extra_rules:
#   - id: allow_deploy_staging
#     tool_name: Bash
#     command_prefixes:
#       - "./scripts/deploy-staging"
#     entropy_ceiling: 0.50
#     require_git_clean: true
