Skip to content

fix(rules): schema/breadcrumb no longer fails on one model-labelled link (repo#3365) - #1990

Merged
nc9 merged 4 commits into
mainfrom
boat/breadcrumb-trail-3365
Nov 18, 2026
Merged

nc9 merged 4 commits into
mainfrom
boat/breadcrumb-trail-3365

Conversation

@nc9

@nc9 nc9 commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Fixes squirrelscan/repo#3365.

A single link the page classifier's model placed in the breadcrumbs section no longer fails schema/breadcrumb. Only links with no sectionSource: model count, and two are required (MIN_TRAIL_LINKS = 2). Severity stays warning. Both decisions are written in docs/rules/schema/breadcrumb.mdx.

Acceptance:

  • model-only link does not fail: tests 'one model-only breadcrumb link does not fail', 'several model-only...', 'model links do not count toward the markup minimum'
  • two markup links, no schema, still fail: 'two markup breadcrumb-section links ... is a fail'
  • minimum and severity documented in the rule docs page
  • tests also cover one markup link (info) and declared BreadcrumbList (existing 'declared passes whatever the sections say', nested, microdata)

Gates: bun test packages/rules/tests/schema-breadcrumb-section.test.ts 16 pass; make validate in docs/ passes. No new rule, so no count changes. Agent skill: no change needed. Private follow-up (gitlink bump) in FOLLOWUPS.

@nc9
nc9 force-pushed the boat/breadcrumb-trail-3365 branch from bfa21db to 736bc20 Compare November 18, 2026 01:09
@nc9
nc9 marked this pull request as ready for review November 18, 2026 04:59
@nc9
nc9 force-pushed the boat/breadcrumb-trail-3365 branch from f4b8977 to 91fef13 Compare November 18, 2026 05:17
@nc9
nc9 added this pull request to the merge queue Nov 18, 2026
@nc9
nc9 force-pushed the boat/breadcrumb-trail-3365 branch from 91fef13 to c89184a Compare November 18, 2026 14:46
@nc9
nc9 merged commit aff8a48 into main Nov 18, 2026
16 checks passed
@nc9
nc9 deleted the boat/breadcrumb-trail-3365 branch November 18, 2026 15:05
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.

1 participant