Greenfield: Prepopulate direct KRM types, identity, and judgement queue for DLPContentPolicy #15363
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.48) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 505 lines diff across 6 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.373
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #15363"
general
weight: 0.35
ada-coder-bot
Prepopulates direct KRM types, IdentityV2, reference, and judgement queue for
DLPContentPolicyunderdlp.cnrm.cloud.google.com/v1alpha1following Greenfield Step 1a(
prepopulate/SKILL.md):mockgcp/apis/google/privacy/dlp/v2/dlp.protoaddingContentPolicy,its RPCs in
DlpService, and its request/response/verdict messages on top of the pinned baseproto, and wired it in
dev/tools/controllerbuilder/generate-proto.shandkccProtoOverrides.generate-typeswith--prepopulate-resourceandgenerate-identityforDLPContentPolicy:ContentPolicyinapis/dlp/generate.sh.Generated
dlpcontentpolicy_types.go,dlpcontentpolicy_identity.generated.go,and
dlpcontentpolicy_reference.generated.go.DLPContentPolicytoBLOCKED_KINDSindev/tasks/build-release-bundle.dlpcontentpolicies.dlp.cnrm.cloud.google.comtoknownInvalidCRDsintests/apichecks/crds_test.gofor empty oneof optionspec.rules[].conditions[].infoTypeCondition.anyInfoType.apis/dlp/judgement_queue.yamlwith open findings for Step 1b triage.alpha-missingfields.txtgolden exception file..gemini/journals/dlp.md.KCC Greenfield Step 1 (Prepopulate) Auto-Review Results
Trigger criteria matched: Yes
generate.sh& Flags Check: Pass (generate-types --prepopulate-resource,generate-identity, no--allow-non-ga-proto)Judgement Queue Open Check: Pass (
apis/dlp/judgement_queue.yamlinitialized withuntriaged-bulk-generationand all findingsstatus: open)Mechanical Output & Idempotency: Pass (
./apis/dlp/generate.shis 100% idempotent and produces zero diff on subsequent runs)Release Bundle Blocklist (
BLOCKED_KINDS): Pass ("DLPContentPolicy"added in alphabetical order toBLOCKED_KINDSindev/tasks/build-release-bundle)Mapper Compilation &
apichecks: Pass (go build ./apis/dlp/... ./pkg/controller/direct/dlp/...andgo test ./tests/apichecks/...pass cleanly)Workflow feedback
generate.shonly requiresgenerate-typesandgenerate-identityfor scaffolding new resource types.mockgcp/apis/, preserving the pinned base version for unaffected messages prevents unwanted diffs and false-positive reference violations on pre-existing resources.Fixes #15352
``
release-note
``NONE
release-note
NONE
This pull request was generated by an AI coding agent.
<!-- factory:group-step issue=15379 -->