sage_remember
Persist verified knowledge or session context into SAGE's long-term memory. Use fact type for durable infrastructure details, observation for ephemeral context; corrections replace old memories atomically.
Instructions
Store a memory in SAGE. When domain is omitted, app-v23 uses this agent's approved owned home domain (older nodes retain the legacy general default); an explicit domain is never remapped. For a correction, pass replaces_memory_id here instead of calling sage_forget first: SAGE stores and verifies the replacement before it challenges the old memory, so interruption can leave both records but can never leave neither. IMPORTANT: Use type='fact' (confidence 0.95) for durable knowledge that should persist long-term and be visible across all agents — infrastructure details (IPs, hostnames, SSH commands, URLs, ports), architecture decisions, verified configurations, credentials paths, and server specs. Use type='observation' for ephemeral session context. Facts survive confidence decay and cross provider boundaries; observations do not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | User-defined labels for this memory (e.g. 'important', 'project-x') | |
| type | No | Memory type. A correction inherits the original type when omitted. fact (0.95+): verified durable knowledge — IPs, hostnames, architecture decisions, configs, infrastructure. observation (0.80): session-level context — what happened, what was discussed. inference (0.60): hypotheses and conclusions. task: actionable items. | observation |
| domain | No | Domain tag. When omitted, a correction inherits its source domain and a new memory uses this app-v23 agent's owned home domain (legacy nodes use general). Explicit values are never silently remapped. | |
| content | Yes | The memory content to store | |
| confidence | No | Confidence score 0-1 | |
| replacement_reason | No | Optional audit reason recorded when the replaced memory is challenged. | |
| replaces_memory_id | No | Optional committed memory ID this content corrects. The replacement is committed first; only then is the old memory challenged. |