memory_fact_set
Insert, confirm, or correct a fact in persistent memory. Conflicting values are flagged for resolution, while history is preserved.
Instructions
Assert a canonical fact — insert, confirm, or correct a slot.
A new value at an existing slot supersedes the old (history kept).
A conflicting write parks as a contender (action="contested",
winner under current) — check with the human, settle via
memory_fact_resolve.
authority / distortion_tolerance inherit the slot's labels
unless restated.
Returns: {action: inserted|confirmed|superseded|contested, ...record}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The value that is canonical NOW. | |
| entity | Yes | The slot's subject; the (entity, attribute) match is case- and separator-insensitive. | |
| origin | No | Who asserted it: "user" = the human told you; otherwise "action"/"agent". Omitted records "agent". | |
| episode | No | Episode handle for attribution. | |
| attribute | Yes | The slot's attribute. | |
| authority | No | Speech act of the source: "directive" / "quoted" (doc or third party) / "observation"; "auto" infers. | auto |
| confidence | No | How sure you are, 0..1. | |
| freshness_class | No | How fast the value rots. "auto" infers the decay rate from the entity kind. | auto |
| distortion_tolerance | No | "constraint" = verbatim, pinned in recall; "auto" infers only that. | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||