Skip to content

API Reference parrot.knowledge.lint.models

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

parrot.knowledge.lint.models

View source

Lint engine data models (FEAT-625).

Class Finding

One lint finding produced by a rule.

Fields:

Field Type Default Description
rule_id str
severity Severity
subjects list[str]
message str
fixable bool False
fingerprint str
data dict[str, Any]

Class FixResult

Outcome of applying one fix.

Fields:

Field Type Default Description
fingerprint str
applied bool
detail str ''

Class LintOptions

Options controlling one lint run.

Fields:

Field Type Default Description
rules list[str] | None None
skip list[str]
fix bool False
llm bool False
llm_model str | None None
llm_max_pairs int 50
ledger bool True
notes bool False
ledger_cap_per_rule int 20
fail_on Severity | None 'error'
export_dir Path | None None
report_dir Path | None None

Class LintReport

Result of a lint run (findings are what remains after fixes).

Fields:

Field Type Default Description
wiki_name str ''
backend str ''
rules_run list[str]
findings list[Finding]
fixed list[FixResult]
counts dict[str, int]
started_at str ''
duration_ms int 0
routing dict[str, int]

Attribute SEVERITY_RANK

Type: dict[str, int]

Attribute Severity

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