Skip to content

Training agent: serve brand.json format from get_brand_identity #2162

@bokelley

Description

@bokelley

Context

The training agent's get_brand_identity handler returns a custom BrandEntry format (flat object with brand_id, house object, names, industries, etc.). Real seller agents serve the actual brand.json schema — $schema, house (domain string), brands[] array with identity fields like name, voice, logos, colors, fonts.

The storyboard compliance tests in @adcp/client validate against the brand.json spec. Returning a non-standard shape means the training agent's responses don't match what a real agent would return.

What needs to happen

  1. Refactor handleGetBrandIdentity to return brand.json format directly
  2. For sandbox brands loaded via getSandboxBrands(), serve brand_json as-is (scoped by fields/authorization)
  3. For talent brands (Loti Entertainment), restructure seed data to match brand.json format
  4. Update tests to assert brand.json shape

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions