Skip to content

schema/entity-publisher-mismatch: same-name Organization and LocalBusiness reads as a false positive; name both ids #2227

Description

@nc9

Source: MCP feedback fb_269 (run 01M80JE7W30AJ595722XGJCQXW, popwall.com.au), first half.

Seen. schema/entity-publisher-mismatch says "Every publisher reference points at Popwall, which is not this site's primary organization" on a site where Popwall is the only business. The site declares two entities with the same name (Organization #organization, LocalBusiness #business); the rule picked #business as primary while publisher points at #organization. Reads as a false positive.

Expected. Name both @ids and say "two entities share the name Popwall; merge them or point publisher at the primary one". Consider a different rule path (duplicate-name entities) instead of the "not primary" wording.

Where. packages/rules/src/schema/entity-publisher-mismatch.ts.

Acceptance Criteria

  • Fixture with two same-name entities and publisher on the non-primary one: message names both @ids and the same-name cause.
  • A genuinely different publisher still gets the current wording.

nik

Activity

  1. added
    enhancement
    size: XS
    rules
    on Nov 22, 2026
  2. added theissue type on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementrulessize: XS

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions