Skip to main content

bootstrap_if_empty

Function bootstrap_if_empty 

Source
pub fn bootstrap_if_empty(
    knowledge: &mut ProjectKnowledge,
    project_root: &str,
    index: Option<&ProjectIndex>,
    policy: &MemoryPolicy,
) -> bool
Expand description

Seed a minimal set of real, deterministic facts so the dashboard Knowledge Graph is never empty on a new project.

This does not use placeholders — it only derives values from the filesystem and/or index.