record_memory
Store an explicit memory with validated code paths and an optional expiry date; global memories require assumptions, and dead links are rejected before writing.
Instructions
Create a memory -- the only way new memories enter the store (explicit authorship). Linked paths are validated to exist at HEAD before anything is written; a dead link is refused loudly. scope='global' memories are written to the reusable cross-project store, require non-empty assumptions, and cannot have linked paths. No inline evidence field -- call attach_evidence afterward.
valid_until (optional ISO-8601 timestamp, e.g. '2027-01-01'):
marks this memory stale past that date. There is no valid_from --
a memory is valid starting from its own created_at, automatically.
Omit for a memory with no expiry (the default).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>",
"scope": "<scope>",
"statement": "<statement>",
"confidence": "<confidence>"
},
"name": "record_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| paths | No | ||
| scope | Yes | ||
| statement | Yes | ||
| confidence | Yes | ||
| assumptions | No | ||
| lesson_from | No | ||
| valid_until | No | ||
| why_it_matters | No |