memory_update
Updates an agent memory record at the user's request; passed fields are replaced, and a new level, projectID or repositoryID moves it. Authors edit their own records, moderators (memory:moderate) any but user-level ones; content edits make the record personal and unverified again, and verified and shared (shared needs verified) are a human moderator's decision. Rejected if the record changed since the given version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ID | Yes | Record ID. | |
| jobs | No | Jobs the record is for; at least one for job and request, none for always. | |
| load | No | always - delivered with any work, short; job - with the jobs in `jobs` (prevention, silent pitfalls); request - only in the `memory` index, read by ID (symptom diagnostics, narrow areas). | |
| text | No | One topic, 1.5-3 thousand characters (max 4,000), in the language of the workspace data: rules and facts with reasons. Author and date are record fields, no "Source" line needed. | |
| level | No | New level (moves the record). | |
| title | No | "<area> · <situation or symptom>: <what's inside>", up to 200 characters, in the language of the workspace data; agents judge relevance by it. | |
| shared | No | Requires memory:moderate: shared with all company agents (true) or personal to the author's (false). | |
| version | Yes | Record version the change is based on. | |
| verified | No | Requires memory:moderate: the record is verified. | |
| projectID | No | New project ID, for level = project. | |
| repositoryID | No | New repository ID, for level = repository. |