optimize_stage
Stage a batch of memory curation suggestions for human review in the dashboard, letting you approve or reject before any changes apply.
Instructions
Stage a batch of curation suggestions for human review in the dashboard.
Step 2 of the "optimize my memories" workflow. NOT applied here: the user reviews and applies or rejects each one in the admin dashboard, which backs up before the first apply and can undo any of them.
Each suggestion is {"kind", "target_uid", "payload", "rationale", "verified"}. Kinds: compact/reword {"new_content"}, retag {"tags"}, redomain {"domain"}, crosslist {"also": [...]}, set_confidence {"confidence"}, review {"review_after"} (a date or a span like '180d'; '' clears it), archive {"reason"}, link {"from_uid","to_uid", "relation_type"}, merge {"keep_uid","drop_uid"}, distill {"source_uids","new_type","new_content","title"}. link/merge derive target_uid from the payload and distill creates its target -- omit it for those.
Destructive kinds (archive, set_confidence=contradicted, merge,
distill) require a non-empty verified describing the live-facts
check behind them. Invalid suggestions are skipped and reported in
errors; the rest are staged. Returns {run_id, staged, errors}.
note is one short summary of the pass, at most 250 characters; a
longer one raises and stages nothing. What a single suggestion needs
said belongs in its own rationale and verified, which are not
capped.
help(command='optimize_stage') explains each kind in full.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| suggestions | Yes |