memory_fact_get
Retrieve the current value stored at an (entity, attribute) slot to check whether a fact is empty, conflicted, or verified before acting.
Instructions
Look up the one CURRENT value at an (entity, attribute) slot.
One value per slot. A null record means EMPTY, not unknown —
memory_search still finds context. A set-valued slot returns
{kind: "set", members, removed} instead — members: [] means
EMPTY too.
Returns: {record | null, contenders} (+ entity_ref when the
entity has a graph node). Non-empty contenders = unsettled
conflict (see memory_fact_resolve); on an empty slot,
candidates lists nearby slots — ranked leads, not answers.
re_verify = a memory this fact was derived from has since been
corrected; the value still stands but check it before acting. Set slots
carry it too, at the slot. PostgreSQL keeps this warning after the
corrected source memory is evicted or deleted; file mode has no durable
retraction warning. verbose=True adds the record's provenance,
support and temporal stamp; memory_history shows the slot's version
chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | The slot's subject; the (entity, attribute) match is case- and separator-insensitive. | |
| verbose | No | Full record; the default drops bookkeeping keys. | |
| attribute | Yes | The slot's attribute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||