log_outcome
Resolve a prediction by logging the observed fact and days-to-resolution, updating memory rewards so future relevant context ranks higher.
Instructions
Resolve a prediction with observed facts. New path: provide actual_signal and days_to_resolve — interpretation-free record of what happened. Legacy path: provide outcome + reward to keep updating Q-values for memory_ids_used from older predictions. The two paths can coexist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional free-text context (e.g. unexpected events) | |
| reward | No | [deprecated — only used on the legacy Q-update path. Omit on the new path.] | |
| outcome | No | [deprecated alias for actual_signal — accepted for backward compat] | |
| actual_signal | No | What was observed — raw fact, no interpretation. Required on the new path. | |
| prediction_id | Yes | ID from log_prediction | |
| cause_category | No | [deprecated, accepted for backward compat] | |
| days_to_resolve | No | How many days from prediction to resolution. Required on the new path. |