Skip to main content

rules

Function rules 

Source
pub fn rules() -> Vec<RuleDef>
Expand description

Every rule this module declares, in creation order.

Exported so a test — or a store built some other way — can recreate exactly the rule set these props expect; ingest_git_schema declares all of them on the store ingest-git creates. ingest-git itself writes no Concept: the skill’s learn pass writes Concept.source_files through ingest_json, and concept_sources_rule links each concept to those files with DESCRIBED_IN, which is how the skill tells a stale concept.

No about_<label> rule. remember writes Note.about and inserts the ABOUT edges itself; a rule deriving the same edges would own them, and the next remember of the same note would be refused as writing a rule-owned edge.