memory_review_decide
Resolve pending memory maintenance proposals by approving, rejecting, editing, or promoting them, returning a JSON result.
Instructions
Decide a maintenance proposal: approve | reject | edit | promote (§6.3).
approve applies the proposal's verbs at decide-time (with apply-time target re-validation); reject leaves the spine byte-identical; edit (summarize only) approves the human-edited text; promote (evict only) rejects the eviction and lifts the fact back to the hot tier. Returns a JSON result string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | Yes | One of 'approve' | 'reject' | 'edit' | 'promote'. 'edit' is valid only for summarize proposals; 'promote' only for evict proposals. | |
| namespace | Yes | Isolation key for one memory store. Each namespace is a separate local SQLite file under LM_DATA_ROOT (default ~/.lean_memory); namespaces never see each other's facts. Use one per agent, project, or user whose memory must stay separate. Created on first access. | |
| edited_text | No | Human-edited replacement summary text. Required when decision='edit'; ignored otherwise. | |
| proposal_id | Yes | ID of a pending proposal, as listed by memory_review_queue. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |