Reproleaf / Documentation

Reproleaf SEO and internal-link check methodology

Required inputs, observed conditions and the limits of automated checks. Versioned rules, JSON examples and explicit measurement boundaries.

Scope and version

Reproleaf 0.8.0 combines deterministic editorial-packet checks, public HTML observations, an internal-link graph and reproducible browser cases. Each check answers a bounded question rather than assigning a universal SEO score.

Draft checks operate on supplied data. The server crawler separately fetches bounded public HTML with destination checks and robots.txt policy. Page JavaScript is not executed.

Title and H1 are not required to differ. Phrase occurrences are observations, not a mandatory density quota. Color describes the state of a particular check; unknown input does not become a green pass.

Where the PHP crawler gets the target topic

A nonempty H1 is preferred. If H1 is absent, the conservative fallback can use the full title or its leading segment before a separator. targetTopicSource distinguishes h1, title and leading-title-segment. Unknown provenance is not inferred automatically.

A leading title segment is a structural heuristic. It does not prove that omitted text was branding, that the remaining text accurately describes the topic or that a semantic match was found. Ambiguous titles require editorial review. The weighted Node mechanism for supplied page inventories remains separate.

Editorial packet: what is checked

Shared limitation: Does not predict rankings, clicks, indexation or factual truth.

Shared limitation: Checks declared records only. Does not fetch sources, discover every factual sentence or establish factual truth.

Search title was not supplied

editorial:title-not-provided

Required input: A supplied editorial packet; field article.title.

Reports a missing declaration instead of treating missing input as a successful evaluation.

Description was not supplied

editorial:description-not-provided

Required input: A supplied editorial packet; field article.description.

Reports a missing declaration instead of treating missing input as a successful evaluation.

Primary query was not supplied

editorial:primary-query-not-provided

Required input: A supplied editorial packet; field primaryQuery.

Reports a missing declaration instead of treating missing input as a successful evaluation.

Reader task was not supplied

editorial:reader-task-not-provided

Required input: A supplied editorial packet; field readerTask.

Reports a missing declaration instead of treating missing input as a successful evaluation.

H1 and renderer contract

editorial:h1-count

Required input: Markdown plus h1Mode=markdown or renderer and optional renderedH1.

Counts parsed Markdown H1 elements against the selected renderer contract. A renderer-supplied H1 must not be duplicated in the body.

Does not establish: Does not require H1 to differ from title or prove heading relevance; embedded HTML needs separate review.

Skipped heading levels

editorial:heading-level-gap

Required input: Markdown headings and the selected H1 mode.

Flags an unexpected starting level or a jump of more than one heading level.

Does not establish: A detected sequence is not a complete accessibility or content-quality audit.

Duplicate source identifier

editorial:duplicate-source-id

Required input: Explicit claim and source records supplied with the draft.

Finds repeated source IDs.

Duplicate claim identifier

editorial:duplicate-claim-id

Required input: Explicit claim and source records supplied with the draft.

Finds repeated declared claim IDs.

Declared claim absent from draft

editorial:claim-not-in-draft

Required input: Explicit claim and source records supplied with the draft.

Looks for the declared claim text in the supplied draft.

Declared fact has no source binding

editorial:unbound-fact

Required input: Explicit claim and source records supplied with the draft.

Flags a declared fact with no sourceIds.

Claim references an unknown source

editorial:unknown-source

Required input: Explicit claim and source records supplied with the draft.

Resolves claim sourceIds against supplied source records.

Source support needs human review

editorial:unreviewed-source

Required input: Explicit claim and source records supplied with the draft.

Reports source records whose humanReviewed flag is false.

Calculation reproduction is missing

editorial:missing-calculation-evidence

Required input: Explicit claim and source records supplied with the draft.

Requires an artifact SHA-256, assumptions and reproduction instructions for declared calculations.

Observation provenance needs review

editorial:observation-needs-review

Required input: Explicit claim and source records supplied with the draft.

Marks declared observations for provenance and limitation review.

No material claims were declared

editorial:no-declared-claims

Required input: Explicit claim and source records supplied with the draft.

Reports that factual coverage cannot be assessed without declared claims.

Embedded HTML is outside the Markdown audit

editorial:raw-html-not-audited

Required input: A draft containing raw HTML.

Keeps embedded HTML headings and links explicitly unreviewed.

Does not establish: No browser rendering or HTML execution occurs in the editorial packet checker.

Internal target inventory is missing

editorial:internal-inventory-not-provided

Required input: An editorial packet with optional sitePaths.

Keeps internal-target coverage unknown when sitePaths is omitted.

Does not establish: A sitemap or missing inventory cannot establish incoming links or HTTP availability.

Internal target absent from supplied inventory

editorial:unknown-internal-target

Required input: Parsed Markdown internal links and supplied sitePaths.

Compares normalized local link paths against the supplied list.

Does not establish: An unresolved inventory target is not a confirmed HTTP404 or a broken link.

Configured terminology variant

editorial:glossary-variant

Required input: A supplied glossary with canonical forms and prohibited variants.

Uses Unicode word boundaries to find configured prohibited variants in visible parsed text.

Does not establish: Only the supplied terminology policy is checked; no universal style or truth score is inferred.

Sections need declared editorial review

editorial:sections-need-editorial-review

Required input: Parsed headings and reviewedSections declarations.

Reports sections not marked as reviewed for a direct answer, evidence or action.

Does not establish: A declaration is not an independent evaluation of intent coverage or writing quality.

Public HTML: 11 declaration and structure checks

HTTP response status

public-html:http-status

Required input: A successfully fetched public HTML response, without executing JavaScript.

Checks whether the returned response is 2xx.

Does not establish: An observed status does not establish indexation.

HTML title declaration

public-html:html-title

Required input: A successfully fetched public HTML response, without executing JavaScript.

Observes a nonempty title in fetched HTML.

Does not establish: Does not judge title relevance, CTR or exact length quotas.

HTML description declaration

public-html:html-description

Required input: A successfully fetched public HTML response, without executing JavaScript.

Observes a nonempty description declaration.

Does not establish: A declaration is not a guarantee of the search snippet.

HTML H1 count

public-html:html-h1

Required input: A successfully fetched public HTML response, without executing JavaScript.

Counts H1 elements in the fetched document.

Does not establish: No JavaScript rendering or heading relevance judgment.

HTML heading sequence

public-html:heading-hierarchy

Required input: A successfully fetched public HTML response, without executing JavaScript.

Observes jumps between parsed heading levels.

Does not establish: Not a complete accessibility audit.

Canonical declaration

public-html:canonical

Required input: A successfully fetched public HTML response, without executing JavaScript.

Observes whether a canonical link is declared.

Does not establish: Does not establish which canonical Google selects.

HTML language declaration

public-html:html-language

Required input: A successfully fetched public HTML response, without executing JavaScript.

Observes the html lang attribute.

Does not establish: Does not validate translation quality.

Declared noindex directive

public-html:index-directive

Required input: A successfully fetched public HTML response, without executing JavaScript.

Looks for noindex in meta robots and X-Robots-Tag.

Does not establish: Does not establish crawl permission or actual indexation.

Hreflang declarations

public-html:hreflang

Required input: A successfully fetched public HTML response, without executing JavaScript.

Observes supplied language alternatives.

Does not establish: This page check does not verify reciprocal links or whether alternatives are required.

Missing image alt attributes

public-html:image-alt

Required input: A successfully fetched public HTML response, without executing JavaScript.

Counts img elements without an alt attribute.

Does not establish: An empty alt can be correct for decoration; description quality is not checked.

JSON-LD syntax

public-html:json-ld

Required input: A successfully fetched public HTML response, without executing JavaScript.

Parses declared JSON-LD blocks within the bounded HTML.

Does not establish: Does not certify schema eligibility, facts or rich-result appearance.

Internal links in a supplied inventory

Shared limitation: Partial observations do not establish whole-site orphans, backlinks, HTTP failures or ranking effects.

No supplied incoming donor

site-graph:no-observed-incoming

Required input: A supplied stored-content page/link inventory; URLs-only imports keep graph counts unknown.

Counts distinct supplied donor pages rather than link occurrences.

No resolved internal onward target

site-graph:no-observed-outgoing

Required input: A supplied stored-content page/link inventory; URLs-only imports keep graph counts unknown.

Counts resolved internal targets within the supplied page inventory.

Targets outside the supplied inventory

site-graph:unresolved-internal-targets

Required input: A supplied stored-content page/link inventory; URLs-only imports keep graph counts unknown.

Lists internal link targets absent from the supplied inventory.

Reading graph observations and repeat runs

A sitemap lists URLs rather than graph edges. Sitemap-only imports therefore keep incoming and outgoing link counts unknown. The graph counts distinct donor pages; repeated links on one page do not create additional incoming pages. External backlinks are not measured.

The server crawl separately observes links in main/article and navigation DOM regions. One edge can occur in multiple regions. This is HTML location rather than semantic judgment. Missing recognized landmarks or legacy incomplete records keep affected counts unknown.

A target absent from the supplied set is not called a broken link. Zero observed donors does not prove a whole-site orphan. Server-crawl link candidates use H1 word overlap with an excerpt of at most 2000 characters, with title as fallback. Every candidate requires editorial review.

A disappearing finding is confirmed only by comparable completed observations. A changed engine, page membership or measured scope, a missing page or an absent check leaves it unconfirmed.

Two different link-candidate mechanisms

The browser workspace and Node API analyze a supplied stored-link inventory. Candidates use weighted word overlap from H1 (or title when H1 is absent), an explicitly supplied primaryQuery, term frequency within the inventory and declared clusters. The donor sample is limited to the first 12000 characters. A declared hub/article cluster connection can participate in selection.

The PHP public HTML crawler uses a separate bounded word-overlap heuristic and the DOM regions described above. These are not the same candidate-ranking engine. Neither resolves semantic ambiguity, polysemy or every inflection. A candidate can be irrelevant and a useful link can be missed.

What was measured in the browser

2026-11-10T13:57:58.227Z: 40 of 40 observations matched the expected outcome. The intentionally broken variant must fail the behavioral check; the fixed variant must pass.

These are 10 synthetic implementations, two viewport sizes and two variants. The checking code is separate from the implementation and does not read the broken/fixed flag or implementation classes/styles. This is not independent third-party certification or a physical iOS/Android test.

Read the 10 cases and acceptance conditions

Machine-readable rules and examples

Rule catalog 0.8.0 (JSON) | Review checklist | Editorial packet example | Browser adapter example

list_check_rules {"domain":"editorial","language":"en"}
get_check_rule {"id":"editorial:h1-count","language":"en"}

The rules are available in the single Reproleaf MCP. These commands read the catalog without starting a crawl or modifying a site. Versioned JSON URLs identify a stable methodology snapshot.

Search, AI and limits of claims

Google describes standard Search requirements for AI Overviews and AI Mode: crawl access, indexation, snippet eligibility and ordinary content practices. Special AI markup is not required. Publishing a catalog does not guarantee citations or rankings. Google documentation

Actual citations require separate measurement. Bing describes AI Performance as a way to observe citations and associated queries, not a promise of future traffic. Bing description