compute_risk_patterns
Aggregate risks across the caller's visible projects by category. Returns acceptedCount, dismissedCount, affectedProjects, and a verdict (recurring | frequently_dismissed | mixed) per category. Drives the "Pattern (X/Y projects)" badge on the Critical Risk Register widget. Optional windowDays (1..365, default 90) bounds the detection lookback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| windowDays | No | Lookback window in days, 1..365. Default 90. |