feat: convert snphost_config_commit to mixed-scope #283
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.61) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.61 · 138 lines diff across 1 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.295
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.061
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #283"
general
weight: 0.35
amd-kkin
Convert the host-only TCB config test into a mixed-scope test that verifies config changes are reflected in guest attestation reports, and adds a comprehensive doc about what SNP_COMMIT and SNP_CONFIG do + intended use.
Test by inspecting attestation reports in these cases:
1. Fresh VM (booted after config-set-lower): guest reported == host reported tcb guest current == host platform tcb signed by lowered host reported tcb
2. Live VM (same VM as 1 after config-reset): guest reported == restored host reported tcb guest current == host platform tcb
Only the alternate lower tcb VCEK is fetched, as normal is covered by 3.0.0-0 attestation test and don't want to trigger KDS rate-limit.
A final info-type config-reset ensures TCB cleanup regardless of test outcome.
Note:
profile.vm_launch()can throw either of those. Prevents a crash if we run into the ProfileError.