khwan_remember
Store durable facts, preferences, or rules so future sessions can recall them. After a user correction, save the standing instruction to prevent repeating the same mistake in later sessions.
Instructions
Persist a durable fact/preference so FUTURE sessions can recall it.
A convenience over the prepare→record loop for the common "just remember this"
case: it stores fact in the brain (no model call) so it outlives this
session's context window and is available to the next khwan_recall.
Reach for this the moment you are corrected. A user rejecting your work, or telling you how they want it done, is the most durable thing a session produces and the easiest to lose — you fix the thing, the session ends, and the next one makes the same mistake. If the user is telling you something for the second time, the first time should have been stored here.
Write the standing RULE, not the utterance. "Deploys go to staging first, never straight to production" survives into a session that never saw the conversation; "no, not like that" does not.
Args: fact: the durable rule/preference to store, phrased to stand alone.
Returns: stored: whether the fact was persisted; reason when not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fact | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |