mind_outcome
Record typed external-signal outcomes—test passed/failed, code compiled, user confirmed/denied, or cited—on any memory to update its evidence score and verify procedures.
Instructions
v1.5: Record a typed external-signal outcome on any memory (not only procedures). Use this when a test passed/failed, code compiled, a user explicitly confirmed/denied a fact, or a citing memory referenced this one. Idempotent on (memory_id, signal_type, source): re-posting the same triple updates the existing entry rather than appending a duplicate. Signals contribute to the fact's external_signal_score, which feeds the duel rule and the §3 Mechanism 2 doubt-window guardrail. When memory_id is a PROCEDURE and signal_type is test_passed or code_compiled, this also bumps the procedure's success/fail counters: so a green test after a mind_learn fix marks that playbook verified without a separate mind_procedure_outcome call. Pass the procedure id returned by mind_learn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Stable identifier of where the signal came from (e.g. 'ci.github.com/run/12345', 'user-mad'). Used for idempotency. | |
| success | No | Did the signal positively confirm the fact (true) or negate it (false)? A failed test_passed (success=false) pulls the score negative. | |
| memory_id | Yes | Target memory id (from mind_search or any tool returning ids) | |
| signal_type | Yes | What kind of signal this is. test_passed is the strongest (weight 1.0); cited_by the weakest (0.2). |