← Back to Pull requests

refactor(bsod): add read-only crash-settings validation and latest staging #8

Open
unknown opened this pull request with 252 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 16, 2026 16:22 UTC
Author

Scope


Guest-only replacement of configure-dumps.ps1 with read-only validate-crash-settings.ps1, plus history updates. No preflight-rhov.sh changes remain in this PR or its dependent stack: that file matches the feature baseline. The guest validator is unchanged by the withdrawal; it checks typed settings, required absences, AutoReboot and pagefile adequacy without repairing settings or rebooting. Explicit NotMyFault staging retains latest-download/signature checks and dynamic hash audit records; normal validation does not download it.

Required integration: #39


Preflight migration is owned by #39. The checked #39 revision still invokes configure-dumps.ps1 and requires rebootRequired, so it is not compatible yet. #8 is not merge-ready: land it together with or after a compatible #39 that invokes validate-crash-settings.ps1, uses camelCase arguments, checks the typed JSON readiness contract and stages NotMyFault only for explicit trigger readiness. Keep the behavioral tests in #44; do not bypass them.

Current validation


110 guest-suite/extractor-contract tests pass with zero skips. The 11 retained preflight-integration tests have one pass and ten failing methods (24 assertion failures), exposing the integration deferred to #39. The full runner executes 218 tests with 79 failures and 13 errors: 50 failing IDs comprise the unchanged 40 baseline IDs plus those ten preflight IDs. Bats retains seven baseline failures. The earlier 119-pass result applied to the withdrawn migration and is not a current green result. CI, Windows PowerShell 5.1, live guests, real downloads and signature verification remain unverified.

No #39 source, shared feature branch, watcher policy or legacy injector changes are included. Remains draft. Existing cleanup is preserved. The separate legacy injector host-upload path still needs review before intentional-trigger rollout.

---
AI-generated. Review for accuracy.

@hijoshi-re requested from Slack

Chai persona: OpenShift Virtualization AI Helpdesk

Diff: 252 lines (+189 / -63) across 3 files Reviewer: amp-rh Review duration: 20520m
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 252 lines diff across 3 files
0.39
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
46%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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
Shallow Review Depth shallow_review_depth
0.344
Diff Size diff_size
0.331
Real PR Conversation Timeline
1 comments
"Review active on #8"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 46.7% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 39% (MEDIUM) · Higher = larger blast radius
39%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 46.7% · Lower = rushed or shallow review
46.7%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 20.8% · Safe to merge
20.8%