cartomancer 0.8.0

PR review tool with blast radius awareness — opengrep + cartog + LLM
# Cartomancer configuration
# Generated by `cartomancer init`. All values shown are defaults — uncomment to override.

[opengrep]
rules = ["auto"]
timeout_seconds = 120
# exclude = [".github/", "config/database.yml"]
# jobs = 4                          # parallel jobs (default: opengrep auto-detect)
# taint_intrafile = false           # cross-function taint analysis within a file
# ignore_pattern = "nosec"          # custom inline ignore annotation
# enclosing_context = false         # attach enclosing function/class (improves LLM deepening)
# dynamic_timeout = false           # file-size-scaled timeouts
# dynamic_timeout_unit_kb = 10      # base timeout unit (only if dynamic_timeout = true)
# dynamic_timeout_max_multiplier = 5.0
# rules_dir = ".cartomancer/rules"  # auto-discover custom YAML rules

[knowledge]
# knowledge_file = ".cartomancer/knowledge.md"   # company context injected into LLM prompts
# system_prompt = "You are reviewing a fintech codebase. Prioritize payment flows."
# max_knowledge_chars = 8000

# Per-rule severity overrides:
# [knowledge.rules."generic.security.hardcoded-secret"]
# min_severity = "critical"
# always_deepen = true

[llm]
provider = "ollama"                 # "ollama" | "anthropic"
ollama_base_url = "http://localhost:11434"
ollama_model = "gemma3"
# anthropic_api_key = "sk-ant-..."  # prefer ANTHROPIC_API_KEY env var
# anthropic_model = "claude-sonnet-4-20250514"
max_tokens = 4096
# max_concurrent_deepening = 4

[storage]
# db_path = ".cartomancer.db"

[severity]
blast_radius_threshold = 5
llm_deepening_threshold = "error"
# impact_depth = 3
# cartog_db_path = ".cartog.db"     # run `cartog index .` to create

# [github]
# token = ""                        # prefer GITHUB_TOKEN env var
# webhook_secret = ""               # required for `cartomancer serve` (HMAC-SHA256)

# [serve]
# max_concurrent_reviews = 4