Skip to main content

cmd_fact

Function cmd_fact 

Source
pub fn cmd_fact(
    beans_dir: &Path,
    title: String,
    verify: String,
    description: Option<String>,
    paths: Option<String>,
    ttl_days: Option<i64>,
    pass_ok: bool,
) -> Result<String>
Expand description

Create a verified fact (convenience wrapper around create with bean_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 bn fact.