# Architecture Pressure Policy — DAARION.city # # Deterministic structural health index: measures long-term architectural strain. # Risk = short-term stability. Pressure = long-term structural debt. # # All thresholds / weights configurable here; no LLM, no external calls. defaults: lookback_days: 30 top_n: 10 # Per-signal additive weights weights: recurrence_high_30d: 20 # high-recurrence bucket present in 30d recurrence_warn_30d: 10 # warn-level recurrence in 30d regressions_30d: 15 # each positive delta_24h event in 30d escalations_30d: 12 # each escalation event in 30d followups_created_30d: 8 # each new followup created in 30d followups_overdue: 15 # current overdue followups (snapshot) drift_failures_30d: 10 # drift gate fail/warn events in 30d dependency_high_30d: 10 # dependency scan HIGH/CRITICAL findings in 30d # Score → band mapping bands: low_max: 20 medium_max: 45 high_max: 70 # above high_max → critical # Priority rules for automatic follow-up creation priority_rules: require_arch_review_at: 70 # pressure score >= this → requires_arch_review=true auto_create_followup: true # create a follow-up when require_arch_review triggered followup_priority: "P1" followup_due_days: 14 followup_owner: "cto" # Dedupe key: arch_review:{YYYY-WW}:{service} # Prevents duplicate creation within the same ISO week # Release gate behaviour release_gate: platform_review_required: enabled: true warn_at: 60 fail_at: 85 # only blocks if gate profile is "strict" # Digest settings digest: output_dir: "ops/reports/platform" max_chars: 12000 top_n_in_digest: 10