memory_save
Save a store note after user consent—record decisions, conventions, or pitfalls; add a new note or update an existing one by ID.
Instructions
Write a note of your own - ONLY after the user agreed to it: say the note first, with its name, category and kind, and write it when they say yes; what they did not agree to may go into your own folder, which can vanish. With id - the number memory_list shows - that note is changed, without it a new one is written; what you leave out keeps its old value. Worth offering is what you learned about THIS store and could not read out of the code: a decision and why it was taken, a convention the owner insists on while it takes shape, a trap that cost you an hour. Not what the code already says - that is what the map and the files are for. Notes are reviewed with the user and cleared: a settled rule of the project belongs in the charter of the store. kind_key says how the note binds: kCritical is read before any work, kDirect is an order of the user, kSkill is how to work with them, kDefault the rest. Where two disagree the order is the kCritical, kDirect and kSkill of everyone, then of a group, then your own, then every other note. The notes of groups and of everyone are the administrator's and are not written here. While the program holds the memory in its window, a write is refused and the note is not kept: offer the user to put it into the scheduler, if its AI-tool is granted to you. This table - not the host's own memory - is where anything about this store or its people's rules belongs: host memory stays on this machine, and the owner never sees it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The note of yours to change, as memory_list numbers it; left out, a new note is written. | |
| body | No | The text in plain HTML - p, ul and li, b, code; never markdown, no styles or scripts. | |
| info | No | One line - it is what the list shows. | |
| name | No | A short title in the language of the user; once given, keep it - other notes may name it. Required for a new note. | |
| category | No | Free words the notes are grouped by; left out, a new note has none and an old one keeps its own. | |
| kind_key | No | The kind from the registry of the store: kCritical, kDirect, kSkill, kDefault, or one the owner added. Left out, a new note is kDefault and an old one keeps its kind. |