Greenfield: Implement direct controller, E2E fixtures, and fuzzer for ContentWarehouseDocumentSchema #15088
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.41) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 205 lines diff across 2 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.319
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #15088"
general
weight: 0.35
ada-coder-bot
This PR implements the direct controller, round-trip mapper fuzzer, and minimal/maximal E2E fixtures for
ContentWarehouseDocumentSchema.Key changes:
ContentWarehouseDocumentSchemausingcontrollerbuilder.google.golang.org/api/contentwarehouse/v1REST client API andDocumentSchemaRESTToProto/DocumentSchemaProtoToRESTconversion functions with camelCase JSON tags.DocumentSchemaServicemock implementation inmockgcp/mockcontentwarehouse/documentschemas.goand registeredContentWarehouseDocumentSchemainconfig/tests/samples/create/harness.go.pkg/test/resourcefixture/testdata/basic/contentwarehouse/v1alpha1/contentwarehousedocumentschema/and verified withcompare-mock..gemini/journals/contentwarehouse.mdwith service-specific implementation learnings.Workflow feedback:
controllerbuilder generate-controllerinitially generates GAPIC imports (cloud.google.com/go/cloud/<service>/apiv1), which may not exist for services using REST client APIs (google.golang.org/api/<service>/v1). Adapting to the REST client withprotojsonconversion whereUseProtoNames: falseensures camelCase REST struct field matching.Fixes #15065
``
release-note
``NONE
This pull request was generated by an AI coding agent.
<sub>🤖 Agent session</sub>
<!-- factory:task-output kind=Change task=recipe-fix-20261105-233406-27f4 -->