feat: impact analysis (XWING-3088) #411
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.40) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 313 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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.344
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #411"
general
weight: 0.35
chubirka
https://redhat.atlassian.net/browse/XWING-3088
Plan: https://github.com/traust-security/traust-foundry/blob/main/plans/impact-analysis/features/2026-11-impact-analysis.md
Stack: core #407 (merged into this branch) → traust #394 · traust-sdk #59 (both pin this branch's merge commit)
What
The impact-analysis feature's traust-core share, merged from #407:
impact(identifier): every tracked ref's outcome for one advisory. Rows for refs whose SBOM uses the advisory's ecosystems (affected / fixed / not using / unresolved manifest / undetermined), counts for the proven rest and every gap (stale line, no SBOM, coverage unknown) — never silently missing;complete,fixable,as_of, unmodelled ecosystems.fill(identifier, principal): onerun_batchper advisory, onerepo_state+manifest_sbomorder pair per gap repository, healing on retry; repositories this caller may not take are skipped (a caller denied everywhere learns no batch), and the batch lookup is deterministic under a concurrent create.tracked_refs/tracked_refs_of,list_lines,attach_branch+POST /v1/repositories/{id}/branches(the Snyk-style "scan this branch"),observe_linesfor the materializers' line walks.GET/POST /v1/advisories/{identifier}/impact[/fill].The decisions
not_using/fixedproven only under resolved coverage; unorderable versions areundetermined, never safe; a ref whose named scan no longer resolves raises.How tested