tracingpolicy: Apply CRD defaults in nok8s builds #6102
All Vouch review confidence checks passed
Residual risk 0.32 = Change Risk (0.60) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 216 lines diff across 2 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.322
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #6102"
general
weight: 0.35
mtardy
<!--
Thanks for contributing! Please ensure your pull request adheres to the following guidelines:
use Generative AI.
-->
Description
<!-- Please describe quickly the change but most importantly the reason or context of your change -->
The nok8s parser validated and decoded a policy without the schema defaults that the API server and the k8s build apply. It rejected an argument without type and did not treat a kprobe without syscall as a syscall kprobe. Both builds now decode a policy to the same spec, so a nok8s kprobe on a non-syscall function needs syscall: false.
Changelog
<!-- Enter the release note text in the codeblock below if needed or remove this section! -->
``
release-note
``tracingpolicy: Apply CRD defaults in nok8s builds