Record an experience
recordStore what happened after solving or failing a non-trivial problem—fixes, attempts, root causes—so future agents can apply solutions and avoid repeating mistakes.
Instructions
Store what happened after solving (or failing to solve) a non-trivial problem. Duplicates are merged automatically: the response says whether the record was created, merged into an existing one, or linked to one with a different fix. Keep it terse and never include secrets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | What finally worked, concrete enough to repeat. Omit if unresolved. | |
| kind | No | 'episode' (default) or 'rule' for a generalisation of several episodes | |
| avoid | No | What did not work or made things worse | |
| source | No | Provenance: which agent/model is recording | |
| context | No | Tags: language, framework, tool, OS, domain. e.g. ['node','postgres','macos'] | |
| outcome | Yes | ||
| problem | Yes | One-line statement of the problem, as generic as is accurate | |
| signals | No | Exact error messages, failing commands, or symptoms. These form the deterministic fingerprint. | |
| attempts | No | Ordered attempts and whether each worked | |
| root_cause | No | Why it happened, if known |