memory_eco
Boost or reduce a memory's importance with feedback, correct its content, and manage quarantined items withheld from search by listing, promoting, or withdrawing them.
Instructions
[alias of cuba_eco] RLHF feedback: positive boosts importance (Oja's rule), negative decreases, correct updates content. Also the quarantine gate: 'pending' lists memories withheld from search because they came from untrusted text, 'promote' makes one retrievable, 'quarantine' withdraws one. The gate covers observations, episodes and errors — pick which with 'kind'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Target UUID for promote/quarantine when kind is episode or error. For kind=observation use observation_id. | |
| kind | No | Which table promote/quarantine acts on. Default 'observation'. An import quarantines whatever carried a credential, and cuba_sync writes episodes and errors too: without the matching kind those rows would stay stored and permanently unreachable. Ignored by positive/negative/correct, and by pending, which always returns all three. | |
| limit | No | Max rows for the 'pending' listing (default 20, max 200) | |
| action | Yes | Feedback type, or a quarantine transition: promote/quarantine flip one memory's retrievability; pending lists everything currently withheld, in three lists (quarantined, quarantined_episodes, quarantined_errors), each row tagged with its kind. | |
| correction | No | New content (for correct action) | |
| entity_name | No | Target entity | |
| allow_secret | No | Refused when the text looks like a live credential (token, password, URL with embedded creds). Set true only for a false match — the text is then stored verbatim, in clear, and reachable by search, export and every client. | |
| observation_id | No | Target observation UUID |