Skip to main content

Module knowledge

Module knowledge 

Source
Expand description

KnowledgeBase — the shared foundation for workflows (and, formerly, patterns).

Workflow embeds KnowledgeBase via #[serde(flatten)] so its YAML stays flat (no nested base: key). The value types below (Content, Tier, Tags, Evidence, …) used to live in pattern.rs; the Pattern type was retired in the Pattern→Skill migration (Tier C3) and the shared pieces moved here so nothing has to reach through a dead module.

Structs§

Applies
Contribution
Per-actor contribution to a pattern’s Evidence.
DecayMeta
Decay metadata for time-based relevance.
Evidence
KnowledgeBase
Shared fields for all knowledge items (patterns, workflows).
Lifecycle
Links
Tags

Enums§

Content
Dual-layer content inspired by LanceDB Pro Plugin Rule 6. Max 500 chars per layer.
LifecycleStatus
Maturity
Maturity level for knowledge items.
Tier

Constants§

SCHEMA_VERSION
Knowledge schema version (carried in every KnowledgeBase::schema).

Functions§

default_confidence
default_importance
default_schema