Skip to content

API Reference parrot.knowledge.wiki.languages.fingerprint

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

parrot.knowledge.wiki.languages.fingerprint

View source

Extractor fingerprint: which tier + rule file produced a plane's symbols (FEAT-609 M2).

A plane stores this under the meta key extractor_fingerprint. When a language's entry changes — ast-grep installed or removed, a rule file edited — build re-ingests that language's files once, instead of trusting per-file staleness, which cannot see a change in the extractor.

Alias BaseWikiStore

Re-exported from parrot.knowledge.wiki.store.BaseWikiStore.

Class ExtractorFingerprint

Per-language identity of what produced a plane's symbols.

Fields:

Field Type Default Description
schema_version int 1 Layout version of this payload.
languages dict[str, str] Scanner name -> "<mode>:<sha1(rule file)|none>".

Attribute META_KEY

Alias all_scanners

Re-exported from parrot.knowledge.wiki.languages.all_scanners.

Function changed_languages

Scanner names whose entry differs; every structural-capable one when old is None.

changed_languages(old: ExtractorFingerprint | None, new: ExtractorFingerprint) -> set[str]

Parameter Type Default Description
old ExtractorFingerprint | None
new ExtractorFingerprint

Returns: set[str]

Function current_fingerprint

Fingerprint of the scanners as installed in this process.

current_fingerprint() -> ExtractorFingerprint

Returns: ExtractorFingerprint

Function load_fingerprint

Stored fingerprint, or None when absent/unparseable/unsupported. Never raises.

load_fingerprint(store: BaseWikiStore) -> ExtractorFingerprint | None

Parameter Type Default Description
store BaseWikiStore

Returns: ExtractorFingerprint | None

Attribute logger

Function save_fingerprint

Persist fp; a backend without meta support is skipped, not an error.

save_fingerprint(store: BaseWikiStore, fp: ExtractorFingerprint) -> None

Parameter Type Default Description
store BaseWikiStore
fp ExtractorFingerprint

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