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’s own checks (secrets, size, the two-sentence cap) still apply.

§Errors

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