Expand description
Rule definitions more than one write path needs to agree on.
structure::ensure_rules_and_fulltext (CLI, ingest-git/sync) and
remember both write nodes whose derived
edges depend on an about_<label> rule existing — the first as part of a
full refresh, the second one Note at a time, possibly the very first
write a store ever sees. Two independent copies of these definitions
would eventually drift; this module is the one place they are declared,
so both callers create byte-identical RuleDefs under the same names.
Constants§
- ABOUT_
LABELS - Labels a
Note.aboutentry may point at, in rule-creation order. Oneabout_<label>rule per label, since a rule has a single destination.
Functions§
- about_
rule - The
about_<label>rule for one ofABOUT_LABELS:Note.about→ABOUTedges tolabel. - concept_
sources_ rule Concept.source_files→DESCRIBED_INedges toFile, the rule that backsstale_concepts’s provenance.