Repository navigation
feat(brand): add brand-wide prohibited_terms to brand.json - #8056
Conversation
Adds optional prohibited_terms on the brand definition, beside tone. Union with slot-level text-asset-requirements.prohibited_terms. Fixes the brand_kit_override description in brand-ref.json (drops nonexistent voice_attributes, points at the new field). Refs #8048 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
823ad91 to
200630c
Compare
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated paths touched without required approval.
This PR modifies files under static/schemas/source/**, which fall under the repo's deterministic hard approval gate (gated_paths: true), and review_decision is REVIEW_REQUIRED (not APPROVED). Per decision rule row 2, the outcome must be escalate until a human/CODEOWNERS approval lands.
Escalation reasons
static/schemas/source/brand.json(modified) — gated path requires human/CODEOWNERS review.static/schemas/source/core/brand-ref.json(modified) — gated path requires human/CODEOWNERS review.static/schemas/source/core/requirements/text-asset-requirements.json(modified) — gated path requires human/CODEOWNERS review.
Review notes (non-blocking): The change is a clean additive Normative change — adds optional prohibited_terms to brand.json beside tone. Schema↔docs coherence verified across brand-json.mdx, canonical-formats.mdx, and the brand-ref/text-asset-requirements description updates. The brand-ref.json edit correctly removes the nonexistent voice_attributes reference. Minor changeset is the right class; no new oneOf, no dist/** edits. No blocking or Medium findings. Once a required reviewer approves, this can fall through to approve.
Why human review
- Gated path static/schemas/source/brand.json (modified) requires human/CODEOWNERS approval; review_decision is REVIEW_REQUIRED
- Gated path static/schemas/source/core/brand-ref.json (modified) requires human/CODEOWNERS approval
- Gated path static/schemas/source/core/requirements/text-asset-requirements.json (modified) requires human/CODEOWNERS approval
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/brand.json (modified) matches
static/schemas/source/**; static/schemas/source/core/brand-ref.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/requirements/text-asset-requirements.json (modified) matchesstatic/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Refs #8048
WG draft with the recommended shape. Not for merge until the WG answers the brief on the issue.
What changes
brand.jsonbrand definition: new optionalprohibited_terms: string[], besidetone(not under it, sincetonehas a plain-stringoneOfarm that can't carry subfields).text-asset-requirements.prohibited_terms; neither weakens the other.core/brand-ref.jsonbrand_kit_overridedescription: drops the nonexistentvoice_attributes, and notesprohibited_termsis a brand.json field with no per-call override. Same fix indocs/creative/canonical-formats.mdx.docs/brand-protocol/brand-json.mdx.minor(new optional field).Fallback
If the WG declines the field, merge the description fix alone, with the parenthetical removed (
patch).Notes
build:schemas,test:schemas,test:json-schema,test:examples,test:mcp-schema-projection. Descriptions kept short; noPARITY_COMPILE_LIMITchange.get_brand_identitydoes not return the field yet (itsfieldsenum is closed). Left out to keep this PR small; documented as brand.json-only. Open for the WG or a follow-up.🤖 Generated with Claude Code
Open workspace in Conductor
Draft disposition — 2026-10-09
This draft is retained for the stated workstream. Continue on this existing branch; no parallel PR is needed. This disposition does not waive CI, review, migration, or release gates.