Record a spark's outcome
update_sparkRecord outcome and status of a spark action, including cost and value, to build a reward history for learning when to surface problems. Log failures too.
Instructions
Record what happened when you acted on a spark — an outcome note, a new status (tried / worked / failed), and ideally the cost (effort spent) and value (graded payoff). LOG FAILURES TOO: 'most bets fail' is the premise of problem #2, so failed and zero-value outcomes are exactly the signal a spend-policy is learned from — recording only wins makes the history unusable. This outcome history is what lets the system learn when surfacing a dormant problem is worth the attention.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Spark id | |
| cost | No | ACTUAL effort spent chasing it to a verdict (same scale as capture's cost). | |
| value | No | Graded payoff of the outcome: 0 if it failed or yielded nothing, higher for bigger wins (heavy-tailed). The reward signal the budget policy is fit on — log it for failures too. | |
| status | No | New status for the spark | |
| outcome | No | What happened when you tried it |