Skip to main content

packset_write_agent

Function packset_write_agent 

Source
pub fn packset_write_agent(
    label: &str,
    text: &str,
    persona: Option<&str>,
    transient: Option<bool>,
) -> Result<Value>
Expand description

Write a claim an agent made, at once. No person approves it first: it carries origin agent-derived and its provenance in source, and ljos memories review keeps, edits, merges or drops it afterwards. The pack still refuses a secret. A claim past its sentence, word, grade or adverb limits is stored as typed, with the pack’s reason as a warning (admit::write_agent).

§Errors

An empty text, an unknown label, or the pack refusing the claim.