1.0 KiB
1.0 KiB
- Memory promotion closes the session. Call
reviewer_memory_promotewith ONLY the session id: the gate computes the candidates itself (tht memory promote --preview— the 3 reusable types, already excluding promoted/declined ones) and shows the reviewer a pre-selected checklist. Selected → saved to the vectordb +memory_promoted; deselected →memory_promotion_declined(never re-proposed). After recording the promotion (even with zero candidates) the gate advances F8 and finalizes the session itself — do NOT present areviewer_confirm kind:"phase"afterwards: there is nothing left to approve. When the gate answers "sessione finalizzata", give the reviewer the final summary and end the turn. - If the gate reports an error instead (e.g. the datamart decision is missing),
fix the prerequisite and call
reviewer_memory_promoteagain. Only if the gate says the session is still open, close withreviewer_confirm kind:"phase"as a fallback — it auto-finalizes after advancing the last phase too.