extract_recent
Scan recent dialog messages to identify and enqueue heuristic candidates for memory extraction, including user requests, long insights, recurring patterns, and paraphrased repeats.
Instructions
Scan recent dialog_messages and enqueue heuristic candidates.
H1 user_want → verbatim (normative phrasing) H2 long_insight → distill (assistant ≥500ch + ## headers + conclusion marker) H3 example_regularity→ concept (bullets≥3 OR example-marker≥2 + abstract frame) H4 paraphrase_repeat → note (≥3 msgs cosine ≥0.80 within same session)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_min | No | ||
| max_messages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |