Files
microdao-daarion/config/architecture_pressure_policy.yml
Apple 67225a39fa docs(platform): add policy configs, runbooks, ops scripts and platform documentation
Config policies (16 files): alert_routing, architecture_pressure, backlog,
cost_weights, data_governance, incident_escalation, incident_intelligence,
network_allowlist, nodes_registry, observability_sources, rbac_tools_matrix,
release_gate, risk_attribution, risk_policy, slo_policy, tool_limits, tools_rollout

Ops (22 files): Caddyfile, calendar compose, grafana voice dashboard,
deployments/incidents logs, runbooks for alerts/audit/backlog/incidents/sofiia/voice,
cron jobs, scripts (alert_triage, audit_cleanup, migrate_*, governance, schedule),
task_registry, voice alerts/ha/latency/policy

Docs (30+ files): HUMANIZED_STEPAN v2.7-v3 changelogs and runbooks,
NODA1/NODA2 status and setup, audit index and traces, backlog, incident,
supervisor, tools, voice, opencode, release, risk, aistalk, spacebot

Made-with: Cursor
2026-03-03 07:14:53 -08:00

52 lines
1.7 KiB
YAML

# 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