set_confidence
Set a memory's confidence to unverified, confirmed, or contradicted based on evidence. Contradicted memories sort last and drop from must-read lists, stopping wrong claims from guiding work.
Instructions
Set a memory's confidence: unverified | confirmed | contradicted.
Call it once evidence settles a claim: the code, a run or a source checked against the memory. A contradicted memory sorts last in search and is left out of the notes, pitfalls and handoffs must_read() lists and of the checkpoint pulse() returns, so a claim known to be wrong stops steering work while it stays readable; unverified and confirmed rank alike. To correct the text, edit_memory(); to retire it, forget().
Now and then a result of any memai tool carries confidence_reminder:
memories still unverified past the span set in the dashboard, those in
the call's domain first. Settle the ones this session's evidence
reaches; it refuses nothing.
Returns {"ok": True}, {"ok": False} for an unknown uid, or an error for any other value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | the memory. | |
| confidence | Yes | unverified, confirmed or contradicted. |