source_reviews may contain a restate_source review. This is separate from
the existing two-memory clarification. A review is not an active memory and
does not certify that the model interpreted the statement correctly.
Each review contains id, an opaque version, kind, question, actions,
and expires_at. A target-bound review also includes target_memory_id and
current_memory_content: a stored-content preview capped at 1,000 characters,
not a grant of user-confirmed authority. Unbound reviews have null target fields.
Present the question and allowed actions in your customer’s existing chat.
Use the actual user’s selection, not a model-generated choice:
keep_current: available only for a still-valid target. Close the pending interpretation without changing the stored memory or increasing its authority.dismiss: close the pending interpretation without changing any memory.restate: returnresolved: falseandnext_step: "add_memory"; leave the review pending. Ask for the user’s actual current statement, then submit it through normalPOST /v1/memories/addingestion. Do not submit a model paraphrase as direct user evidence or report successful storage at this step.
data, request_id, timestamp envelope. Its
data contains review_id, resolved, action, and next_step (null when
closed). Normal API-key write permission is required. MemoryOS verifies ownership,
the version, expiry and current target state under database locks. Unknown or
foreign reviews return 404; changed, expired or closed reviews return 409;
an action unavailable on that review returns 422.
Both SDKs include the source-review contract since
0.1.1:
Python source_reviews / answer_source_review() on main PyPI, and TypeScript
sourceReviews / answerSourceReview() on npm. Upgrade older SDKs, which may
omit the new response field.memory_visibility while safe review cards remain available separately. Typed preference holds use the declared identity; legacy source-event holds can be broader by category/scope. Do not insert review previews into model context or use an old client copy to bypass a hold. A queued write does not guarantee immediate new-value visibility. Restatement is not itself an applied replacement; a typed correction needs the intended current target/version binding. No load-tested latency guarantee is implied.
Request fields
REV_404 means unknown/out of scope. REV_409 can mean stale/closed or a busy target: inspect the error string. For source_review_target_busy_retry, retry the unchanged decision after backoff if still intended; for source_review_stale_or_closed, retrieve a fresh card rather than inventing a version. REV_422 means that action is unavailable on this review.
For public MCP, use the self-scoped source-review tool. Do not send a native API key or arbitrary owner ID to a public gateway.