feat: move AICR triage to native issue priority #3891
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 354 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.351
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3891"
general
weight: 0.35
lalitadithya
Summary
Move AICR triage to the native issue Priority field and repository workflow labels. Use the native field for stale-issue protection and route contributors to repository issue queues.
Motivation / Context
This supplies the repository-level Priority input for the claim-expiry policy and lets triage run without access to Project #248.
Fixes: <!-- #123 if this closes the issue, else N/A -->
Related: #3014
Type of Change
<!-- Check all that apply -->
Component(s) Affected
cmd/aicr,pkg/cli)cmd/aicrd,pkg/server)pkg/recipe)pkg/bundler,pkg/component)pkg/collector,pkg/snapshotter)pkg/validator)pkg/errors,pkg/k8s)docs/,examples/)Implementation Notes
Testing
Qualification passed with 86.4% coverage. The 22 stale-policy tests and the
Priority documentation regression test passed.
Risk Assessment
<!-- Select one and explain -->
Rollout notes: Verify the read-only dispatch and then seed workflow labels after the intake change is live. Retire the project after verifying data parity and repository triage.
Checklist
make testwith-race)make lint)git commit -s -S) — GPG signing info