Skip to content

chore(brand-protocol): register verify_brand_claim + verify_brand_claims in schema index (#4604)#4641

Merged
bokelley merged 1 commit into
mainfrom
bokelley/index-json-verify-tools
May 17, 2026
Merged

chore(brand-protocol): register verify_brand_claim + verify_brand_claims in schema index (#4604)#4641
bokelley merged 1 commit into
mainfrom
bokelley/index-json-verify-tools

Conversation

@bokelley
Copy link
Copy Markdown
Contributor

Closes #4604.

What

Adds three entries to `static/schemas/source/index.json` under `brand-protocol`:

  • `verification-status` (supporting-schemas) — the shared status enum used by both verify tools
  • `verify-brand-claim` (tasks) — single-target verification, four claim types discriminated by `claim_type`
  • `verify-brand-claims` (tasks) — bulk variant, claims[] array (max 100)

Why

Both tools shipped — verify_brand_claim in PR #4540, verify_brand_claims in PR #4603 — but the central schema registry was missed. Missing entries mean the schemas are reachable by direct URL but invisible to registry-driven tooling and schema-validation tests.

This restores parity with `get_brand_identity`, `get_rights`, `acquire_rights`, `update_rights`.

Validation

  • `npm run build:schemas` clean
  • `npm run test:schemas` 7/7 (was 5/7 + 2 failures before this PR — the two failures were registry-vs-actual-schemas drift exactly because index.json was missing these entries)
  • `npm run test:json-schema` 260/260
  • `npm run typecheck` clean

…ims in schema index (#4604)

The single-target and bulk verification tools, plus the shared
verification-status.json enum, shipped without entries in
static/schemas/source/index.json. Adds three entries to the
brand-protocol section, matching the existing pattern.

Closes #4604.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bokelley bokelley merged commit 56caaf2 into main May 17, 2026
13 checks passed
@bokelley bokelley deleted the bokelley/index-json-verify-tools branch May 17, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spec(brand-protocol): register verify_brand_claim and verify_brand_claims in static/schemas/source/index.json

1 participant