Replace accepted required-not-enforced judgements with WithRequired types for AIPlatform resources #15620
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 · 289 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.339
Real PR Conversation Timeline
1 comments
"Review active on #15620"
general
weight: 0.35
lovelace-coder-bot
Several fields marked
REQUIREDin protobuf messages for AIPlatform resources (AIPlatformCachedContent,AIPlatformHyperparameterTuningJob,AIPlatformModelMonitor,AIPlatformNotebookExecutionJob, andAIPlatformRAGCorpus) were previously accepted as optional inapis/aiplatform/judgement_queue.yamlto match shared structs. Because making fields required after a Kind ships is a breaking change, this PR enforces required fields now prior to release usingWithRequiredtype variants:EncryptionSpecWithRequiredwith+requiredonkmsKeyRefand updated affected Kinds (AIPlatformCachedContent,AIPlatformHyperparameterTuningJob,AIPlatformModelMonitor,AIPlatformNotebookExecutionJob, andAIPlatformRAGCorpus) to point to it while leaving sharedEncryptionSpecuntouched.AIPlatformCachedContentto referenceContentWithRequiredforcontentsandsystemInstruction.AIPlatformModelMonitorto referenceExplanationSpecWithRequired,ExplanationParametersWithRequired,ExplanationMetadataWithRequired,ModelMonitoringObjectiveSpec_TabularObjectiveWithRequired,ModelMonitoringObjectiveSpec_FeatureAttributionSpecWithRequired, andBatchDedicatedResourcesWithRequired.generate.sh.required-not-enforcedentries inapis/aiplatform/judgement_queue.yamltostatus: resolved,resolution: edited, with notes naming the new types.tests/apichecks/backward_compat_test.goto exempt unreleased Kinds listed inBLOCKED_KINDSfrom backward-compatibility errors, allowing pre-release schema corrections, and updatedtests/apichecks/testdata/exceptions/alpha-missingfields.txt..gemini/skills/kcc-direct-greenfield-types-implementer/judgement/references/REFERENCES_AND_NESTED_STRUCTS.mdto instruct agents never to acceptrequired-not-enforcedby default and instead enforce viaWithRequiredtypes.Fixes #15618
``
release-note
``NONE
This pull request was generated by an AI coding agent.
<!-- factory:task-output kind=Change task=recipe-fix-20261113-234328-96a1 -->
<sub>🤖 Agent session</sub>