Skip to main content

create_fact

Function create_fact 

Source
pub fn create_fact(
    mana_dir: &Path,
    params: FactParams,
) -> Result<FactResult, Error>
Expand description

Create a verified fact (unit with unit_type=fact).

Facts require a verify command — that’s the point. If you can’t write a verify command, the knowledge belongs in agents.md, not in a fact.