Repository navigation
test(compliance): add universal macro translation vectors - #6679
Merged
Merged
Conversation
5 tasks
Contributor
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean additive compliance-fixture PR.
Checked:
- Publishes a schema-validated, language-neutral golden fixture for universal-macro translation plus decision records DR-0012/0013/0014.
- Percent-encoding and diagnostic ordering hand-verified against RFC 3986 and the fixture's own ordering rules.
- Schema oneOfs are genuinely disjoint (no undiscriminated oneOf regression).
- Minor changeset matches the additive protocol-surface change.
- Docs (universal-macros.mdx) are coherent with the fixture's diagnostics (schema↔docs coherence holds).
No Critical/High/Medium findings. Decision-table walkthrough: no critical/high (row 1 no); gated_paths false (row 2 no); high_risk false, no deletions (rows 3,5 no); no medium data-loss/schema/infra (row 4 no); no prior escalation (row 6 no); no no-auto-approve team match (row 7 no); zero medium findings, below the three-medium threshold (row 8 no) → falls through to row 9: approve.
Note: review_decision is REVIEW_REQUIRED but gated_paths is false, so the hard approval gate does not apply. This is an additive (Normative/Editorial, non-breaking) change, not a Breaking-class change, so the breaking-change hard gate does not force escalation.
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
Ratified policy
nativemappings containing U+0000–U+001F or U+007F with a typed error.valueand reports them infrozen_consent_macros.?away.The stronger alternatives raised during expert review—broader character rejection, rejecting impression-scoped value mappings, and failing an entire translation for an unmapped consent macro—are deliberately not adopted.
This draft does not close #6674. SDK acceptance still needs to run this fixture against each shipping helper rather than a test-local implementation.
Validation
npm run test:substitution-vector-namesnpm run test:compliance-source-authoritynpm run test:immutable-release-artifactsnpm run build:compliance -- --checknpm run test:docs-navnpm run check:owned-linksdocs/creative/universal-macros.mdxorigin/mainbyte-for-byteThe repository-wide snippet suite was also attempted locally; it remains red on unrelated environment-dependent examples, including a missing Python
adcpmodule. The changed macro page has no testable snippets and passes its targeted check.Progress on #6674