Skip to content

API Reference parrot.knowledge.lint.packs.plane

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.knowledge.lint.packs.plane

View source

Plane rule pack — report-only integrity rules (FEAT-625).

Class BrokenLinkRule

Edge target does not resolve in this wiki or namespace.

Method BrokenLinkRule.check

Report each edge classified as broken by the active store.

check(ctx: LintContext) -> list[Finding]

Parameter Type Default Description
ctx LintContext

Returns: list[Finding]

Class DuplicateSlugRule

Two or more pages whose title slugifies to the same slug.

Method DuplicateSlugRule.check

Report every slug shared by pages of two or more distinct symbols.

Repeat-ordinal variants of one sym: id (X and X~2, e.g. a property and its setter) count as one symbol. A reported finding still lists every page id, so its fingerprint is unchanged.

check(ctx: LintContext) -> list[Finding]

Parameter Type Default Description
ctx LintContext

Returns: list[Finding]

Alias Finding

Re-exported from parrot.knowledge.lint.models.Finding.

Alias FixResult

Re-exported from parrot.knowledge.lint.models.FixResult.

Alias LintContext

Re-exported from parrot.knowledge.lint.context.LintContext.

Class MissingBodyRule

Page body is empty.

Method MissingBodyRule.check

Report pages returned by the store's missing-body fast path.

check(ctx: LintContext) -> list[Finding]

Parameter Type Default Description
ctx LintContext

Returns: list[Finding]

Class OrphanPageRule

Page has no inbound edge and is not a designated root.

Method OrphanPageRule.check

Report non-root pages that are not the destination of an edge.

check(ctx: LintContext) -> list[Finding]

Parameter Type Default Description
ctx LintContext

Returns: list[Finding]

Class OrphanSourceRule

Source is registered but did not produce a page.

Method OrphanSourceRule.check

Report sources returned by the store's orphan-source fast path.

check(ctx: LintContext) -> list[Finding]

Parameter Type Default Description
ctx LintContext

Returns: list[Finding]

Attribute PLANE_RULES

Alias Severity

Re-exported from parrot.knowledge.lint.models.Severity.

Class StaleSourceRule

Tracked source changed since its last ingestion.

Method StaleSourceRule.check

Report stale tracked sources when a source manager is available.

check(ctx: LintContext) -> list[Finding]

Parameter Type Default Description
ctx LintContext

Returns: list[Finding]

Alias make_fingerprint

Re-exported from parrot.knowledge.lint.rule.make_fingerprint.

Alias parse_sym_id

Re-exported from parrot.knowledge.wiki.symbols.parse_sym_id.

Alias sym_concept_id

Re-exported from parrot.knowledge.wiki.symbols.sym_concept_id.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally