Skip to main content

Module knowledge

Module knowledge 

Source

Modules§

chunking
Theta-gamma chunking for wakeup facts (#543, EFF-6).
maintenance
Maintenance for the on-disk knowledge stores.
okf
Open Knowledge Format (OKF) rendering for lean-ctx project knowledge.

Structs§

ConsolidatedInsight
Contradiction
FidelityScore
ImportResult
JudgedPair
KnowledgeFact
KnowledgeSnapshot
A consistent read of a project’s knowledge (facts + patterns + insights) and its relation graph, taken at one point in time. The single source of truth for outbound renderings (ctxpkg, OKF).
ProjectKnowledge
ProjectPattern
SimilarFact
SimpleFactEntry
Community-compatible simple fact format for import/export interop.

Enums§

AdmissionResult
Outcome of a write-time admission decision (#970), returned by ProjectKnowledge::remember_admitted. It is the difference between “the agent asked to store X” and “what lean-ctx actually persisted”.
ContradictionSeverity
ImportMerge
KnowledgeArchetype

Constants§

COGNITION_SYNTHESIS_SOURCE
source_session marker for facts written by the cognition loop’s observation synthesis step (#802). Lets recall distinguish synthesized entity-summaries from user-supplied findings (both are Observation archetype).
COMPACTION_DIGEST_SOURCE
source_session marker for digest facts written by the cognition loop’s cluster-compaction step (#971). A digest replaces a cluster of low-value, mutually-similar facts; the originals are archived (recoverable). Excluded from being compacted again so digests never cannibalize each other.

Functions§

find_cross_key_similar
parse_import_data
Parse import data: tries native ProjectKnowledge first, then simple [{...}] array.