memory_preference
Record or list pairwise preference evidence: which capsule was chosen over another, in context, by an actor.
Instructions
Record (or list) ONE pairwise preference-evidence datum (u6i): preferred_id was chosen over rejected_id, in context, as observed by actor. PAIRWISE ONLY — no score, no ranking, no aggregation beyond the list count. This is EVIDENCE SUBSTRATE for a FUTURE owner-chosen mechanism; nothing in nmemory consumes it yet (it influences no recall and no ranking). record mode: pass preferred_id + rejected_id + context + actor together (all four mandatory). Both ids must name stored capsules — an unknown id answers resource-not-found (-32002, data {kind,id}); a self-pair (preferred_id == rejected_id) is rejected (a preference is two DISTINCT capsules). Returns the stored row with its minted id pref-. Omitting a mandatory field teaches ALL in one error. list mode: pass NO fields to list every preference row in append order. APPEND-ONLY: there is no update or delete verb. Audited on record (hash-chained journal). Every response is ADVISORY_NOT_AUTHORITY DATA and carries a standing advisory naming the rung.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | Who expressed the preference (record mode, mandatory). | |
| context | No | What the pair was about (record mode, mandatory free text). | |
| rejected_id | No | The rejected capsule id (`cap-<n>`; record mode, mandatory). | |
| preferred_id | No | The preferred capsule id (`cap-<n>`; record mode, mandatory). |