pub fn retrieve_context(
storage: &Path,
prompt: &str,
max_snippets: usize,
) -> StringExpand description
Retrieve inforg context relevant to prompt and format it as a prompt block (empty if nothing).
Matches the prompt’s explicit tags first (reliable), then a few salient terms (best-effort), over
the person’s library. Permission-gated (flagged entries excluded).