feat: GOVERNANCE_DENIED error, flatten comply_test_controller, context/ext, require signal_id#2194
Merged
Merged
Conversation
…t/ext on all schemas, require signal_id (#2185, #2189, #2190, #2192) - Add GOVERNANCE_DENIED to standard error codes (correctable recovery) - Flatten comply_test_controller from oneOf union to flat object with scenario discriminant and if/then conditional validation - Add missing context and ext fields to all request/response schemas (governance, collection, property, sponsored-intelligence, content-standards) - Make signal_id required on get-signals-response signal items - Fix get-content-standards-response variant 0 missing ext Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Doc JSON examples need signal_id now that it's required on the get-signals-response schema. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
correctablerecovery. Buyer can restructure, escalate to human spending authority, or contact the governance agent.oneOfunion with flat object usingscenarioenum discriminant andif/thenconditional validation. Preserves per-scenario$refenum constraints onstatusfield.contextandextfields to request/response schemas across governance, collection, property, sponsored-intelligence, and content-standards domains. SkipsoneOfresponse schemas (variants already carry both fields).signal_idto the required array on signal items. Needed for provenance verification in marketplace signals.Also fixes
get-content-standards-response.jsonvariant 0 missingext.Closes #2185, closes #2189, closes #2190, closes #2192
Test plan
🤖 Generated with Claude Code