Review of generated Google PR #5338 at 34bc46d found three defects reproduced by the captured Google Cloud SDK 585 help already in the generator tests.
Responsible source: tools/ModularPipelines.OptionsGenerator/src/ModularPipelines.OptionsGenerator/Scrapers/Cli/GcloudSynopsisGroupReconciler.cs and UsageSynopsisParser.cs.
- Storage batch-operation source selection: the synopsis pairs a bucket/bucket-list choice with a manifest/prefix choice as one source branch. Generated validation counts those halves as separate exclusive alternatives, rejecting documented bucket requests; nested filters also reject dry-run and Insights sources.
- Storage custom contexts: the synopsis allows clear-all alone, a clear/update pair, or an update file. Generated validation flattens these branches and rejects both clear-all and the documented clear/update pair.
- Agent Identity OAuth providers: the selected three-legged branch requires all six options; the two-legged branch requires all three. Generated validation only requires any member, allowing incomplete credentials.
Evidence: #5338 Codex review; captured fixtures Fixtures/Gcloud/585.0.0/gcloud-storage-batch-operations-jobs-create.txt (synopsis lines 6-24 and examples 38-76) and gcloud-agent-identity-auth-providers-create.txt (synopsis lines 5-8).
Expected: preserve nested alternatives and branch-local conjunctions through generic synopsis reconciliation, with captured-help and generated-validator regressions for valid and incomplete branches. Fix source separately, merge it, then regenerate from latest main and validate the Google integration. Do not patch generated files or preserve obsolete APIs. Related: #5180, #4799.
Review of generated Google PR #5338 at 34bc46d found three defects reproduced by the captured Google Cloud SDK 585 help already in the generator tests.
Responsible source: tools/ModularPipelines.OptionsGenerator/src/ModularPipelines.OptionsGenerator/Scrapers/Cli/GcloudSynopsisGroupReconciler.cs and UsageSynopsisParser.cs.
Evidence: #5338 Codex review; captured fixtures Fixtures/Gcloud/585.0.0/gcloud-storage-batch-operations-jobs-create.txt (synopsis lines 6-24 and examples 38-76) and gcloud-agent-identity-auth-providers-create.txt (synopsis lines 5-8).
Expected: preserve nested alternatives and branch-local conjunctions through generic synopsis reconciliation, with captured-help and generated-validator regressions for valid and incomplete branches. Fix source separately, merge it, then regenerate from latest main and validate the Google integration. Do not patch generated files or preserve obsolete APIs. Related: #5180, #4799.