memory_outcome
Record whether a task succeeded, failed, or was corrected, so the system distils it into lessons for future sessions.
Instructions
Record a procedural outcome — what worked, failed, or was corrected. The dream distils signals into next session's lessons.
Returns {recorded, signal_id, task, outcome}; needs Postgres.
used_ids adds used_ids_recorded (credited),
used_ids_unmatched (nothing served it),
used_ids_served_elsewhere (another session did),
used_ids_ignored (not ids), used_ids_truncated (over 50),
used_ids_errors (write failed), used_ids_reason (why none
landed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Kind of task, in stable wording ("deploy engine to host") so signals for the same work group. | |
| about | No | The tool or approach concerned; aids traversal. | |
| detail | No | What worked, or what the dead-end was. | |
| episode | No | Episode handle for attribution. | |
| outcome | Yes | What happened. | |
| polarity | No | "+" do-this or "-" avoid; usually omit — it is inferred from the outcome. | |
| used_ids | No | Ids of the search hits you actually used, e.g. [1421, 903] — the relevance label only you can write. At most 50. Credits this session's searches from the last hour; log before that lapses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||